I am new to mobile application. Basically i want to get the user's GPS coordinates within building.
I have no problem detecting the mobile device outdoor, only when indoor is giving me the problem.
I have tried setting the accuracy, but no avail.
Is there a solution to it?? Any help will be greatly appreciated. Thanks
Here is my code:
public void run()
Criteria cr= new Criteria();
LocationProvider lp= LocationProvider.getInstance(cr);
Location l = lp.getLocation(60);
Coordinates c = l.getQualifiedCoordinates();
if(c != null )
lat = c.getLatitude();
lon = c.getLongitude();