[英]How to share text & image in Google Plus (G+) from android without using Intent?
[英]How to link G+ View profile intent in android
我已將G +集成到我的應用中。 我正在嘗試類似於Google plus或Playstore G +查看個人資料的內容...
如果我單擊視圖配置文件。 Google Plus應用程序中的個人資料詳細信息已打開。
是否有人知道如何調用此特定活動-我也想在我的App中應用URI?
以下是來自playstore應用的屏幕截圖:
最終想出了一種方法:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://plus.google.com/"+userID+"/posts")));
這將提示用戶通過瀏覽器或APP打開,然后將相應顯示配置文件詳細信息!
希望這對其他人有用!
謝謝!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.