Amit Samel wrote:
Hello guys,
i am very much new to android platform. i am trying to implement some
codes from Android: A Programmer’s Guide. i have installed latest sdk
thats why there are some issues regarding deprecated apis. when i was
trying to call getCurrentLocation() i got error ,
Hi Amir,
Where did you test that code? Emulator or dev phone?
You may be missing the appropriate permissions (e.g.,
ACCESS_FINE_LOCATION) in your AndroidManifest.xml file.
Mark is right.
Additionally, I suppose that cause of crash is null pointer exception.
Double latPoint =
2 matches
Mail list logo