• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing strategies for handsets

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(This thread is inspired from my other thread https://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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 https://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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic