LocationManager locationManager;
locationManager = (LocationManager)UserLocationTest.this.getSystemService(Context.LOCATION_SERVICE);
List<String> providers = locationManager.getAllProviders();
for(Iterator iterator = providers.iterator();iterator.hasNext();)
{
String provider = (String)iterator.next();
System.out.println("====" + provider + "===");
}
posted on 2011-09-28 15:30
Ying-er 閱讀(407)
評論(0) 編輯 收藏 所屬分類:
Android 、
GIS/GPS