extra action

1 view
Skip to first unread message

fern...@bugabundo.net

unread,
Jan 7, 2010, 6:30:26 AM1/7/10
to reade...@googlegroups.com
Could you had an Action Control to use the android internal "share" feature?
that way, i could share my items with any other app I have installed, that exposes ACTION_SEND.

The code for it is something like this:

Intent msg = new Intent(Intent.ACTION_SEND);
msg.setType("text/plain");
msg.putExtra(Intent.EXTRA_TEXT, message);
msg.putExtra(Intent.EXTRA_SUBJECT, subject);
startActivity(Intent.createChooser(msg, shareEvent));

--
Fernando Pereira
(``-_-´´) -- BUGabundo :o)
Linux user #443786    GPG key 1024D/00967685
http://mi.BUGabundo.net   buga...@googlewave.com

Jayesh Salvi

unread,
Jan 7, 2010, 7:54:23 AM1/7/10
to reade...@googlegroups.com
good idea. i'll look into it.
--
Jayesh
Reply all
Reply to author
Forward
0 new messages