Run Activity from another app

Asked

Viewed 52 times

2

Is it possible to run an Activity from another app? I don’t want to call it through an Intent, something like this:

public class AnotherActivity extends com.otherapp.app.ActivityName
{
     // Aqui vai conter o código original da Activity
}

I know it is possible to do this with Nativeactivity by implementing the original methods within Activity and loading the . so library of the app. But the app in question does not have Nativeactivity.

My intention is to make a modification at runtime of the app, for example: Assuming that the other app’s Activity has the getIcon() method, overwriting it in my Anotheractivity(which is the same app’s Activity) I can change the app icon.

  • 1

    Just to confirm you want to access an Activity from another App? This doesn’t seem right or even logical...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.