Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

telephonyManager.getCellLocation() gives null  RSS feed

 
Ranch Hand
Posts: 1278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
tele.png
[Thumbnail for tele.png]
 
It will give me the powers of the gods. Not bad for a tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!