tags:

views:

38

answers:

1

Let me explain: There are some apps (like the Facebook app) that send emails to the BB device, but when I open the said email, it opens directly in my facebook app. How is that possible? Is there an API or something I need to know about to be able to program that on my own app?

On another topic, could I do the same thing, but simply force the email to open a certain url in the BB browser?

Hope I explained myself.

Cheers!

+1  A: 

Short answer, yes.

Take a look at the Message List Demo Sample application and the net.rim.blackberry.api.messagelist.* apis. That will handle the "injecting my own stuff into the message list" component of what Facebook does.

Secondly as for "grabbing incoming emails and doing things with them" you need to use FolderListener from net.rim.blackberry.api.mail.* APIs

haagmm