-1

How to get only coarse location without creating or extending MapActivity and send Lattitude and Longitude data to a service in Android ?

Any help would be appreciable.

Manish Dubey
  • 4,206
  • 8
  • 36
  • 65

2 Answers2

2
How to get only coarse location without creating or extending MapActivity

First thing no need MapAcitvity for get current location, you just have to use LoacaionManager, but you have to use GoogleMap API

This is best question for getCurrentLocation.

Community
  • 1
  • 1
Niranj Patel
  • 32,980
  • 10
  • 97
  • 133
1

Using LocationListener you can get Location Updates, from The Location Manager. You need to get Location from GPS PROVIDER, which returns location from gps receiver, and another option you have by NETWORK PROVIDER, which will return location of network, which is tower, wifi point, etc.

jeet
  • 29,001
  • 6
  • 52
  • 53