[android-developers] Live Wallpaper Preferences Activity launch problem
When I click on the Preferences button for my Live Wallpaper, I get this Exception:
01-04 17:54:23.021: ERROR/AndroidRuntime(534): Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.casadelgato.lifewallpaper/LifeSettings}; have you declared this activity in your AndroidManifest.xml?
The Activity class is com.casadelgato.lifewallpaper.LifeSettings.java
The Manifest file has:
<service
android:label="@string/servicelabel"
android:permission="android.permission.BIND_WALLPAPER"
android:name="LifeWallpaper"
android:enabled="true">
<intent-filter>
<action
android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/settingsconfig" />
</service>
<activity
android:label="Settings Label"
android:theme="@android:style/Theme.Light.WallpaperSettings"
android:exported="true"
android:enabled="true"
android:name="LifeSettings">
</activity>
the settingsconfig.xml file has:
<?xml version="1.0" encoding="utf-8"?>
<wallpaper
xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="LifeSettings" />
I can't seem to figure out what's wrong...
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home