View Single Post
Old 08-11-2008, 12:05 PM   #8 (permalink)
arv
Knows Where the Search Button Is
 
Join Date: May 2007
Location: indonesia
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by holy3daps View Post
One more thing: sometimes attachment handlers are unable to respond to attachments in email messages that arrived before the attachment handler was registered. I say "sometimes" because the behavior is somewhat inconsistent (i.e., I used to notice this behavior consistently on OS 4.1 and earlier devices, but I have some tests which have shown that this is not necessarily true on 4.2 or later devices).

Cheers,

karl

Halo Karl,
thanks for your information.

about the attachment handler registration,
i addHandler at appMainScreen constructor,
and i removeHandler when user close() the app.

so the handler is one time handler like what you said.


about the sequence of the message,
in this test case, of course i send the message (email),
after i open my application.
so, it should be catch by the handler.


Until now, i still can't do sap.getContent().
I don't know it's caused by error when registering handler
or it's error because of i can't get more() attachment from server.

thanks.

Last edited by arv : 08-11-2008 at 12:14 PM.
Offline   Reply With Quote