Android Question Send Gmail not from Main activity

postasat

Active Member
Licensed User
Longtime User
Hi,
I would like to use Gmail rest Api to send mail from activity that is not "Main".
I need to know how can I use Starter service to delegate the event coming from GoogleOAuth2 to another activity that I called "elaboration" and in which I started the "Sub Send (msg As MailCreator)".

Using the code from the following example:
https://www.b4x.com/android/forum/threads/b4x-sending-emails-with-gmail-rest-api.81736/#content
once allowed the permission to send from google page, my app resume from "main" activity and all is stopping (and mail is not send, because the events are not raised).

Thank you.
 
Top