Switching from GPS to Network Positioning

by Harold » Tue, 15 Dec 2009 23:49:40 GMT

Sponsored Links
im using a PositioningService in my Application.
In the onCreate() Method im getting a LocationManager with the
the Problem is, now im getting only a position if im outside through
gps. If im inside i get no Position.
If i dont set the Criteria, then i only get Signal from network, but
not from gps.
I want to get the Signal from the best LocationService and it should
swith automatically.
Do i have to register two Listeners? Or should i do something in the
"onProviderDisbaled/Enabled" , "onStatusChanged" Methods?

Thank you!