I used System.getProperty("wireless.messaging.sms.smsc")
but it is showing some other number. How to get mobile number, operator of the SIM which is used and to check data connectivity.
Asked
Active
Viewed 84 times
-1

Koopakiller
- 2,838
- 3
- 32
- 47

jerry
- 21
- 1
- 3
-
what j2me version ? CLDC? MIDP? As far as I can remember how to obtain the information you seek was (if at all possible) device and vendor dependent. So vendor and model might help, too. – Sascha Kolberg Aug 13 '15 at 07:34
-
Thanks for reply . I am working with MIDP model is Nokia and vendor is AIRTEL – jerry Aug 13 '15 at 07:37
-
Sorry, my comment was unclear. What would be helpful would be your **J2ME** **Version**. J2ME is split up into **CLDC** (Connected Limited Device Configuration) and **MIDP** (Mobile Information Device Profile). Both the CLDC version and the MIDP version would be of interest. Further more, the specific device you are using and what additional libraries are supported by that device is important, too. you can find a list of libraries associated with J2ME [here](https://en.wikipedia.org/wiki/Java_Platform,_Micro_Edition) – Sascha Kolberg Aug 13 '15 at 10:25
-
Thank you for providing document ,but I need system property to display phone number which I am using. I am beginner so only I don't know how to search for vendor also... – jerry Aug 13 '15 at 11:46
-
I want exact code to read phn number , anybody know about that ??? – jerry Aug 14 '15 at 06:28
1 Answers
0
Ok, short answer: You can't get the phone number.
see this answer
The properties you have to read to get thinks like IMSI, MNC, MCC are completely vendor/model specific so unless you can't give these refer to this post
Concerning connectivity, I am not sure whether you mean availability of internet or wireless connectivity or something else. But in most cases the answer would be: You will have to check if the device vendor offers an SDK for that.

Community
- 1
- 1

Sascha Kolberg
- 7,092
- 1
- 31
- 37
-
Is there no way to get phone number . Or like IMSI,MNC AND MCC as input is there is any way to display???? – jerry Aug 14 '15 at 06:49
-