×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    USA, FL
    Posts
    148

    How to detect that midlet is running on emulator or on real device?

    Subj?

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    393

    RE: How to detect that midlet is running on emulator or on real device?

    System.getProperty("microedition.platform" returned a different string on the emulator and on the phone. This should work be the solution to your problem.

    It's advisable to use the Java MIDP App Development guide in Java/Documents section. The property above is mentioned under the localisation topic.

    [N]/ Forum Nokia
    Cheers,
    Nitin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •