jQuery in Action, 3rd edition
The moose likes Java Micro Edition and the fly likes Accessing device info eg cell number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Accessing device info eg cell number" Watch "Accessing device info eg cell number" New topic

Accessing device info eg cell number

abiodun emmanual

Joined: Jun 23, 2003
Posts: 6
Hi all, I've looked through a plethora of MIDP textbooks and none of them
seem to mention anything about how I can access the user mobile device info such as the clients/users telephone number, or their telephone book entries. I assume like with applets, that J2ME MIdlets are sandboxed and are restricted from accessing specific things. Thanks for your time.
Lilac Ezer

Joined: Apr 08, 2003
Posts: 8
As far as I know, information such as cellphone number, address book, calendar, etc, are not part of the MIDP specification. You may access such information by using APIs from the cellphone providers (I believe Nokia has an SDK that gives you access to some of that information, but only on certain phone models).
It is sorta covered in the JavaRanch Style Guide.
subject: Accessing device info eg cell number
It's not a secret anymore!