Showing posts with label mail client. Show all posts
Showing posts with label mail client. Show all posts

Thursday, 9 October 2008

Android Developers. Thread Opened.

I choose to open a thread regarding Sun JavaMail, JAF and Android.
I hope it would be useful for all developers whose encountered issues or difficulties using JavaMail on Android.
There were few troubles:
  • java.awt.Datatransfer class was missing (and related interfaces): they are available in the Apache Harmony SVN. There were some java.awt.Image dependancies, which have been removed.
  • The lastest Sun JavaMail API was not working on Android: at build time, the APK popped up an error within an IMAP class. I downloaded source code of it (now Sun JM is opensource) and I fixed some classes.
  • Sun JavaMail was working, but not at 100%: it was unable to manage Multipart elements of an email (so most of the email we receive). This API stored MIME-Types to/from Java Object association (a sort of mapping between them) in 2 files within the JAR file. Android is unable to read files in the classic way (due to security policy), so I decided to add the "MIME mapping" programmatically.
You can find the post on Android Developers here.

Thursday, 10 July 2008

Mail Android: now rendering rich content!

Mail Android is complete!


The application is a small mail client, capable of retrieving emails both using POP3 and IMAP protocols. Both protocols can be used under SSL Security enhancement.
It supports multiple user accounts and mail accounts. Even if a mobile phone is usually a personal device, this feature could be useful within a company.
In fact, these phones are shared by different employees and each one has different email accounts to keep track of.