It should be like this:
In the manifest:
<activity
android:label="Life Wallpaper Settings"
android:theme="@android:style/Theme.Light.WallpaperSettings"
android:exported="true"
android:enabled="true"
android:name="LifeSettings">
You'd only need the leading dot if your activity class was in a
sub-package: e.g. ".ui.settings.LifeSettings"
<intent-filter>
<action
android:name="com.casadelgato.lifewallpaper.UPDATEPREFS" />
*<category android:name="android.intent.category.DEFAULT" />*
( not category_default )
</intent-filter>
</activity>
In the code:
Intent intent = new Intent("com.casadelgato.lifewallpaper.UPDATEPREFS");
intent.putExtra(...);
startActivity(intent);
Don't worry about setting the package or class name, as that's the point
of launching by action string.
-- Kostya
13.01.2011 4:37, John Lussmyer ?????:
Should they?
And which ones are you talking about?
On Wed, Jan 12, 2011 at 5:22 PM, Stephen Jungels <[email protected]
<mailto:[email protected]>> wrote:
Unless your android:name elements are fully qualified, they should
begin with a period, should they not?
--
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
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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