Share Content url of documents via email/twitter/yammer
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
For big files, it would be better for the user to share the content url of
the document. So the recipient can download the file easily via browser.
Original issue reported on code.google.com by jens.goldhammer
on 23 Jan 2010 at 3:35
Google Code Exporter commented
For yammer we can use probably the intent which is offered by the official
yammer
application.
Look at class
http://github.com/wonko9/yammer_android/blob/dd6dd2d0b0d6f1bc898973b15524ab939f4
9167b/src/com/yammer/v1/YammerShare.java
snippet:
// Get the reply from the edit box
EditText replyEdit = (EditText)findViewById(R.id.reply_edit);
String message = replyEdit.getText().toString();
// Create an intent containing the message
Intent intent = new Intent();
intent.setAction("com.yammer.v1:POST_MESSAGE");
intent.putExtra("message", message);
// Post the intent to the service
sendBroadcast(intent);
// Shut down the activity
finish();
I think, we can use this intent for sharing.
Original comment by jens.goldhammer
on 23 Jan 2010 at 3:40
Google Code Exporter commented
Sharing content and link is possible
Original comment by Florian....@gmail.com
on 21 Aug 2010 at 4:53
- Changed state: Done