On Sun, Nov 25, 2012 at 5:19 PM, Johan Wasserman
<[email protected]>wrote:

> To my defence I didn't "bump" after 3 hours, it was more like 27 hours
>

I thought that math was a little funky :)


> I have the following activities (after setting up the stock standard
> wallpaperservice):
>  <activity android:label="@string/livewallpaper_settings"
>   android:name="com.clock.LiveWallpaperSettings"
>  android:theme="@style/AppTheme"
> android:exported="true"
> android:icon="@drawable/clockicon">
>  </activity>
>
> <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>
>

I'm curious why you have two Activities? I know nothing about live
wallpapers, but having one called "LiveWallpaperSettings" and then one that
is actually the one opened in the system Settings sounds ... confusing ...


> When I move the filters to the Settings activity, the wallpaper doesn't
> launch from Settings, it crashes with "Unfortunately Clock Wallpaper has
> stopped".
>

You ran this in the debugger? Nothing more from LogCat?


> No matter where the intent filter is, when I click on the icon for the
> wallpaper, it toasts "Application is not installed".
>

Well, that's definitely weird as the Main + Launcher combo should tell the
system to open the specified Activity from the Home Launcher.

Have you searched the webs for this problem? (like 'wallpaper "application
not installed" ' (note the quotes))

Have you checked b.android.com for a possible bug?

-------------------------------------------------------------------------------------------------
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

Reply via email to