문제

I asked question in : "How to create an android autostart application?" and my app start automatically. Now I want my app to run when Android boots, but without its form being visible on-screen (only show form in manually run)

올바른 솔루션이 없습니다

다른 팁

        <receiver android:name="com.example.RebootReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>

In the RebootReceiver you can start service instead of activity, and do your logic in service.

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