Hi check the package name that your activity has and the package name the manifest file has. Also check what package name you are giving in your intent.
Thanks & Regards, Yousuf Syed 773-719-4786 On Tue, Mar 9, 2010 at 1:23 AM, cnbishop <[email protected]> wrote: > hi, i am trying to implement this tutorial i found online: > > http://android-journey.blogspot.com/2010/01/for-almost-any-application-we-need-to.html > > i keep getting an error that the activity isn't found when i try to > implement this intent. > > i have a button and when it is clicked it calls my > MyPreferenceActivity > > Button Settings_Button = (Button) findViewById(R.id.Settings_Button); > Settings_Button.setOnClickListener(settingsListener); > > that is when it throws the error. however i have defined the activity > in my manifest file: > > <activity android:name=".MyPreferenceActivity" > android:label="@string/app_name"> > </activity> > > am i missing something? i tried renaming it. or defining it like so: > com.package.MyPreferenceActivity > > no luck. any help is appreciated. > > -- > 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 > [email protected]<android-beginners%[email protected]> > 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 [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

