Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing strategies for handsets

 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18218
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic