Cross-platform SDK and HTML5 tools for mobile app development
X
 

Running MoSync apps on Java ME devices

3 posts / 0 new
Last post
Pablo Guaglianone
guagliap's picture
Offline
Joined: 10 Jul 2012
Posts:
Running MoSync apps on Java ME devices

Hi all, I'm working on a prototype MoSync-MAUI application: it runs fine in my Android phone and in the emulators (MoRe / JavaME). Then I try to compile and run the program in a couple of old Java phones (Motorola V3i and LG KP500) but I cannot manage to do it, so I tested the phones with the HelloMAUI example:

- On the LG (tested with several LG profiles) HelloMAUI runs but display only a blank screen (I see other blog entries on LG phones about having poor or incompatible JavaME support)

- On the Motorola v3i (compiled with the V3I profile) HelloMAUI stops with an "Application Error"

I'm a little disappointed on that, because the selling point I saw on MoSync was the support to this kind of old mobile phones. I'm developing an application to collect data, and this kind of old phones are cheaper and more rugged than recent Android phones, then I was trying to have a single codebase to all the devices.

Did any of you had a good experience compiling and running an JavaME application for this kind of old mobile phones? (not on the JavaME emulator, that works fine). If so, can you post what phone brand and model worked fine in your particular case?

TIA,
Pablo

 

Pablo Guaglianone
guagliap's picture
Offline
Joined: 10 Jul 2012
Posts:
@Sam: I tried checking the

@Sam: I tried checking the 'dead code elimination' in the compiler flags, but the sample HelloMAUI jar is over 131k, and my prototype app is over 218k missing half of the functionality yet. Maybe it's unrealistic try to use this kind of old phones with MoSync? If so, what would be a baseline phone recommended? The program should be used in outdoor data acquisition, replacing old Psion Workabout handhelds: therefore I was looking for older phones because all modern ones generally lacks keyboard and are *much* less rugged.

TIA

Sam Pickard
rival's picture
Offline
Mobile Archmage
Joined: 19 Mar 2009
Posts:
Hi, I've had really good J2ME

Hi, I've had really good J2ME experiences with phones from Motorola (including the V3i), Sony Ericsson and Nokia, and poor experiences with older phones from LG and Samsung.  LG and Samsung are notorious for having difficult, incompatible J2ME runtimes.  

What I did find is that Motorola in particular have very, very small amounts of memory, I think I tried to keep everything inside 128k.  Make sure you've got 'dead code elimination' set.  

I don't think that MoSync will now be fixed for the old Samsung and LG phones, but if you can make a bug report at http://jira.mosync.com and attach your code to test with, I'll try to press to get at least the Motorola runtimes fixed.  I don't have a V3 anymore to test with myself though, although I'm sure the dev team does.

Login or register to post comments