Put a '.' in front of the activity name in your manifest...  That should fix
it.

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Thu, Jul 29, 2010 at 9:35 AM, Bret Foreman <bret.fore...@gmail.com>wrote:

> 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 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<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
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