百思不得其解,網路上的文章都沒說到這一部分,

都很順利的顯示程式名稱,為什麼我就是沒辦法顯示!?

Screenshot_2013-07-12-13-59-38

 

原來關鍵點在

<intent-filter android:label="Share with my app">
   <action android:name="android.intent.action.SEND"/>
   <category android:name="android.intent.category.DEFAULT"/>
   <data android:mimeType="text/plain"/>
</intent-filter>

Screenshot_2013-07-12-16-46-18  

 

參考資料:

http://developer.android.com/reference/android/content/Intent.html

http://blog.csdn.net/zyg_860/article/details/8219196

http://www.dotblogs.com.tw/merlin/archive/2012/04/10/71399.aspx

http://sudarmuthu.com/blog/sharing-content-in-android-using-action_send-intent

http://fecbob.pixnet.net/blog/post/39257291-安卓4.x系統-增加藍牙接收文件類型-

http://www.openintents.org/en/intentstable?order=field_action_value&sort=asc

http://www.verious.com/qa/how-to-add-my-android-app-show-in-send-list/

http://twigstechtips.blogspot.tw/2011/10/android-sharing-images-or-files-through.html

http://www.cnblogs.com/stay/archive/2011/07/27/2118754.html

http://rritw.com/a/bianchengyuyan/C__/20130209/305275.html

http://mobile.tutsplus.com/tutorials/android/android-sdk-receiving-data-from-the-send-intent/

http://stackoverflow.com/questions/8624315/make-android-app-listen-to-shared-links

 

 

 

arrow
arrow
    全站熱搜

    小彬彬 發表在 痞客邦 留言(0) 人氣()