Android, How to send HTML email and force Android to send it through G-Mail not other applications?
I want to send email through my application. I need to send HTML based email just through G-Mail. I found following solutions that each of them has pros and cons. 1) Using Intent (Intent.ACTION_SEND). This is very simple way and I can see my body in HTML format but the problem is when I click on "Send email" button, so many applications like Facebook and Google+ pop up which are useless and I shouldn't show it in that list. This is its code: String html = "<!DOCTYPE html><html><body><a href=\"http://www.w3schools.com\" target=\"_blank\">Visit W3Schools.com!</a>" + "<p>If you set the target