Java emulator for N1? - Nexus One General

Does Jbed or any other Java emulators work on Nexus One?

This works:
http://www.netmite.com/android/

It's good but can't use my own Jar apps and games, we are obliged to download from their database

Put your jar on the sd card, navigate with astro and click. Netmite will pop up and guide you. I did this in jan so its not very fresh in my memory.

Thanks dude

I tried using jbed and its still not working..help

Related

Java Midlet Question

I really want to use a name picker (randomly picks a name from a pre-defined list)
Google reveals this java version is exactly what I need for a desktop
Is there any way I can use it on the pocket pc (does not work in midlet manager)
http://www.davebsoft.com/jaws/apps/namepicker.jnlp
You normally need a jar version of the program to work with midlet manager - best you do a search for a jar version.
The author kindly sent me his JAR file for this app. I have placed it onto my device but cannot open it
Is it incompatable or am I making a silly mistake
Thanks
Hays
Is that the zip he sent you or did you send you a jar file? Even when i rename it namepicker.jar it wont install, i am sure there is something wrong with the file.
Is that the zip he sent you or did he send you a jar file? Even when i rename it namepicker.jar it wont install, i am sure there is something wrong with the file.
he sent this text in his email
The jar file is here, but it probably isn't set up the way you need it:
http://davebsoft.com/jaws/apps/lib/namepicker.jar
I downloaded it but can't get it working
yep - still says invalid - contact the author again he must have a valid jar that works
will do
thanks for your help
the author replied
"invalid" in what context? It's valid in the context in which you've been
running it on your PC or whatever. Maybe it lacks a manifest file or
something. There are free tool to extract and rebuild jar files.
The message it gives is that it has an 'invalid java application desciptor' i.e. the jad part of the jar is wrong.
just a guess, but its probably made for jave for desktops, not j2me.
OMG. The Java that is written is for PC (or eqv) Java not for Java for phone (eg. midlet). That's why it doesn't run. Midlet is a very small subset of the real Java, the code is different, and there isn't much function in midlet version of java, and it is a pain to program in midlet-java (whatever you call it). Hence the JAR is not working. Try running it on your PC, it will work.
No, you can't extract it and run it on your midlet-enabled phone. No, even if you have the source, you can't do that either, unless you translate the code manually. I don't think there is a converter for that matter, especially it involved GUI.
That explains it
Anyone up for the challenge of writing a good pocket pc version ??
Hays
Try this one...
This is an OSS JVM that's meant to be J2SE compliant so it might just run. Try your luck.

**Quick Question for 8525** Thank You!

Hello,
I'm new to the whole TtYn 8525 world. I was wondering if you guys could help me out. I did a thorough SEARCH and couldn't find:
1. where to download pocketnester
2. where/how to install NES games on my 8525
can anyone help me out with a link? i remember reading a thread that had a step by step on installing both PocketNester and Games.. but i can't seem to find it..
thanks xda Folks! i really realllllly appreciate it!
1. you can find freeware applications such as pocketnester very easily on various ppc freeware sites. pdagold.com, freewareppc, etc.
(btw, http://www.freewareppc.com/utilities/pocketnester.shtml )
2. regarding NES games, you have to look up game roms. just google the name of the game you want, and add in the word "rom". www.coolrom.com and www.romnation.net are my personal site picks. once you have the rom, just put it on your ppc and run it from there. it's quicker to run if you open up pocketnester on your ppc, then options>preferences>associate .NES files with nester. pocket nester only looks for NES roms in the My Documents folder, but if the files are associated, you can just doubleclick the rom wherever it is to run it.
since i like to store things on my memory card and save space on internal memory, i recommend making a folder in your storage card for pocketnester, then placing all pocketnester app and roms in that folder. then, create a shortcut to that folder in your start menu.
thank you so much azimuth, i will do this once i get my micro sd card!!
thanks again!!

where is the My Midlets folder?

I've looked and looked but can't find it....am I dumb?? Using a T-Mobile Wing with WM6.
What folder are you looking for? I dont recall seeing any THE "My Midlets" folder..
In WM5 there's a directory: My Documents\My Midlets and I can't seem to find that. Reason I ask is I'm trying to link gmail and Opera to a shortcut on the today screen, but I can't find the .lnk files for each to do so.
dr.faustus said:
In WM5 there's a directory: My Documents\My Midlets and I can't seem to find that. Reason I ask is I'm trying to link gmail and Opera to a shortcut on the today screen, but I can't find the .lnk files for each to do so.
Click to expand...
Click to collapse
Well if it IS possible to link straight to an installed .jar file then you could try to use Resco explorer or something like that to search for *jar files and you'll find the directory you are looking for!
You need to install the midlets with you midlet emulation program, which installs the .jar file somewhere in your Windows directory. I dont think you can link directly to the apps. It will just try to reinstall the midlet, not run it. Perhaps try linking to your midlet emulation app. It will have the shortcuts to all your installed midlets.

Installing .jar files on your g1

Is there anyway to install java files such as .jar or .jad from your sd card onto your phone? I thought there was something on the market the waould help do this but all I found was j2me midp runner and that doesn't help. Anyone with info, I would appreciate it.
Here http://www.netmite.com/android/srv/1.4/getapk.php you can convert .jad to .apk

WM6: start Java app from C++ app?

Hello,
I'm currently in the need to code a C++ app under Windows Mobile 6 that starts an installed Java app. I already hoped that call system("java java_app") might work, but my C++ compiler (VS 2005) does not even know system() function. And I don't think it would work this way: to install a Java app, I start a .jar file, and then, I can start the app manually via start menu under Start -> Program Files -> Tools -> Java, where I can select from all installed Java apps, and obviously, the installation does not create .jar or. class files anywhere in the file system. The Java runtime environment on my phone (HTC Diamond) is an Esmertec Jbed.
Thanks for any help.
As far as I could find out, Java apps under Jbed JVM can be started from command line by
\windows\jbed.exe -run sX_
where X=0,1,2,3,... ist the index of the desired app in the list of installed Java apps. So, Java app can be started from C++ programm using ShellExecuteEx(), filling the lpFile member of the SHELLEXECUTEINFO parameter with "\\windows\\jbed.exe" and lpParameters member with "-run sX_".
Very nice, so far, however, there are two troubles remaining:
- the index X of the desired Java app depends on the sequence, in which the Java apps have been installed
- the Java midlets have a hierarchical structure. A midlet might contain several sub-midlets, but only the highest-level midlets are accessable by the s-index
Well, I think the hierarchical structure is a solvable problem, the desired midlet can be installed as a top-level midlet. But still the index problem. Is there maybe a registry entry that maps midlets to indices?
I found the solution!
Jbed stores for each installed midlet a sX_.jah, sX_.obj and a sX_suite.utf file in \windows\appdb folder. The .jah and .obj are binary files, but the .utf files are readable text files that contain some information of the corresponding midlet, that enables one to identify midlet from index X. So, all I need to do in my C++ app is to open the .utf files subsequently and to check if I find the information that identifies the desired midlet.

Categories

Resources