Hello!

I'm building a Firefox OS App and I'm wondering about the best way to share 
content (only text) by email, Twitter or Facebook.

I see there is this MozActivity API, with the "share" activity that opens a 
dialog that shows me Facebook, E-Mail and Twitter (Apps are installed), but 
also other Services that don't make sense for sharing just text, like Bluthooth.

So my questions are:

a) how can I filter out the services from this menu that don't make sense for 
just sharing a text message? I tried {name: "share", data: { type: "text/*" }} 
but it seems not to work.
b) how can I set the text I wan't to twitter, share by facebook or - in the 
case of email - how can I set subject and body?
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to