AppA
and AppB
can be installed from the Play Store.
From AppA
, I want to check if AppB
is installed. That is possible and already answered.
If AppB
is installed, I want to access java functions AppBFunctionInterface
of AppB
from AppA
.
AppA
was compiled with that interface AppBFunctionInterface
.
Is it possible in Android?
I create an Intent for AppB
. But then how do I get the reference to AppBFunctionInterface
? I don't want AppB
to show anything. I just want AppA
to access functions provided by AppB
code. AppA
knows the Activity name of AppB
as a String
"com.me.appbactivity".
In some ways, you could see AppB
as a "library application".