Rahul, Thanks for your input. I have tried this method using a dot before the class name, as well as the class name alone. Unfortunately, it has not solved the problem.
I have also tried creating an alias activity and exporting the activity, but it hasn't worked either. Matt On Aug 22, 11:07 pm, Rahul Garg <[email protected]> wrote: > This is not the correct way to declare in Manifest file > > it should be like > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="com.example.AutoCompleteDemo" > android:versionCode="1" > android:versionName="1.0"> > <application android:icon="@drawable/icon" android:label="@string/ > app_name"> > <activity android:name=".app_name" > android:label="@string/app_name"> > <intent-filter> > <action > android:name="com.droidea.birthday.EditBirthdayActivity" /> > <category > android:name="android.intent.category.LAUNCHER" /> > </intent-filter> > </activity> > > </application> > > </manifest> > > I hope it will work. > > -- > Rahul > > On Aug 23, 10:54 am, Matt <[email protected]> wrote: > > > The error I receive is, "android.content.ActivityNotFoundException: > > Unable to find explicit activity class {com.droidea.birthday/ > > EditBirthdayActivity}; have you declared this activity in your > > AndroidManifest.xml?" > > > The error seems simple enough, but I don't see a problem with the way > > I have identified this activity in my manifest file. I have also been > > unable to see any problems with the activity class itself. > > > Code: > > AndroidManifiest.xml: > > <activity > > android:name="com.droidea.birthday.EditBirthdayActivity" > > android:windowSoftInputMode="stateVisible| > > adjustResize"> > > </activity> > > > Activity call: > > Intent intent = new Intent(Intent.ACTION_INSERT, > > People.CONTENT_URI); > > intent.setClassName("com.droidea.birthday", > > "EditBirthdayActivity"); > > startActivity(intent); > > > The EditBirthdayActivity is public, and I can see the activity from > > "Dev Tools -> Package Browser" using the emulator. > > > I have spent several hours trying different configurations, but I'm > > spinning my wheels at this point. > > > Has anyone experienced this? -- 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

