문제

How I autostart my app on android like whatsapp. Application must start when system restart...

도움이 되었습니까?

해결책

You might want to write a service, it will read internet data. To start it on boot write broadcast receiver that will execute on BOOT_COMPLETED or ACTION_EXTERNAL_APPLICATIONS_AVAILABLE. Your GUI app should comunicate with service using AIDL interface - if service will run in the same process as application, then no AIDL should be required.

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