Hi,
I have a background service which get started on power up, works fine.
Now I want to add preferences, and bring up the preferences editor
ONLY when user clicks the application icon from launch pad.Here's what
I have in manifest:
<application android:icon="@drawable/icon" android:label="@string/
app_name">
<receiver android:name=".MyService" android:label="@string/
app_name">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED" /
>
</intent-filter>
</receiver>
<activity android:name=".MyPreference" android:label="@string/
app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
Problem is, when device is powered up, the preference editor get
invoked as well !
How to have the preference view NOT shown until user clicks on it from
launch pad? Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en