Hi,
I need to know the phone number and I tried this in Nokia 9210 and all I got was an empty string.
...
JtapiPeer peer = JtapiPeerFactory.getJtapiPeer("com.symbian.javax.telephony.EpocJtapiPeer");

Provider provider = peer.getProvider("EpocGsmMobileProvider");
Address[] addresses = provider.getAddresses();
for ( int i=0; i < addresses.length; i++){
System.out.println(i+":"+addresses[i].getName());
}
phoneNumber = addresses[0].getName();
...
If anyone knows another way to get the phone number or knows what is wrong in my example please let me know.
Thanks in advance!
Erkka Tahvanainen
erkka.tahvanainen@mobiletechnologyforum.com