×

Discussion Board

Results 1 to 2 of 2

Thread: Phone Number

  1. #1
    Regular Contributor
    Join Date
    Jan 2004
    Posts
    165

    Phone Number

    Does anyone know whether it is possible to retrieve the mobile phone number of the phone you are running a Java app on? This can be MDIP2 or if there is an extension JSR for it.

    Or at at push can I retrieve the IMEI number from MIDP2 or a JSR extension.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,557
    No (the phone's phone number might be on the SIM card, but in probably 99.99% of cases it isn't, because it isn't needed/used for anything). And the SIM toolkit APIs are not documented in the public SDK (nor are they accessible from MIDP Java in any case).

    If you need your app to know the user's phone number, have the program ask the user for it.

Posting Permissions

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