• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Invoke a activity of installed app from another application

Hi All,

AM in the proecess of invoking an activity of an installed application from my application.

I have added reqiured intent with package name and class name
Intent intent = newIntent();
intent.setComponent(new ComponentName("package name","Activity")); intent.setAction("android.intent.action.VIEW");
startActivity(intent);

But am getting permission denial error.

Any thought on this will be of great help to me!

Thanks
 
Back
Top Bottom