Mark,
Here i am giving step by step approach of my IMAP client considerations. Pleas try to follow these and give me your feedback
to me.
IMAP client for mobile device
-------------------------------------------
1. User can do one operation at a time (Ex:- select inbox)
2. Take the inbox/folder name and fetch the header detatils
of each message(recipient name, subject, internal date, flags) from
server. Store this information in a temporary memory (cache). Display this information immediatly to user.
3. User will select any one of these messages. After selection of message, I will take the required message header information and i will flush the remaining messages header information.
4. I will first search for the message number based on header information. Then i will retrieve the message text from the server based on message number. I will store this information on temporory memory, i will parse this information and i will display the formatted message on the screen.
5. User can delete this message.
6. If user deletes that message means, i will search for message number based on header information, then i will delete that message.
7. In this scenario i am not sotring any mail information / folder information. Every thing is temporary. For every action i will fetch corresponding information form server and i will display on the screen.
I am not using file management.
8. In case connection refused, I will display that information on screen.
Is this approach correct?
I want to share your ideas and informaiton on this regard.
Regards
Gangadhar
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
