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
RE: how do i get MSISDN number?
2002-10-14, 03:45#4
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
RE: how do i get MSISDN number?
2002-10-14, 08:20#5
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.