×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Smile retrieving imei in Java ME from s60 device

    Hi,
    i'm using a nokia 5230 s60 device....cldc 1.1. midp 2.0 and am trying to display the imei
    I declare a String variable to hold the value
    String imei=System.getProperty("com.nokia.mid.imei");

    but when i try to display it
    nothing shows up on the screen...

    Can anyone tell me if it is possible to retrieve the imei value using java me on this device?

    any direction greatly appreciated.

  2. #2
    Regular Contributor
    Join Date
    May 2010
    Posts
    94

    Re: retrieving imei in Java ME from s60 device

    Look dear,
    Here is the code for retrieving all information of the phone.
    Using this code I retrieved the information of the Device.

    Siemens: System.getProperty("com.siemens.IMEI");
    Samsung: System.getProperty("com.samsung.imei");
    SonyEricsson: System.getProperty("com.sonyericsson.imei");
    Motorola: System.getProperty("IMEI");
    System.getProperty("com.motorola.IMEI");
    Nokia: System.getProperty("com.nokia.mid.imei");

    If u r not getting then.U missing something. Check ur code again.

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: retrieving imei in Java ME from s60 device

    Quote Originally Posted by roryoflynn1@gmail.com View Post
    Hi,
    i'm using a nokia 5230 s60 device....cldc 1.1. midp 2.0 and am trying to display the imei
    I declare a String variable to hold the value
    String imei=System.getProperty("com.nokia.mid.imei");

    but when i try to display it
    nothing shows up on the screen...

    Can anyone tell me if it is possible to retrieve the imei value using java me on this device?

    any direction greatly appreciated.
    Please refer to FN Wiki article : http://wiki.forum.nokia.com/index.ph...MEI_in_Java_ME
    On the S60 platform this has been implemented on some of the S60 3rd Edition phones (this includes Nokia E60, Nokia E61, and Nokia E62, but not Nokia 3250 or Nokia 5500). On S60 phones this does not require signing. Generically only the business models from S60 3rd Ed (incl. FP1) devices support these
    Thanks,
    Ekta

  4. #4
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Re: retrieving imei in Java ME from s60 device

    Hi Ekta,
    thanks for your reply, the following link
    http://wiki.forum.nokia.com/index.ph...fication_codes
    confirms that the model i have should be able to return the imei so i will need to revisit my code...
    thanks agian

  5. #5
    Registered User
    Join Date
    Feb 2010
    Posts
    20

    Re: retrieving imei in Java ME from s60 device

    Quote Originally Posted by nitinverma274 View Post
    Look dear,
    Here is the code for retrieving all information of the phone.
    Using this code I retrieved the information of the Device.

    Siemens: System.getProperty("com.siemens.IMEI");
    Samsung: System.getProperty("com.samsung.imei");
    SonyEricsson: System.getProperty("com.sonyericsson.imei");
    Motorola: System.getProperty("IMEI");
    System.getProperty("com.motorola.IMEI");
    Nokia: System.getProperty("com.nokia.mid.imei");

    If u r not getting then.U missing something. Check ur code again.
    thank you for your response

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

    Re: retrieving imei in Java ME from s60 device

    Worth checking the value you get...

    Code:
    String imei = System.getProperty("com.nokia.mid.imei");
    if (imei == null) {
        imei = "(unavailable)";
    }
    Graham.

Similar Threads

  1. IMEI retrieving
    By pgigena in forum Mobile Java General
    Replies: 4
    Last Post: 2008-12-11, 04:03
  2. RETRIEVING IMEI USING PYTHON
    By sarathgopalr in forum Symbian
    Replies: 3
    Last Post: 2007-07-01, 01:43
  3. IMEI retrieving for incoming calls
    By RAnni in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-10-18, 04:18
  4. Retrieving/Configuring IMEI on S60 Emulator
    By obrand in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-09-14, 20:59

Posting Permissions

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