This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer (Exam 1Z0-830) Java SE 17 Developer (Exam 1Z0-829) Programmer’s Guide and have Khalid Mughal and Vasily Strelnikov on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

porting in j2me

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I would like to know how to test whether j2me applications are compatible for different handsets, or porting any tutorials/links regarding porting would be of great help to me.

Thanks in advance
 
Saloon Keeper
Posts: 28665
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In theory, it's "Write once, run anywhere". In practice, portability has been more of a problem than it is with desktop Java apps. Part of this is because most mobile devices contain not only one of the Java mobile profiles, but also a number of the JSR-defined extensions and the exact mix varies from device to device.
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess when it comes to J2ME testing you still have to rely on manual tests on the real hardware.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Deep,

As a first step -- you need to check the API usage. If you have used APIs from Sun'sMIDP/CLDC specification ONLY, you can have a piece of mind that it will work for all Java supported phones.

Next thing to check whether you are using Canvas or is it a complete non-canvas based application. In the latter case, you can be absolutely sure that it will work on all Java supported phones and all sizes as well.

However, if you are using Canvas, then you should analyse each displayable screen as it will require customisation for different phone sizes.

This might get more complex, if you are already using phone specific APIs. You will either need to identify alternative ones for other phone models (may not be available) or remove them (which in turn might mean removing the functionality).

Hope this might give you a direction to plan your porting effort.

Arnab
 
reply
    Bookmark Topic Watch Topic
  • New Topic