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

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -