摘要:
//共享多个文件代码如下ArrayList<Uri> uris = new ArrayList<Uri>();for(int i = 0; i < size; i++){ File file=(File)list.get(selectedItemIndexes[i]).get("file"); mimeType = getMIMEType(file); Uri u = Uri.fromFile(file); uris.add(u); } boolean multiple = uris.size() > 1; Intent intent = 阅读全文