File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Testing J2ME application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Testing J2ME application" Watch "Testing J2ME application" New topic

Testing J2ME application

Girish Nagaraj
Ranch Hand

Joined: Apr 19, 2006
Posts: 153
Hi ranchers,

I am writing a simple J2ME application.I want it to run on all(at least most of) the JTWI complaint mobile phones.

How to ensure that it runs all the JTWI complaint mobile phones?

Any way to achieve this?

Thought possible solution could be to test on wireless toolkit from different vendors (Sony ericsson, motorola, nokia).

Test it directly on different (at least on popular modles) mobile phones.


Does J2ME Polish solve the problem?

Share your thoughts.

Thanks in advance..

Girish N
SCJP 1.4, SCMAD 1.0
Deepan Devadasan
Ranch Hand

Joined: Jan 25, 2007
Posts: 226
Hi Girish,

I am not sure about whether i am making sense here...

How about mJUnit in NetBeans...

Cant use it for your case?

Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
Girish Nagaraj
Ranch Hand

Joined: Apr 19, 2006
Posts: 153
Hi ,

mJunit will not serve my purpose.
Rashid Mayes
Ranch Hand

Joined: Jan 11, 2006
Posts: 160
DeviceAnywhere has a service that allows you to test your application on multiple devices. It will cost you though.

Rashid Mayes -
Somnath Das

Joined: Jun 06, 2006
Posts: 11

According to me, it eould be better to test on the real devices, cause there is a lot of difference and constraints on a phone than in emulators.

Thanks & Regards,
Somnath Das

Sun Certified Java Programmer (1.4)<br /> <br />(Progress isn't made by early risers, But by lazy people, trying to find easier ways to do the same)
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
I think the most you can do is develop portable code that is coherent with the JTWI specs (better read it) and test it as much as you can in as many devices of interest as possible.

Basically JTWI devices devices with mandatory MIDP 2.0+ WMA 1.1 + CLDC 1.0 support
and optional MMAPI 1.1 support, at least. WMA 2.0 and CLDC 1.1 can also be enabled instead since they are supersets of WMA 1.1/CLDC 1.0.

JTWI also enforces some requirements which are optional or do not exist in the original MIDP, WMA, or MMAPI specs. For example, in regard to MIDP, some requirements on RMS; screen resolution,JPEG image format support etc are defined by JTWI.
[ March 21, 2007: Message edited by: Eduardo Marques ]

Eduardo Marques
Get ready for your SCMAD certification at - See what all the buzz is about ...
Girish Nagaraj
Ranch Hand

Joined: Apr 19, 2006
Posts: 153
Thanks all for your thoughts..
I agree. Here's the link:
subject: Testing J2ME application
It's not a secret anymore!