增加了多個帳號的支持。
1.目前系統支持3個帳號。
2.增加對POP/SMTP SSL的支持。
3 閱讀信內容時候增加轉發到短信功能。
在調試過程中發現有一個非常隱藏的問題,就是通過HTTP通訊時得到的OutputStream,如果象裡面寫數據時,有些手機(LENOVO-S9)調用out.flush(),就可能導致堵塞的現象。後來在網上找到資料說有些手機確實有這個問題,開始以為我的手機撥號有問題呢。
下面是原文:
http://Java2me.org/forum/vIEwtopic.PHP?p=340&sid=ce30a6cc0fdec3b619051f0e52e449c6
/*
The call to flush() uses a feature of HTTP 1.1 that allows data to be
sent in smaller loads. When calling flush() or sending a large
amount of data (in version 1.0.3) chunked encoding is used.
If you are using an HTTP 1.0 server or proxy server the chunked
transfer may cause problems.
You can avoid the chunking behavior with small transactions by just
calling close() where you were using flush(). For larger transactions
you need to buffer your output so a single write() and close() are
issued to the output stream.
*/