Open remote device file manager using bluetooth [Android]

I was a few days when I was looking for this.

The goal is I need to open the file manager of a device connected to my Android device via Bluetooth. ie Study the file structure from a device connected to Bluetooth and transfer the files.

Done - managed to connect to any device via Bluetooth, and also establish a pair.

Barrier - after several searches [: P] I found that there is a way to do this. they say that with OBEX and OPP you can access the files of the connected Bluetooth device. so I tried to find on OBEX implimentation in Android, Unfortunately, I could not get OBEX help.

So now I have many questions in 1 question. that is, any path to the Explorer files of the connected Bluetooth device.? Am I right that OBEX is the only way to do this? is there any useful documentation / tutorial that helps to implement OBEX in android?

+6
source share
1 answer

You can use the FTP profile (file transfer profile) that OBEX uses, can find the code here . With open source QCOM, check if RFCOMM channel registration and other information is required.

+2
source

Source: https://habr.com/ru/post/949286/


All Articles