I have this in preferences.xml:
<Preference android:title="@string/preferences_about_info_title"
android:summary="@string/preferences_about_info_summary"
android:key="AboutInformation">
<intent
android:action="com.shipmate.AboutShipMateActivity" />
</Preference>
And this is the manifest:
<activity android:name="AboutShipMateActivity">
<intent-filter>
<category
android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
The activity code looks like this:
public class AboutShipMateActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.aboutshipmate);
}
}
I'm getting an FC with the following logcat message:
E/AndroidRuntime( 376): android.content.ActivityNotFoundException: No
Activity
found to handle Intent { act=com.shipmate.AboutShipMateActivity }
Any ideas what's wrong?
--
You received this message because you are subscribed to the Google Groups
"Android Discuss" 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-discuss?hl=en.