Android Question launch com.android.phone

akinnovation

Member
Licensed User
Longtime User
Hi all,
I need to lauch the standard phone app.
I have try with
B4X:
StartActivity("com.android.phone")

and

Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_MAIN,"com.android.phone")
Intent1.SetComponent("com.android.phone/.LaunchActivity")
StartActivity(Intent1)

I have used the getpackages in order to see if exist the com.android.phone packages and I have see this packages.
But when I try to execute the app I have a crash with the error "ActivityNotFoundException"
What is my error ?

Many thanks
marco
 
Top