F fishwolf Well-Known Member Licensed User Longtime User Mar 1, 2019 #1 In my old app i have use this method for send a email Code: Dim Message As Email Dim MyPhone As Phone Message.To.Add("[email protected]") Message.Subject = "Help" StartActivity(Message.GetIntent) now i'm seeing that is show the shared menu with all applications as whatapp, bluetooth, drive and gmail. is it possible open a new email as i saw before? i have already see alternative method suggested from Erel Thanks
In my old app i have use this method for send a email Code: Dim Message As Email Dim MyPhone As Phone Message.To.Add("[email protected]") Message.Subject = "Help" StartActivity(Message.GetIntent) now i'm seeing that is show the shared menu with all applications as whatapp, bluetooth, drive and gmail. is it possible open a new email as i saw before? i have already see alternative method suggested from Erel Thanks
DonManfred Expert Licensed User Longtime User Mar 1, 2019 #2 what happens if you choose gmail? Upvote 0
MarkusR Well-Known Member Licensed User Longtime User Mar 1, 2019 #3 if there are more than one app registered for handling a mail then a pup-up selection comes where you usually can choose always this "app". or your "intent" not said what it is and all apps think hey i can handle this file/data. Upvote 0
if there are more than one app registered for handling a mail then a pup-up selection comes where you usually can choose always this "app". or your "intent" not said what it is and all apps think hey i can handle this file/data.
F fishwolf Well-Known Member Licensed User Longtime User Mar 1, 2019 #4 DonManfred said: what happens if you choose gmail? Click to expand... Upvote 0
F fishwolf Well-Known Member Licensed User Longtime User Mar 1, 2019 #5 MarkusR said: if there are more than one app registered for handling a mail then a pup-up selection comes where you usually can choose always this "app". or your "intent" not said what it is and all apps think hey i can handle this file/data. Click to expand... is it possible set gmail as default app? Upvote 0
MarkusR said: if there are more than one app registered for handling a mail then a pup-up selection comes where you usually can choose always this "app". or your "intent" not said what it is and all apps think hey i can handle this file/data. Click to expand... is it possible set gmail as default app?
DonManfred Expert Licensed User Longtime User Mar 1, 2019 #6 If you choose gmail you get another choice again??????? Upvote 0
F fishwolf Well-Known Member Licensed User Longtime User Mar 5, 2019 #7 DonManfred said: If you choose gmail you get another choice again??????? Click to expand... yes, is it possible open gmail direcly, without show the question? Upvote 0
DonManfred said: If you choose gmail you get another choice again??????? Click to expand... yes, is it possible open gmail direcly, without show the question?
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2019 #8 Try this: Code: Dim in As Intent = Message.GetIntent in.SetPackage("com.google.android.gm") StartActivity(in) Upvote 0
Try this: Code: Dim in As Intent = Message.GetIntent in.SetPackage("com.google.android.gm") StartActivity(in)