How do you detect the emulator mobile number in the Sun's Wireless toolkit?
Asked
Active
Viewed 417 times
2 Answers
0
AFAIK it is not possible with currently available J2ME API's.. And my doubt is, Does emulator having mobile number?

bharath
- 14,283
- 16
- 57
- 95
-
yes @bhakki emulators having mobile no. When you run emulator its header shows something like "+5550000" that is emulators mobile no. – Mihir Palkhiwala Feb 15 '11 at 07:20
-
Hmmm. Ok mihir. I didn't check with before. But we dont have that API in j2me. – bharath Feb 15 '11 at 07:23
0
Nope no way to do this programatically. Why not prompt the user? If they are happy with you having their mobile number, they will enter it for you.

funkybro
- 8,432
- 6
- 39
- 52