문제

I building an app which need to get some information from some web site everyaday in 12:00 PM and send it to the user as a notification. The function runs automatically when the app is on but I don't want the user to launch the app so the function can run, I want it to happen automatically. how can I do this?

Thanks in advance

도움이 되었습니까?

해결책

You can use Alarm manager for that.

here is a good example of using:

link

And developers for more info:

link 2

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top