【发布时间】:2013-08-17 11:08:32
【问题描述】:
我尝试在 google plus 中从 android 应用程序中发布来自服务器的图像和链接 URL。但我不能在 google plus 中发布两者。
我已尝试将此代码发布..
Intent shareIntent = new
PlusShare.Builder(GooglePlusActivity.this)
.setType("text/plain")
.setText("Welcome to the Google+ platform....")
.setContentDeepLinkId("/cheesecake/lemon",
"Lemon Cheesecake recipe",
"A tasty recipe for making lemon cheesecake.",
Uri.parse("http://www.onedigital.mx/ww3/wp-content/uploads/2012/02/android-420x315.jpg"))
.setContentUrl(Uri.parse("https://developers.google.com/+/"))
.getIntent();`
在这段代码中,我只发布了一张图片,但没有发布 URL。URl 已显示但不可点击。
有人给我解决我的问题..
【问题讨论】:
标签: android google-plus google-play-services