Is there a way to check if the gmail app is installed on an android device?
My app calls out to the gmail app using this code.
I'd like to check to see if it's installed and prompt the user if it's not there.
Apologies if the question has already been answered. I searched and didn't see a relevant thread.
Thanks much!
My app calls out to the gmail app using this code.
Gmail Snippit:
intent1 = msg.GetIntent
If sdk >= 23 Then
intent1.SetComponent("com.google.android.gm/.ComposeActivityGmailExternal")
Else
intent1.SetComponent("com.google.android.gm/.ComposeActivityGmail")
End If
I'd like to check to see if it's installed and prompt the user if it's not there.
Apologies if the question has already been answered. I searched and didn't see a relevant thread.
Thanks much!