×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Feb 2005
    Location
    Bucharest, Romania
    Posts
    15

    Find out the Phone Number from inside J2ME

    Hi,

    is it possible to read somehow the phone number from inside a midlet?
    So I want to find out the phone number on the phone on which the midlet is running.
    How can I do that?

    Thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545
    You can't. The phone does not know its own number. It is not stored anywhere on the phone. It could be stored on the SIM card, but it is rarely done, because it is not needed for anything.

    Use the search field on the top right of this page and search for "IMSI" for posts with more details.

  3. #3
    Registered User
    Join Date
    Feb 2005
    Location
    Bucharest, Romania
    Posts
    15
    thanks for your feedback )

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: Find out the Phone Number from inside J2ME

    Is it not possible using System class's getPrperty() method
    ?

  5. #5
    Nokia Developer Champion
    Join Date
    Sep 2007
    Posts
    915

    Re: Find out the Phone Number from inside J2ME

    Is it not possible using System class's getPrperty() method
    ?

  6. #6
    Nokia Developer Champion
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,192

    Re: Find out the Phone Number from inside J2ME

    Not possible and in many cases the phone itself does not know the phone number.

    Hartti

Posting Permissions

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