Android Question locationclient, locationmanager.. or something else

koffie

Member
Licensed User
Longtime User
Been toying with both locationmanager by Verhelst and Locationclient, with the google-play-service.jar.
I only send the latitude and longitude to a server. No fancy maps or anything. Not even using GPS. Only WIFI or 3G for coordinates.

Locationmanager is working okay on my phone, but has big problems on several others. Especially S3. It has a small footprint of less then 500KB but stops working by crashing, only gives back 0,0 for both latitude and longitude, needs rebooting or has problems switching between WIFI or 3G.

Locationclient 0.05 works fast and perfect, but has A HUUUUUGE footprint. Only to give back latitude and longitude, the footprint is over 5MB !!

questions:

- Is there a way to reduce (drastically) the footprint of the locationclient by (maybe) stripping google-play-services ? (only for returning the lat and lon to a server)

- Is there another library like the verhelst lib, that is both small and working okay on most phones ?

thanks,
 
Top