【发布时间】:2014-08-23 10:42:20
【问题描述】:
我想通过蓝牙共享一个字节[]的文件。
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setType("text/byte");//what type ?
String uri = Environment.getExternalStorageDirectory() + "/Keys/"+"public.key";
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(uri)));
startActivity(intent);
我应该叫什么类型???
我还需要更改清单文件吗?
【问题讨论】:
标签: android file bluetooth share manifest