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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -