How shell a app?
i have a APP1 and other: APP2, i need shell APP1 from APP2 .
The next quesition was: pass user from app1 to app2 (and no login in app2, because the user are login in app1)
i try to punt:
and in manifest app2 (perico.app2)
i have a APP1 and other: APP2, i need shell APP1 from APP2 .
The next quesition was: pass user from app1 to app2 (and no login in app2, because the user are login in app1)
i try to punt:
B4X:
Sub cmdHerramientas_Click
Dim i As Intent
Try
' i.Initialize("","")
' Dim jo As JavaObject = i
' jo.RunMethod("setPackage", Array("netsistemas.fricaltecgases"))
i.Initialize(i.ACTION_VIEW ,"")
i.SetPackage("perico.app2")
i.SetType("*/*")
StartActivity(i)
Catch
Log(LastException)
Msgbox(LastException.Message,"")
End Try
End Sub
and in manifest app2 (perico.app2)
B4X:
AddActivityText(main,
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
)