2
たとえば、私は、このリンクを共有したい:ここリンクを共有する共有ボタンを開発するにはどうすればいいですか?
http://www.orientaldaily.com.my/index.php?option=com_k2&view=item&id=6780:&Itemid=198
はするFacebookでリンクを共有するために作成する方法)コードので
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ですか?
2)共有リストを編集するにはどうすればよいですか?
ハロー@Adil Soomro、私を導くことができますか?どこに置くべきですか createChooser() –
私はあなたを得ませんでした。どのような場所でデータを共有したいのですか? –
このような例は? 'sharingIntent.putExtra(android.content.Intent.EXTRA_TEXT、 "http://www.orientaldaily.com.my/index.php?option=com_k2&view=item&id=6780:&Itemid=198");' でありますこれは正しい?もちろん、もちろん –