摘要: 阅读:http://developer.android.com/training/secure-file-sharing/index.html首先要先注册一个FileProvider。 ... authorities必须是自己程序的包名+fileprovider,resource对应的是下面即将提到的路径问题。 In this example, the tag shares directories within the files/ directory of your app's internal st... 阅读全文
posted @ 2013-12-01 19:19 yutoulck 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 阅读:http://developer.android.com/training/sharing/index.html最简单的就是用包含ACTION_SEND 的 INTENT了,ACTION_SEND表示不同Activity的交流Intent sendIntent = new Intent();sendIntent.setAction(Intent.ACTION_SEND);sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");sendIntent.setType("text/pla 阅读全文
posted @ 2013-12-01 18:35 yutoulck 阅读(227) 评论(0) 推荐(0) 编辑