Is it possible to start an activity in a different apk using startActivity on Android using the activity name or similar?

Yes Use the package name and class name, like this (for starting Gmail): new Intent("com.google.android. Gm", "com.google.android.gm. ConversationListActivity").

Yes. Use the package name and class name, like this (for starting Gmail): new Intent("com.google.android. Gm", "com.google.android.gm.

ConversationListActivity").

Yes, this was it. I tried the setClassName(String packageName, String className) method earlier but missed that the class name needed to have the full path so I thought that I had misinterpreted the use of it. Thanks.

– icecream Apr 21 '10 at 5:42.

Why do you want to use "package and class names" to launch the Activities in the second . Apk? Why not use an Intent since this is the standard way to launch an Activity?

1 He is talking about using an Intent, just not using the new Intent(context, Class) constructor. – alexanderblom Apr 20 '10 at 19:12.

On the same lines, if I have an application that typically starts an activity, can I build it into an apk by signing it with a private key. Will this allow access to that activity from other apks build by other developers?

Please help me guys..thank you so much! I hope my question is clear..i really appreciate your help!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions