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 阅读(400)
评论(0) 编辑 收藏 所属分类:
Android 、
GIS/GPS