In my andr开发者_JAVA技巧oid application i want to send mail from my application at the time of installing the application I want to know it is possible to send a mail at the time of installing the app
Possible means please help me how to do that.
Check this answer: Autostart Android application after installation complete
This seems to be the only way to do it: i.e. check first run. There is no way to hook the event before your app is run.
I don't think you have any hooks while its installing. You could have a setting to say "first launch" and send the email on the first launch.
精彩评论