Jbed Throwing NoClassDefFoundError - Windows Mobile Apps and Games

Hello All,
I am hoping someone might be able to shed some light on this problem. First a little background. I am currently trying to develop a Java application to run on an HTC 6800 with Windows Mobile 6.0 Professional. It is basically and app which allows you to control WinAmp remotely using the HTTPQ plugin. I have already installed the Esmertec Jbed MIDlet manager (version 20090216.5.1) on the phone. I have been developing this program using the Netbeans IDE (version 6.8), with the latest JavaME SDK (3.0), and JDK 1.6.0_17.
Everything compiles just fine through Netbeans, and everything works well through the emulator.
My problem comes when I try to run my MIDlet on the phone. I transfer over the JAR and JAD files produced by Netbeans to the phone. I then go through and install the application using Jbed. I install the application in Jbed's root directory. All the compiling and optimization goes through just fine. However whenever I launch the MIDlet I receive the following error from Jbed.
"MIDlet threw an exception during a lifecycle call, and has been terminated.
java.lang.NoClassDefFoundError"
I am really at a loss as to why this is happening. Any and all help would be greatly appreciated. Let me know if there is any more information you might need from me. Thanks in advance for all your help.

Related

Java with WM6 and athene

Hi,
i try to get a chat applet running (from volcano).
http://www.volano.com/chat.html is a demo page from the vendor but with wm6 i get a "Sorry, but are not running a Java Compatible Web browser".
Surfing with a laptop you see a button to press..
I tried the MIDaplet, but this did not work with IE.
I also tried to get it running with netfront but without success..
Do you have any hint? how can i get java running on my athena with WM6?
Java
You need javamachine that run not only stand alone applets but also http applets
try for volcano this CreME jvm from http://www.nsicom.com
install in main memory and dont forget to register plugin for IE
java
excuse me.. i'm want 2 running mig33 on my XDAII with HTC OS wm6 but there is no java like my Atom EXEC..
what should i do?
i'm newbie with wm6
help me

New to Windows Mobile

Let's pretend I'm new to windows mobile. (I am). Can anyone tell me HOW I get to these HKEY directories that everything is edited in. If anyone could give me a step-by-step instruction on how to install or modify anything at all in the phone, I would greatly appreciate it.
Please start the steps right after the 'Turn on phone' step, as I am fairly confident I have that under control. Every time I've asked this question on other forums I just get links to different forums with no helpful information below a certain level of expertise. I have never coded or done anything other than drag and drop folders, etc so a dumbed down version of how to start and I can learn from there. Anything! PLEASE!!! I hate having this amazing machine and not being able to utilize it.
oh, Touch Pro, sprint
First you need to install a registry editor. The two most used are PHM (free http://www.phm.lu/Products/PocketPC/RegEdit/) or Resco Explorer (paid http://www.resco.net/pocketpc/explorer/). I prefer Resco, but everyone has their own pref.
And installation, you fire it up and simply navigate it to your registry. Pretty straightforward.
I downloaded the free one but it isn't showing up in my phone. I navigated to its folder on my pc and everything seems to be zipped. when I unzip the file extensions are *.001 and I can't open or access them. am I doing something wrong ?
also, if anyone can explain to me how to install .net framework ?
warrenmrogers said:
also, if anyone can explain to me how to install .net framework ?
Click to expand...
Click to collapse
i assume you need the new 3.5 .net compact framework.
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&displaylang=en
You simply download and install the file on your computer (not your mobile device). This file will install the framework on your computer and will activate the add/remove programs on the sync center, so the next time you connect your touch pro it will ask to install the program. Then you just follow any instructions displayed on your touch pro for final installation and you're set to go!
here's on .Net http://www.fuzemobility.com/?p=470
It has an extra app to choose a default .Net.
There's also a Tips and Tricks section and a walk through for TouchFlo3D at fuzemobility.com that you may want to try.
I can relate to this problem.
warrenmrogers said:
Let's pretend I'm new to windows mobile. (I am). Can anyone tell me HOW I get to these HKEY directories that everything is edited in. If anyone could give me a step-by-step instruction on how to install or modify anything at all in the phone, I would greatly appreciate it.
Please start the steps right after the 'Turn on phone' step, as I am fairly confident I have that under control. Every time I've asked this question on other forums I just get links to different forums with no helpful information below a certain level of expertise. I have never coded or done anything other than drag and drop folders, etc so a dumbed down version of how to start and I can learn from there. Anything! PLEASE!!! I hate having this amazing machine and not being able to utilize it.
oh, Touch Pro, sprint
Click to expand...
Click to collapse
I have a Alltel HTC Touch Pro. The software that came with it does not work with Vista. I googled active sync for Vista, I got links to Windows Mobile Device Center. I installed that onto my desktop. It syncs my phone to my desktop, but only shows my device memory and the storage card. I have installed downloaded and installed net.frame. When I downloaded Advanced Config Tool and draged and drop (also copied & pasted) into the device memory and tried to click the cab. file it only shows that it will go to the c: drive on my desktop. I do not see anything showing for the windows on my device. Hopefully someone can post some useful infomation about this. Yes I did use search, that lead me here. There are lots of complete noobs. Before we can add useful information for others. ( like showing off the really cool function of these new phones we have to be able to use them ourselves. Thanks for any help.
Here's some tips that might help you:
When plugging your Touch Pro into your PC via USB, you should be prompted on the Touch Pro whether you want to connect as "ActiveSync" or "Disk Drive". You should click "ActiveSync" for installing applications.
If you are using your desktop PC and download an application for your Touch Pro, it will typically be .exe or .cab. The .exe files are intended to run on your desktop PC first, and will then trigger an installation to your Touch Pro through ActiveSync (Windows XP) or Windows Mobile Device Center (Windows Vista).
If the file is a .cab, it is intended to run on your Touch Pro directly and will install the program. To move a .cab to your Touch Pro, you use the explore feature in ActiveSync (or similar feature in Mobile Device Center), and drag and drop. (Alternatively, you can download .cab files directly onto your phone from the source website using the Opera web browser). Once the .cab is on your Touch Pro, you use the file explorer program on your phone to naviagte to the file and then execute it.
When you install programs onto your TouchPro, a dialogue appears on the phone to walk you through the installation. To save your phone's shared memory, you can install programs to your memory card. Unfortunately, some applications work best when installed onto the phone versus installing them onto the memory card.
Hope that helps
Thank you very much for your reply. I'll give this another try. I had the Alltel HTV Touch Flo awhile back and was running XP on the desktop. If I remember correctly, I saw my device in the tree layout with the software running XP. I gave the Touch Flo to a family member and got a BlackBerry Curve. Wanted to go back to a windows platform for the versitilty of programs. I know everything has a learning curve to it. With lots of reading and study, trial and error, and help from generous people here. Noobs like myself can get a lot more use and enjoyment from their devices. Each new version that comes out is getting faster, more powerful, and has more features. Others see these things that we have and want one. It would be helpful if we could help them to see all the possibilities that are there. The I Phone gets a lot of attention with commercials and has opened up for new apps being developed. There are as many, if not more apps for widows. We just have to learn to implement them with our device. I know I did not start this thread, but others can see the original posters title and understand their, and my question. Thanks again to the reply, and to anyone else who comes up with more help for the noobs.

Modaco ROM - JBed Java

Hi,
What is this for? Will it run any Java app or a particular type of Java app only?
Any examples of Java apps to try it out on?
Thanks
Phil
yes youre right with that, it is at least possible to run (most) j2me (mobile phone java applications) applications.. what you could try, is to download some free games for nokia or sony ericson (they must be java) and try to install them!
i have not tried it with games, but i can sucessfully use two applications which normally run on nokia n80 - now running on my hero ;-)
Thanks for that. Will give it a try!
Hmm...put some jad & jar files on SD . Where do I go from there?
Jbed Java app does not see anything?
Completely lost as to installation!? Google bearing no fruit so far....
Thanks
Phil
Could I just register my interest in finding the answer to the OP's question. I want to run opera mini under Java but having no luck with .jar or .jad versions on sdcard.

[Q] Android Commander - "No JDK found"

Hi,
I'm running RaduG's TastyGinger 2.0 on my Hero. Since NAVIGON Select isn't working with Android 2.3 ROMs, i've been trying to apply the libmedia.so - Patch which I found around here (sry don't know wo did it, think it was gauner).
Problem now is, libmedia.so has to be replaced - which I am, although my Hero is fully rooted - too stupid for
Tried several "root explorers" (except for Root Explorer itself which isn't free), none worked. So I searched for some pc-based solution, found Android Commander.
This requires Android SDK, no problem, downloaded... "This programm requires Java Development Kit"
okay, downloaded JDK 6 update 24, installed.
Started Android SDK setup again - "This programm requires Java Development Kit".
WTF? didn't I just install it?
Reboot PC - no effect, still same problem.
Does anyone know a solution to my problem? Am kind of desperate cause I want to get NAVIGON working, got no data flat so Google maps is becoming expensive.
Does not matter to me if this solution is PC- or handheld-based, just want to get navigon working
Thank You!
Just hit back and then next again.
tried this, didn't work. also rebooted system several times, but no luck ...
LOL ...this works! I had JDK, but thougth that my version is maybe old (it was't though). So I downloaded update 25 (was 18), installed it and faced the same message "not found" ...it was very funny that that it woks only if you go back and forth but this really works for me!!!
solved, with new version i was able to install without problems. thread may be closed.

[Q] Run a exe in Android App

Hello,
I would like to create an Android App that can run a executable file (developed from C language for android) by clicking a button on touch screen. The executable file (created from arm-eabi toolchain) works pretty well if I run it from android command prompt. What I need to do is to able to run that exe from an app (basically that app should able to call that exe file).
I don't have much idea of how to do this.. I have seen people suggesting to use JNI to convert native C code into Java. But, I don't need to anything at Java level. All I wanted to do is to call the executable from an app. Is this possible to do? It would be very helpful if someone can give me suggestions.
Thanks,
Krishnan.
It would take a lot of hard work.
Best of luck to you...

Categories

Resources