android - getting location updates after switching between classes -
in previous question trying gather location data , store in db. when press on phone when running application go collection screen location not resume updating though have , onresume() method...
@override public void onresume() { // todo auto-generated method stub super.onresume(); lm.requestlocationupdates(towers, 500, 0, this); }
does method handle if leave app open up? how go making app continue request updates after hit button when viewing location data in database?
Comments
Post a Comment