Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User systemcode's Avatar
    Join Date
    Mar 2003
    Posts
    6
    Can I access phone number and model from Java MIDP?

  2. #2
    Regular Contributor pbergius's Avatar
    Join Date
    Mar 2003
    Location
    Irving, Texas, USA
    Posts
    419
    Hello,

    You can't access phone number or IMEI number from Java in Nokia Java phones. Phone model (and firmware version) is accessible as a String from System.getProperty("microedition.platform"

    You might have to parse the returned string to get the name of the device. Some old versions of some phones just returned "j2me" (at least an early firmware version of 3410).

    Regards,

    Petteri / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved