×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    103

    getting IMEI no from the device

    Can u pls, tell me how to get IMEI from the device?

    I try to get the IMEI by all the following strings using System.getProperty(""):
    ->com.nokia.mid.imei
    ->com.nokia.IMEI
    ->phone.imei

    This works fine in S60 3rd edition FP2 emulator(shows 0's). But on N95, and N73 devices, it shows NullPointerException. Is there any other solution for it? Is the property string is differ for various versions(FP2,FP1,and S40 emulator etc.,) and series(N and E etc.,) of device?
    Pls, guide me------

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: getting IMEI no from the device

    I think only applications signed by Nokia can see these properties.

    The IMEI number is privileged information, the sandbox prevents you from accessing it.

  3. #3
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: getting IMEI no from the device

    This article explains the situation. Basically IMEI can only be retrieved on 3rd Edition FP2 devices from the S60 platform (and some Eseries devices). This is probably due to lack of functionality in MIDP 2.0

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    103

    Re: getting IMEI no from the device

    Quote Originally Posted by bogdan.galiceanu View Post
    This article explains the situation. Basically IMEI can only be retrieved on 3rd Edition FP2 devices from the S60 platform (and some Eseries devices). This is probably due to lack of functionality in MIDP 2.0
    ok, thank u for ur replying---
    so, we can't get IMEI from nokia N-Series devices. Is there any opensource utilities other than j2me for this purpose? If so, pls help me---------

  5. #5
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    103

    Re: getting IMEI no from the device

    Quote Originally Posted by grahamhughes View Post
    I think only applications signed by Nokia can see these properties.

    The IMEI number is privileged information, the sandbox prevents you from accessing it.
    Thank u for ur reply------
    How to sign the midlet using j2me? Pls, explain the procedure------
    Is it enough to set the security preferences be in trusted(mode) for signing the MIDlet?
    Pls, help me-----

  6. #6
    Nokia Developer Moderator
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: getting IMEI no from the device

    Quote Originally Posted by neeraja.nokia View Post
    so, we can't get IMEI from nokia N-Series devices. Is there any opensource utilities other than j2me for this purpose?
    Could you please explain what you mean by "opensource utilities other than j2me"? If you mean another programming language then yes, there is at least Python and Symbian C++.

    Quote Originally Posted by neeraja.nokia View Post
    How to sign the midlet using j2me?
    You shoud read these articles for information about signing (there are others in the Wiki, you should search and see what you can find):
    http://wiki.forum.nokia.com/index.ph...curity_Domains
    http://wiki.forum.nokia.com/index.ph...ng_for_dummies
    And here is a tutorial:
    http://www.spindriftpages.net/blog/d...orial-revised/

Similar Threads

  1. What we want is a basic function device.
    By hendrysong in forum General Development Questions
    Replies: 1
    Last Post: 2008-06-06, 04:02
  2. Funambol DM server, E62 and 9500 device manager app
    By rickmorris in forum OMA DM/DS/CP
    Replies: 1
    Last Post: 2008-02-26, 05:36
  3. Getting the IMEI number crashes device
    By telcogames in forum Symbian
    Replies: 4
    Last Post: 2008-01-08, 11:25
  4. Installing Ethernet Plugin on a second device
    By chenfi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-12-19, 11:40
  5. Bluetooth Security: What exactly is an untrusted device?
    By rahulmcs in forum Bluetooth Technology
    Replies: 1
    Last Post: 2005-12-02, 06:26

Posting Permissions

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