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

只有注册用户登录后才能发表评论。


网站导航: