Google plus在我的Android应用程序*享发布广告

问题描述:

当我在Google上共享文本时,广告也随文本本身发布。如何停止张贴广告共享text.I使用下面的代码。Google plus在我的Android应用程序*享发布广告

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

你能详细说说,你期望什么,实际产出是多少? – Leandros 2014-11-04 09:21:30

+0

当然,我的代码工作正常,文本已成功共享,但该文本也显示Google plus平台的广告。我不希望广告与文本一起出现。 – user3647834 2014-11-04 09:30:22

+1

内容由['setContentUrl'](http://developer.android.com/reference/com/google/android/gms/plus/PlusShare.Builder.html#setContentUrl(android.net.Uri))填充。删除该部分。 – Leandros 2014-11-04 09:31:24

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