The code below will start an email client at the compose page. Is there any way, using intents, to start the app at the main page, showing inbox etc?
Regards
Edit: It can be done with this code.
B4X:
Dim i As Intent
i.Initialize(i.ACTION_VIEW, "mailto:")
StartActivity(i)
Regards
Edit: It can be done with this code.
B4X:
Dim in As Intent
Dim pm As PackageManager
' this for stock email app
in = pm.GetApplicationIntent("com.android.email")
' this for Gmail
in = pm.GetApplicationIntent("com.google.android.gm")
If in.IsInitialized Then StartActivity(in)
Last edited: