It's not a secret anymore!
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: 10745
    
    9

(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: 17038
    
  26

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?


An IDE is no substitute for an Intelligent Developer.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10745
    
    9

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.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Testing strategies for handsets
 
It's not a secret anymore!