You have to use Intents
B4X:Dim i As Intent i.Initialize("", "") i.SetComponent("com.google.android.gm/.ComposeActivityGmail") StartActivity(I)
To do that, you can use the UNFILTERED LOGS in the IDE, the intents show up there, it takes a little practice.
i am using your above codeWhat code are you using? the one I posted or yours?, mine works just fine.
yes i am using spice mi502. android 4.0Do you have the GMail app installed?, what kind of device is that?
actually i am trying in emulator. will it not work in emulator.yes i am using spice mi502. android 4.0
sorry i tried on my handset. it is working on handset.actually i am trying in emulator. will it not work in emulator.
still not geting. what to write in code to seeDude, the B4A IDE, the logs are in the IDE.
suppose i want to open google play then how to know what to write in i.SetComponent()still not geting. what to write in code to see
Dim pm As PackageManager
Dim i As Intent
i = pm.GetApplicationIntent("com.google.android.gm")
StartActivity(i)