문제

For my schoolproject I have to develop an Android app that continuously tracks the owner of the phone and let him track the phone when lost.

For this kind of app I need to start the app in the background whenever the phone boots. I was wondering how I could do that?

And perhaps you have some ideas of all the sensors I could use to track if the owner is near the phone.

Thanks!

도움이 되었습니까?

해결책

Use BroadcastReceiver to start somthing on the boot completed.

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