I'm trying to use an Intent() to send a little data to another app.
So far, I've been unable to get the startActivity() to succeed. It always
fails with a ActivityNotFound exception.
I just haven't been able to figure out WHY my activity isn't being found.
invoking code is:
Intent intent = new
Intent("com.casadelgato.lifewallpaper.UPDATEPREFS");
intent.setPackage("com.casadelgato.lifewallpaper");
intent.putExtra("PrefUpdate", true);
startActivity(intent);
Manifest of target app is:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.casadelgato.lifewallpaper"
android:versionName="1.0.3"
android:versionCode="4"
android:sharedUserId="@string/SharedUserID">
<uses-sdk
android:minSdkVersion="7" />
<uses-feature
android:name="android.software.live_wallpaper"
android:required="true" />
<application
android:icon="@drawable/icon"
android:label="@string/app_name"
android:process="@string/SharedUserID">
<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="Life Wallpaper Settings"
android:theme="@android:style/Theme.Light.WallpaperSettings"
android:exported="true"
android:enabled="true"
android:name="LifeSettings">
<intent-filter>
<action
android:name="com.casadelgato.lifewallpaper.UPDATEPREFS"
/>
</intent-filter>
</activity>
</application>
</manifest>
--
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