-1

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 ??

Bukmop
  • 37
  • 5

2 Answers2

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

Community
  • 1
  • 1
ToFo
  • 1,643
  • 1
  • 19
  • 34