Switching from GPS to Network Positioning

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


Sponsored Links
 Hello,
im using a PositioningService in my Application.
In the onCreate() Method im getting a LocationManager with the
Criteria.ACCURACY_FINE,
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!

--



Other Threads

1. problem about using gprs to connect to internet with multiplexing

2009/7/8 hailong zeng <hailong.z...@gmail.com>
could you give more multiplexing configuration?

thx
--wxc200

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Android build didn't create contents of /data directory

content are loaded at boot time . On what device are you trying it out ?
How are you mounting the data. there are few changes needed to be done in
the init.rc script .









-- 
with regards vishal

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. Converting an image captured by camera to grayscale

4. Ubuntu 64-bit x86 Android build: lib32z1 and lib32z1-dev packages are needed

5. How to use BitmapFactory.decodeStream to specify the size of my output Bitmap?

6. dip and setting values in code

7. How to hide user dictionary? or suggested words on keyboard