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

Using 'OR' and 'AND' in SQL Server -

python - Finding intersection between ellipse and a line -

c++ - NetBeans Remote Development with additional configuration -