通过Android在Google+社区发布

时间:2015-04-20 10:12:02

标签: android google-plus

我想在EditText中发布用户类型,让我们在Google+社区中将其称为bugDescription_text。

我知道如何在Google+应用中展示社区,我知道如何在Google+上分享内容,但看起来无法在社区中发布内容。

你们中有谁知道如何实现这个目标吗?

在Google+上分享内容的代码是:

TextView bugDescription_text = ((TextView) findViewById(R.id.buDescription_text));
Intent shareIntent = new PlusShare.Builder(this)
                                  .setType("text/plain")
                                  .setText(bugDescription_text.getText().toString())
                                  .set(Uri.parse("https://plus.google.com/communities/115754662037454223862"))
                                  .getIntent();

startActivityForResult(shareIntent, 0);

0 个答案:

没有答案