[Q] Convert j2me MIDP (jad) into Android package (apk) - Android Software/Hacking General [Developers Only]

Please tell me how can I convert java application to android application? Is there some program that it can be done? I have some java applications that I would like to install on my phone. Thank you in advance for answers

you can search and download a j2me vm for android, which is a software, and then you are all done.

Use JBed Java implementation. Also Android Java != J2ME, so you can't just convert.
Sent from my LT26i using XDA

ja
I tried that with jbed After you have completed all but, as stated in the instructions for jbed and I try to get into jbed ejected from jbed.Ne me know where I was wrong when inserting the phone jbed.HOW I installed JBED:
2. Install Jbed.apk and push libjbedvm.so to /system/lib and reboot your phone (don't do that point if you already have Java installed in your rom).
3. Launch Java app. Press "menu" button and choose "sdcard". Wait a while and choose Opera Mini to install.

Related

Writing Java Midlets

Hi everyone. I'm new to this site, so if this isn't the right place for this, I'm sorry. I'm new to programming but decided to try writing some java midlets. I have esmertec jbed for a jvm on my phone. JavaME SDK 3.0 and Sun Wireless Tools Kit 2.5 on my computer. I wrote a basic "Hello World" to start. Using WTK I was able to build it and test it in their emulator, and it ran fine. I packaged it into a .jar, ran it again in the emulator, again ran fine. When I try the .jar on my phone with jbed, it starts to install it, and then gives an error message "is not designed to work with this device and cannot be installed - 40". Any ideas what I'm doing wrong.

Configuring ADT plugin for eclipse -- no Android option in preferences

I'm trying to setup eclipse for Android but have run into an issue.
I'm following the guide here: bah, I can't post outside links from being a new user. But if you go to developer (dot) android (dot) com/sdk/eclipse-adt.html -- This is the part that I'm stuck on.
I've got eclipse to download the ADT plugin, but when trying to follow "Configuring the ADT plugin" I open the preferences via Windows > Preferences (step 1), but there is no "Android" option on the left hand side as indicated in step (2).
Any idea why this would be happening?
Thanks,
~kb
EDIT: This should really be in the base android development forum. I've messaged a moderator to hopefully get it moved, sorry for posting it in the wrong forum.
The Android option is not coming up under Window>Preferences in Eclipse after installing the ADT?
One reason that this may be occurring is because of Windows 7 security settings. Try starting up Eclipse with “Run as administrator.”
1) Start Eclipse with ‘Run as administrator’ (It may ask to change workspace directory. I just made it c:\workspace temporarily.)
2) Download the ADT plug-in with Eclipse as directed in the Android documentation
3) Profit
Note: I did not have to run as administrator every time. Once it was installed I could see it when I started Eclipse normally, but I had to set the Android SDK directory again.
-Rob
Credit to www(dot)hambonious(dot)com
this is happening to me also, but it was on ubuntu after i upgraded from lucid to maverick. ...i hate upgrading ubuntu...
Did you guys find any solution yet? I can't see "Android" under preferences either. And I upgraded to Ubuntu 10.10 recently.
I don't think the dev kit works well with Eclipse 3.6.
Try the 3.5 download
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/galileosr2
It is 3.5.
eclipse : issue fixed
I just signed in as I wanted to let you know about that issue I got.. fixed !
I tried several tricks so to speak, uninstalled Eclipse, uninstalled ADT plugin, reinstall the SDK, tried with and without adding the SKD path to the $PATH...
Using linux, I just deleted the .eclipse directory that was in my home directory.
You will have to add the repository for the ADT plugin to be installed, install the plugin... and restart Eclipse (not to mention you'll have to reinstall ALL the plugin you added, correct me if IM wrong).
Then you should be able to set the preferences about the SDK path... and have a new menu item (new project -> android )
Dont ask me what happened while upgrading my ubuntu from 10.04 to 10.10, I actually didnt take some time to investigate about it (ubuntu64 10.10)
(sorry about my english by the way)
Cheers,
Fabrice (France)
you're welcome.
Thanks LinuxFab, I'll give it a try.
Did this work?
I'm using a mac, so I'm wondering if this fix at least worked for ubuntu, lemme know! Thanks

[Q] Setting up Eclipse

Hey all I was wondering if someone could help me out in installing and setting up eclipse. I tried before and ended up installing something called glassfish3 or something like that so what would be ideal is a list of links to the downloads I need to get maybe in the order I need to install them in? =P It would really be greatly appreciated!
Thanks,
D3luSi0n4L
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
I'm almost close of not asking any more questions but I had problems with apk manager, I got it right, and I had problems with Avabox, and I got that right but now I'm having problems with Eclipse. I installed basically both files of Eclipse the big file and the small fiile (I didn't know which one I needed).
when I open the eclipse program I get this message:
"Failed to load the JNI shared library : c:\program files (x86)\java\jre6\bin\client\jvm.dll
I don't know what this means. can someone help me? thanks.
Sorry I'm also a noob at installing eclipse, but thought this might be a good place to ask my question too. I found a tutorial on how to install everything (i.e. eclipse, JDK, and SDK) put it said I needed to change my PATH to point to /tools and now after doing that I can't open eclipse. I go the same error you did in your first post. I'm thinking I needed the other lines that were in the PATH, but now I don't know what they were.
If you follow the steps here, it is fairly simple and easy:
http://developer.android.com/sdk/installing.html
You have to download first de java JDK (jre is not enought) and then download and instal eclipse... Just follow the instructions on the link
Sent from my GT-P1000 using XDA App
I've gone through this and had eclipse up and running. Even created some AVDs. Here is the part that screwed it up though.
"On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path. "
D3luSi0n4L said:
Anyone? Please! I have the JDK & Java & Eclipse installed and Eclipse will not startup, I get an error....
"A Java Runtime Enviroment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java Virtual machine was found after searching the following locations:
C:\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
Someone suggested that I need to install the SDK but I thought that was only needed specifically for Android? & Before i setup Android I'd like to have Eclipse fully functional to avoid and problems that could occur. I installed Eclipse for EE Developers or whatever, the biggest file they and I installed JDK 6 Update 21
Eclipse (Top One) : eclipse*dot*org/downloads/
Java : oracle*dot*com/technetwork/java/javase/downloads/index.html
Any and all help is greatly appreciated!
Sincerely,
D3luSi0n4L
Click to expand...
Click to collapse
I downloaded the 32 bit version of eclipse and javaw.exe was not missing anymore. How do i use eclipse though?
Edit: I get it, JDK.

[Q] How To Install Java Applications On Acer Neo Touch S200

Hi,
Anyone can help me how to install Java applications (Jar/Jad) on my Acer Neo Touch S200?
Thanks a lot.
Use the "Find" textbox on your top-right screen!!!
See you!
I have tried to install DivxMobileMedia_1.1.jar for example, it's appears on dialog box "There is no application associated with DivxMobileMedia_1.1. Run the application first, then open this file from within the application."
When I click "OK" there is let me choose to open file with several programs. But no MIDP 2.0 nor any program listed can open Java application.
For information, my device build with Windows Mobile 6.5 Professional CE OS 5.2.21857 (Build 21857.5.0.66) 2009.
Thanks.
Search for sun_javafx_mobile1.2.cab (maybe there is newer v. dunno, I use this one). You need to install that before you can use any java applications.
Thanks, it's working!
tribrazil said:
Search for sun_javafx_mobile1.2.cab (maybe there is newer v. dunno, I use this one). You need to install that before you can use any java applications.
Click to expand...
Click to collapse
this program support wi-fi?
DjLevis said:
this program support wi-fi?
Click to expand...
Click to collapse
Yes it does.

[Q] X86 for windows rt

Hello
I recently bought a vivo tabe rt and I have installed x86 emulator. my question is when I tried and install software I need for work which is basically a program for parts identifying with pictures I load the program under the emulator and it started to run it then says acrobat reader 4 is needed and that it will start to install it extracts the acrobat software files and at end says c:\users\my name\appdata\local\temp\pftb261mtmp\setup.exe is a 16 bit application. you do not have permission to execute 16 bit applications. it then goes into main software install starts to extract and tells me the ole system files are in use and cannot be updated must restart. im wondering if this is do to the emulator not working with this software or if its something I can change.
wooddog395 said:
Hello
I recently bought a vivo tabe rt and I have installed x86 emulator. my question is when I tried and install software I need for work which is basically a program for parts identifying with pictures I load the program under the emulator and it started to run it then says acrobat reader 4 is needed and that it will start to install it extracts the acrobat software files and at end says c:\users\my name\appdata\local\temp\pftb261mtmp\setup.exe is a 16 bit application. you do not have permission to execute 16 bit applications. it then goes into main software install starts to extract and tells me the ole system files are in use and cannot be updated must restart. im wondering if this is do to the emulator not working with this software or if its something I can change.
Click to expand...
Click to collapse
From what I can see, the installer you are using is not supported by the emulator, or you are using the version of the emulator that does not support launching other applications
Nanaya Caasi said:
From what I can see, the installer you are using is not supported by the emulator, or you are using the version of the emulator that does not support launching other applications
Click to expand...
Click to collapse
I am using the newest version of the emulator.

Categories

Resources