I’ve written a sample application to test the answer provided. Unfortunately it doesn’t work for me, so I think this question is not completely answered.
More Related Contents:
- Android sample bluetooth code to send a simple string via bluetooth
- How to send file using bluetooth on android programatically?
- onActivityResult’s intent.getPath() doesn’t give me the correct filename
- Convert file: Uri to File in Android
- How to programmatically move, copy and delete files and directories on SD?
- Android: Getting a file URI from a content URI?
- Transfer data between iOS and Android via Bluetooth?
- Android; Check if file exists without creating a new one
- Sniffing/logging your own Android Bluetooth traffic
- Pick any kind of file via an Intent in Android
- Android path to asset txt file
- Can’t get file uri from intent onActivityResult
- simple HttpURLConnection POST file multipart/form-data from android to google blobstore
- android BluetoothDevice.getName() return null
- Unzip a zipped file on sd card in Android application
- Android device as a receiver for A2DP profile
- How to send file from Android device to other device through Bluetooth by code
- Which correct flag of autoConnect in connectGatt of BLE?
- Android open pdf file
- How to pair Bluetooth device programmatically Android
- How to capture key events from bluetooth headset with android
- How to programmatically pair a bluetooth device on Android
- Application using bluetooth SPP profile not working after update from Android 4.2 to Android 4.3
- How to zip and unzip the files?
- Android: how do I create File object from asset file?
- How to get the internal and external sdcard path in android
- Since marshmallow update Bluetooth discovery using BluetoothAdapter.getDefaultAdapter().startDiscovery(); is broken
- Bluetooth file transfer Android
- Android append text file
- Receive audio via Bluetooth in Android