まず、ファイルパスとファイル名を送信する必要があるため、さらにファイルを送信するには、uriリストが必要です
ArrayList<Uri> imageUris = new ArrayList<Uri>();
リストを埋めるために今すぐ
for (int i = 0; i < checkeditem.size(); i++) {
File file = new File(path + "/" + checkeditem.get(i));
imageUris.add(Uri.fromFile(file));
}
ファイル化されたURIリストでIntentを使用すると、Bluetoothまたはその他のオプションを使用してメディアファイルを送信できます
Intent shareIntent = new Intent();
shareIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
shareIntent.putParcelableArrayListExtra(Intent.EXTRA_STREAM,imageUris);
// shareIntent.setType("application/bluetooth");
shareIntent.setType("*/*");
startActivity(Intent.createChooser(shareIntent, "Share with"));