1.<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
2.其他地方调用时
Intent intent = new Intent(Intent.ACTION_SEND);
startActivity(Intent.createChooser(intent , "使用以下方式发送"));

更多相关文章

  1. android中的按钮以图片的方式显示_基础篇
  2. android用Popup弹出窗(PopupWindow的使用方式)
  3. Android全屏设置的两种方式
  4. 通过WifiManager,DhcpInfo获取android IP地址及网关等信息(两种
  5. Android进阶(一)几种网络请求方式详解
  6. android带有文字的图片按钮的两种实现方式
  7. android 添加文件打开方式,找了很久终于找到了,收藏起来吧
  8. Android--布局方式(LinearLayout)学习

随机推荐

  1. Android(安卓)library projects cannot b
  2. android 判断网络时打开设置
  3. Browser设置为桌面版
  4. android下的android.os.StrictMode$Andro
  5. 如何让listview宽度自适应
  6. 2010.12.08——— android progressDialo
  7. Android(安卓)去掉状态栏 去掉标题栏 沉
  8. wifi
  9. Android(安卓)呼吸灯流程分析(二)
  10. Android(安卓)WebView访问SSL证书网页(onR