-1
我想共享附加到我的共享意圖的位置。可能嗎?在Android共享意圖上共享位置
這樣的事情,但添加位置信息:
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_TEXT, "The status update text");
startActivity(Intent.createChooser(intent, "Dialog title text"));
感謝。
你想分享哪裏?要郵寄還是有點? – Praveenkumar
你可能會把所有實現Parcelable –
的東西都檢查一下http://android-developers.blogspot.com/2012/02/share-with-intents.html –