Developing an email client app on android
I am trying to develop a small application for sending and receiving emails on the Android plataform. Currently i have been using the Javamail api trying to send an email. However i thought that if i implement my app using javamail how am i going to receive an email and get a notification from my app that i have recieved it? Is this having to do with Service and Provder classes found on Android? I am a complete beginner on android.
Also i tried this piece of code found here :
with no luck since application does not work.
JavaMail can also be used to fetch mails from a POP3 server. As an example look at this class: PopMailImporter.java, especially the importMails and importMail function.