getting seriously confusing... Back to basics:
I have a live wallpaper, it has an icon in the Apps folder. When I click
on it it toasts me with "Application is not Installed". How do I get it to
open anything from clicking the icon.
I have the following in the manifest and it does nothing for clicking the
icon (not even an entry in LogCat) while everything else still works
perfectly fine:
<activity
android:name="com.clock.MainActivity"
android:screenOrientation="sensor"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.WallpaperSettings" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
Keep in mind it's a live wallpaper activated from Settings, but I would
like to open the preferences from the icon as a shortcut.
On Monday, November 26, 2012 1:25:00 PM UTC+11, TreKing wrote:
>
> On Sun, Nov 25, 2012 at 8:57 PM, Johan <[email protected] <javascript:>
> > wrote:
>
>> Only thing is, now the icon dissipated.... I can only access the
>> wallpaper via Settings.
>
>
> That sounds like the CATEGORY_LAUNCHER flag is missing or in the wrong
> place.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
--
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