我已經在我的android中安裝了Dropbox,Gmail plus。我已閱讀文章Launch Dropbox from my app Android。如何在android中共享圖像?
我希望將我的圖片分享到Dropbox或Gmail plus,我想下面的代碼會彈出一個菜單,讓我選擇Dropbox,Gmail plus或其他應用程序來分享我的圖片,但我得到一個提示信息:No applications可以執行動作。爲什麼?
Intent intent = new Intent(Intent.ACTION_SEND);
startActivity(Intent.createChooser(intent, "title");