I need to send an email when the user closes the app....I can do the email no problem...just need to know what activity do I send the email right before the app closes......anyone have any idea ?
InkedAndroid
If you're developing an app that's automating this, please disregard my reply.
For others who would like to automate this activity on their phone, please read on.
Try AutomateIt from the play$tore ...
Create a new rule.
Select from the trigger list: Application Status Trigger
Select the desired application
Uncheck the Application Activated check box so the rule will trigger when the application is closed.
Press NEXT
Select from the action list: Send gmail Action
Select the desired source and destination addresses and enter the message title and message you'd like to send.
Press NEXT
Select any further rule details
Press DONE/SAVE
All done !!! ...
The next time your desired application closes, the specified eMail will be sent.
Great little app...