Android Activity with no GUI

Echoing previous response, you shouldn’t use a broadcast receiver.

In the same situation, what I did was to declare the theme thusly:

<activity android:name="MyActivity"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.NoDisplay">

Leave a Comment