I have a java android app that list all nearby Bluetooth active devices, and the user can pair with a device.
I want to make the user when is paired with another device to send files or images via Bluetooth.
How can I achieve that in android (java)?
If you're doing this over classic Bluetooth, have a look at the following links:-
Bluetooth file transfer for Android
Android Bluetooth file sending
How can I send a file through bluetooth with Android devices
Android: Send image via Bluetooth
If you're doing this via Bluetooth Low Energy, have a look at the following links:-
The ultimate guide to Android BLE development
Bluetooth LE send string data between two devices
Transfer image through BLE in Android
Related
I want to create app where i can connect multiple microphones using otg with android device and record each microphone voice seprately.Please, guide me if it is possible and how?
I have developed an application which detects OTG USB using felhr85:UsbSerial library in Android. Now, I need to transfer specific files from Usb to phone and from phone to usb(automatically, when USB connected,detected). How can I do this, I haven't any idea. Please answer me with code.
I have a BLE device (BlueMode+S42). I have attached the BLE device to a phone via a USB cable. Now I want to communicate via an app I created that sends something to the other phone.
Android App (Bluetooth) -----> BLE device (USB cable) -----> Android phone
I can already connect and disconnect from the BLE device via the app. I can read the UUID's from the BLE Device too. So I already have the app that communicates with BLE, the problem now is to set the BLE device as a bridge to communicate from the app to the other phone.
The github project is available here (It works fine, don't look at the roughness of the code please :D): https://github.com/Dehma/BleConnectionProject.git
Edit:
Ok I did both connections and now I'm struggling with how to connect them toghether so the phones can communicate each other.
I want to read sensor data from an android device which is connected via usb to a pc. Is there a way to read the sensor data through usb? Does getevent provide sensor values?
With google's ADK one can transmit data easily via usb.
http://developer.android.com/tools/adk/adk2.html
I need to send simple data-an integer- from two bluetooth devices to an android device. I know that the Bluetooth Chat is the base upon it, but it refers to connection of only one bluetooth device. Does anyne has managed to change it or has any hint to give me??
Any help would be very appreciated!