File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Testing strategies for handsets 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 strategies for handsets" Watch "Testing strategies for handsets" New topic
Author

Testing strategies for handsets

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

(This thread is inspired from my other thread http://www.coderanch.com/t/531723/JME/Mobile/Stacktrace-device )

I was under the comfortable (now proven wrong) impression that a Java midlet is guaranteed to run on any handset (as long as the handset supports the relevant CLDC+MIDP version) Looks like I was mistaken.

How do you guys test your mobile apps? Multiple handsets? Different models/manufacturers? Are there any tools available which will test run the same midlet by say allowing you to switch emulators? Are any plug and play emulators available?
If it matters, I am using Pulsar 3.6 on Snow Leopard.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

You mean Write Once, Run Anywhere?

You can improve the odds by installing the developer kits for the devices of interest and testing under each of them. Unfortunately, no emulation is perfect, though. Ultimately, the hardware itself is the only true test, and even then changes in production configurations may make certain serial number ranges not work.

Best bet is to avoid excessive cleverness, and especially exploitation of specialized features.

Have you a specific issue, or is this just general frustration?


Customer surveys are for companies who didn't pay proper attention to begin with.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Tim Holloway wrote:
Best bet is to avoid excessive cleverness, and especially exploitation of specialized features.
Have you a specific issue, or is this just general frustration?


Well my app is pretty simple. Pepped it a bit with LWUIT. But the UI is not the problem. Its when I try to post data to a servlet, which I posted about in http://www.coderanch.com/t/531723/JME/Mobile/Stacktrace-device

Tim Holloway wrote:You mean Write Once, Run Anywhere?

Yup.
I will try out the emulator suggestion.
 
Don't get me started about those stupid light bulbs.
 
subject: Testing strategies for handsets