Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User freewebtool's Avatar
    Join Date
    Mar 2003
    Posts
    17
    how do i get MSISDN number from any java-enabled phone? appreciate if can point some code on how to do it. thanx

  2. #2
    Regular Contributor LongSteve's Avatar
    Join Date
    Mar 2003
    Location
    UK
    Posts
    229
    If you mean Java code to do this, there isn't any I'm afraid. Most of the phone's internal data isn't available to Java MIDlets.

    Sorry,

    Steve

  3. #3
    Registered User krajag's Avatar
    Join Date
    Mar 2003
    Posts
    14
    The phone call example in the sdk tells you how to do this.. You will be using the javaphone API bundled with the pJava implementation.

    Basically, you have to initialize the jtapi provider, and then get the "address" from the provider. JTAPI has two different concepts, that of a terminal (a physical device) and an address (a ph number), and the address should give you the phone number..

    Krishnan

  4. #4
    Registered User freewebtool's Avatar
    Join Date
    Mar 2003
    Posts
    17
    besides developing for pjava, we also develop applications with J2ME, and our application need unique id from the phone (MSISDN), so is there possible other ways to retrieve a unique id from the phone with j2me?

    regards,

    reno

  5. #5
    Regular Contributor LongSteve's Avatar
    Join Date
    Mar 2003
    Location
    UK
    Posts
    229
    With MIDP, the only way your code will be able to get a unique ID is to
    a) Ask the user to enter it in.
    b) Retrieve it from a server using an HTTP connection.

    Cheers,

    Steve

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