If you are creating a new application, you may have thought about adding in Gmail connectivity. After all, if the application is a social app, it’s nice to be able to share things with friends. Even if it’s not a social app, there are dozens of other reasons why you would perhaps want to allow for Emails to be sent directly from the app.
In Android, there are various ways of accomplishing this. Most would go about this using the Share intent and then having the selected content automatically populate in a new Gmail message. While this works and is the best solution in a variety of situations, there are other times in which you’d be better off keeping your users within the confines of your own app.
Thankfully, XDA Forum Member krvoZD created a simple library that allows you to easily incorporate background Gmail sending into your app with just a few easy steps. Using krvoZD’s library, your app will be able to send Emails without having to load a separate application. And once the message has been created, you can optionally add a toast message informing your app’s user of the progress.
If you have been looking for a way to add email connectivity to your app, without forcing users to leave your app in order to send a message, this library will undoubtedly help you get started. Head over to the library thread to learn more._________
Want something on the XDA Portal? Send us a tip! -- Join us for xda:devcon 2014!