Kamis, 10 Januari 2013

Get location from mobile or WIFI networks

Refer to last post, modify the String PROVIDER = LocationManager.NETWORK_PROVIDER to make it determines location based on availability of cell tower and WiFi access points. Results of location are retrieved by means of a network lookup.

 //String PROVIDER = LocationManager.GPS_PROVIDER;
String PROVIDER = LocationManager.NETWORK_PROVIDER;


0 komentar:

Posting Komentar

Copyright © 2012 Codding News All Right Reserved