I get the GPS Position if i start the activity from my Service class. But i want to reload it without push a button. does anybody know how it works ??
Asked
Active
Viewed 143 times
2 Answers
0
Why don't you create a service schedulated? It will exec your principal service at a scheduled time.
See this: Define and consume local service

Simo
- 45
- 7
0
I would suggest that you look at this post, which refreshes the Activity after a given interval: Auto refresh the activity
-
thanks, for the hint with the handler. It works very well – Bukmop Mar 09 '16 at 11:27