1. Are you ready for the Galaxy S20? Here is everything we know so far!

Invoke a activity of installed app from another application

Discussion in 'Android Development' started by Bharanicharan, Aug 3, 2010.

  1. Bharanicharan

    Bharanicharan Lurker
    Thread Starter

    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");

    But am getting permission denial error.

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


    1. Download the Forums for Android™ app!


  2. meskiukas

    meskiukas Newbie

    Does it work better if you use android.intent.action.MAIN? VIEW is usually used to view a data URI.

Share This Page