Frage

I have programmed a SMS handler application in Java and I would like to start my application on start up, as well as triggered on text message broadcast received.

Does anyone have any idea how to accomplish this and where to begin my research ?

War es hilfreich?

Lösung

register receiver for android.intent.action.BOOT_COMPLETED event and start your application.

Also note that as of Android 3.0 the user needs to have started the application at least once before your application can receive android.intent.action.BOOT_COMPLETED events.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top