×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    17

    how do i get MSISDN number?

    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
    Join Date
    Mar 2003
    Location
    UK
    Posts
    229

    RE: how do i get MSISDN number?

    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
    Join Date
    Mar 2003
    Posts
    14

    RE: how do i get MSISDN number?

    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
    Join Date
    Mar 2003
    Posts
    17

    RE: how do i get MSISDN number?

    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
    Join Date
    Mar 2003
    Location
    UK
    Posts
    229

    RE: how do i get MSISDN number?

    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
  •