Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User tridcomm's Avatar
    Join Date
    Mar 2003
    Posts
    6
    I found on Symbian page:
    http://www3.symbian.com/faq.nsf/f91c9c36047592a3802569fc00535d0a/755962c83e20287e80256b27004fdd46?OpenDocument

    Question:
    Can I access the IMEI number of a phone from code on Symbian OS?

    Answer:
    The IMEI number is accessible through a native ETel API. Unfortunately, for C++ developers this is not a publicly released API but is part of the advanced GSM API to which only licensees have access. However the API is accessible from Java code using the methods of JTAPI mobile, as follows:

    JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("com.symbian.javax.telephony.EpocJtapiPeer"
    provider = peer.getProvider("EpocGsmMobileProvider"
    Address[] addresses = provider.getAddresses();
    origAddress = addresses[0];
    println("Host number is " + origAddress.getName());
    Terminal[] terminals = provider.getTerminals();
    origTerminal = (MobileTerminal) terminals[0];
    println("IMEI number is " + origTerminal.getTerminalId());

  2. #2
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    Is there going to been an API that can be used to access either a SIM or phone number? That would be a nice way to create unique serial for software protection

    Posted by Jean Mountford, jean_mountford@yahoo.com
    on May 06, 2002 at 17:50

  3. #3
    Super Contributor Nokia_Archive's Avatar
    Join Date
    Mar 2003
    Posts
    2,426
    Posted by Vitaly Goncharuk, filfob@filfob.com.ua
    on May 06, 2002 at 23:22



    you can use JavaPhone functions ( IMEI : com.symbian.epoc.etel.Etel.getPhone().getPhoneId().serialNumber )... but when i received this number, my program has taken off.

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