I want to to open ActivityX in App2 from my App1.
I found this one, but dont know how do do this in B4A
my friend wrote an native application with android studio with an Activity called "SettingsActivity"
I tried several calls but always get errors like
I found this one, but dont know how do do this in B4A
Launch an activity of an application from a different application on Android
I need to launch an activity (not the main activity) of an application from an application I have made. The activity I want to launch is proprietary, hence, I cannot make any changes to its code(or
stackoverflow.com
my friend wrote an native application with android studio with an Activity called "SettingsActivity"
XML:
<activity
android:name=".SettingsActivity"
android:label="@string/title_activity_settings"
android:theme="@style/Theme.Template.NoActionBar">
</activity>
I tried several calls but always get errors like
B4X:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10020000 pkg=com.awtrix.template }[/ICODE]
or
[CODE=b4x][ICODE]android.content.ActivityNotFoundException: Unable to find explicit activity class {/.SettingsActivity}; have you declared this activity in your AndroidManifest.xml?[/ICODE]
or
[CODE=b4x]java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10020000 pkg=com.awtrix.template cmp=com.awtrix.template/.SettingsActivity } from ProcessRecord{e674532 8208:com.awtrix.main/u0a545} (pid=8208, uid=10545) not exported from uid 10555
Last edited: