开发者

how to get the notification when user press on "Send" button in email composer

I am using below code to launch the email composer.

   Intent intent = new Intent(Intent.ACTION_SEND);
  startActivity(Intent.createChooser(intent, email_chooser_title));

After launches the email composer , when the user hits on the "Send" button , I want execute some 开发者_开发技巧of my code.

Pl. let me know how can I get that notification.

thanks.


if you are using the android email body then its android defoult page .you can not handle the click event of the send button ..but for that you need to create your own layout and the need to send the mail using the javax.mail api

this is the link you can check out how to make it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜