I have two applications and am currently trying to launch an activity
belonging to one application from inside the other application using
intents.
I have tried the following intent
Intent intent = new Intent();
intent.setClassName("packageName", "packageName.className"
intent.startActivity();
(adding the fully qualified activity into the AndroidManafest.xml)
However I get the following exception
01-14 15:13:47.723: ERROR/AndroidRuntime(281):
android.content.ActivityNotFoundException: Unable to find explicit
activity class {.....}; have you declared this activity in your
AndroidManifest.xml?
Does anyone know what the problem may be of if there is a better way
of doing this? From what I understand intent.setClass() is only for
starting internal activites so wouldn't be of use.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---