我想分享一些链接到谷歌+墙。我使用过PlusShare.Builder
。我已关注此链接https://developers.google.com/+/mobile/android/share/
shareButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// Launch the Google+ share dialog with attribution to your app.
Intent shareIntent = new PlusShare.Builder(this)
.setType("text/plain")
.setText("Welcome to the Google+ platform.")
.setContentUrl(Uri.parse("https://developers.google.com/+/"))
.getIntent();
startActivityForResult(shareIntent, 0);
}
});
问题是,我可以在Google +中看到我的帖子两次。