例如我想分享这个链接:
http://www.orientaldaily.com.my/index.php?option=com_k2&view=item&id=6780:&Itemid=198
这是代码
private void shareIt() {
Intent sharingIntent = new Intent(android.content.Intent.ACTION_SEND);
sharingIntent.setType("text/plain");
String shareBody = "Here is the share content body";
sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,
"Subject Here");
sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT, shareBody);
startActivity(Intent.createChooser(sharingIntent, "Share via"));
}
所以,
1) 如何让它分享到 facebook 的链接?
2)如何编辑分享列表?