This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes telephonyManager.getCellLocation() gives null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "telephonyManager.getCellLocation() gives null" Watch "telephonyManager.getCellLocation() gives null" New topic

telephonyManager.getCellLocation() gives null

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
This is my main class

this is my main xml

this is manifest xml

but when i run this programm it gives me null.
below is exception

when i debug the code telephonyManager.getCellLocation() gives me null.please see attachment.

[Thumbnail for tele.png]

subject: telephonyManager.getCellLocation() gives null
Similar Threads
shows me blank with blinking arrow
android uncaught handler: thread main exiting due to uncaught exception
How to retrieve string from EditText?
it doesn't shows location details
url error ,please help