On Thu, Jul 29, 2010 at 9:15 PM, Bret Foreman <bret.fore...@gmail.com> wrote:
> I removed the intent filter and still got the FC with the
> ActivityNotFoundException. Is there a better way to debug this stuff
> rather than trial and error?

I can't find where what you're doing is documented, so I have no idea
what the right behavior is. Do you have a link to where it describes
this <intent> child element of <Preference>?

Regardless, I see where I went wrong before.

Your error is:

E/AndroidRuntime(  376): android.content.ActivityNotFoundException: No
Activity
found to handle Intent { act=com.shipmate.AboutShipMateActivity }

Notice the "act=com.shipmate.AboutShipMateActivity" part. That says
the Intent it is trying to use has an *action* of
com.shipmate.AboutShipMateActivity. So, add an <intent-filter> with an
<action> of com.shipmate.AboutShipMateActivity to your activity, and
you should have better luck.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.9 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to