Hello good b4x people,
I am trying to launch the build in calculator using intent but with no success.
Do I need to declare something in the manifest?
used Erel's example (from 2012) but with no suucess :
I am trying to launch the build in calculator using intent but with no success.
Do I need to declare something in the manifest?
used Erel's example (from 2012) but with no suucess :
B4X:
Sub Activity_Create(FirstTime As Boolean)
Dim i As Intent
i.Initialize("", "")
i.SetComponent("com.android.calculator2/.Calculator")
Try
StartActivity(i)
Catch
ToastMessageShow("Calculator app not found.", True)
End Try
End Sub
log:
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.calculator2/com.android.calculator2.Calculator}; have you declared this activity in your AndroidManifest.xml?