Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

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).

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

OR

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
http://www.hostj2me.com/ - http://www.worlddeveloper.org/
Somnath Das
Greenhorn

Joined: Jun 06, 2006
Posts: 11
Hi,

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 J2MECertificate.com - 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: http://aspose.com/file-tools
 
subject: Testing J2ME application