i m trying to activate gps using this code. Intent intent=new - TopicsExpress



          

i m trying to activate gps using this code. Intent intent=new Intent(android.location.GPS_ENABLED_CHANGE); intent.putExtra(enabled,true); sendBroadcast(intent); after this in my notfications it shows the its searching location bt if i check if my gps is on using this lines of codes.. ArrayList providers=(ArrayList)lManager.getProviders(true); the arraylist doesnt have gps in it.. m i doing something wrong? or anyone can suggest a better way to activate gps..
Posted on: Tue, 02 Sep 2014 18:24:21 +0000

Trending Topics



Recently Viewed Topics




© 2015