Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/209.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我的android应用程序中的Google plus共享正在发布广告_Android - Fatal编程技术网

我的android应用程序中的Google plus共享正在发布广告

我的android应用程序中的Google plus共享正在发布广告,android,Android,当我在Google plus上分享文字时,一则广告也会被贴上文字本身。如何停止在共享文本上发布广告。我正在使用下面的代码 Intent shareIntent = new PlusShare.Builder(this) .setType("text/plain") .setText(shareText) .setContentUrl(Uri.parse("https://developers.google.com/+/")) .getIntent(); start

当我在Google plus上分享文字时,一则广告也会被贴上文字本身。如何停止在共享文本上发布广告。我正在使用下面的代码

Intent shareIntent = new PlusShare.Builder(this)
    .setType("text/plain")
    .setText(shareText)
    .setContentUrl(Uri.parse("https://developers.google.com/+/"))
    .getIntent();
startActivityForResult(shareIntent, 0);

内容由填充。删除该部分。

您能详细说明一下,您期望得到什么以及实际输出是什么吗?是的,我的代码工作正常,文本已成功共享,但随着该文本,Google plus平台的广告也将显示出来。我不希望该广告与文本一起出现。内容由以下内容填充。去掉那个部分。谢谢,它起作用了。我只是被困在这里,找不到任何与之相关的东西。再次感谢您的快速回复。