(Excerpted from: http://blog.9cbs.net/rickyzhang198264/)
First, before
I am Mi-list and news-group, I bought the PDA of the Taiwan HP-1940 to handle the email.
Since I use four years of Foxmail on the PC, the huge and multi-bug Outlook is not a cold, and the Pocket PC has only Outlook synchronization. So suddenly fell to play with PDA programming, I contacted the Big University, I hope they offer all mail formats of Foxmail (such as index files, access files, etc.). It is estimated that Zhang Xiaolong is also interested in this, and will help. And the younger brother is also a big three, and the middle and big demands every classmate to internship, so the shipment is shining the project as an internship.
Second, demand function concept
• This mail synchronized software is to achieve the following features:
1. When the PDA is connected to the Internet, you can send emails or allow users to "selectively" to receive emails. The reason for "selective" is that no one wants to receive a big attachment or SPAM. Therefore, let users customize some rules, "selectable" to send emails.
2, when PDA Off-line, the user can temporarily store the sent message, then when the network is again connected, there are two ways to send: the first is to send it directly. The second is to synchronize to the Foxmail of the PC, and then send it on the PC.
3. When collecting emails on Foxmail, you can customize some rules, specify some part of the email to the PDA.
4. When the PDA is connected to the PC, the PC can automatically synchronize with the PDA in accordance with the rules.
5, synchronous content, not only includes email content, but also includes contacts.
Third, exploration of implementation
For the first time, the embedded development is completely a rookie, so the best way to learn embedded development is to charge on M $ MSDN. After a week of Recharge, the younger brother has the following ideas for the implementation of the needs.
First, PDA end
Developing this PDA-side application using Java is the most suitable. There are not many Java virtual machines that offer ARM chips on the market, Open Source has WABA and EWE, and Commercial's IBM J9VM. Since the open source is not very worry-free and the first time for PDA is still the first time, the ripe J9VM (to use it, go to Google to log in to IBM, after 300 MB of WSDD, take it 5MB J9VM for Pocket PC, as for license, WSDD seems to be limited, or use eclipse, WSDD itself is Eclipse, which is more convenient when compiling and port your application. And J9VM is Free of Charge, As long as it is not available to commercial
Look at the WSDD documentation, J9VM has a lot of different types of Classes libraries, and I choose the size and functionality of JCLFUN (on how to run JVM on the PDA, see the article)
As for the GUI of the PDA side, of course, use Eclipse's SWT (looking at www.eclipse.org to find SWT for PPC)
The picture below is the image of the GUI that I use SWT to do CRM directly to the image tested on the PDA.
Figure 1 (Remote Display, Tede Display, DIS)
Second, PC side synchronization
To Be Continue ...
************** 2004-07-19 ***************************? ??? ricky zhangguangzhou, guangdong, chinasun Yat-Sen University Computer science Department? E-mail: rickycheung@21cn.com
"Ask not what your country can do for you-ask what you can do for your country" - John F. Kennedy -Friday, January 20, 1961 *************** **********************************************
?