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

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).



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.


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