Use Case:
I am working on a project which involves a android phone and Raspberry Pi. Raspberry Pi unit would be planted with sensors in the field and once in a while user would walk around with the phone and try to get the readings from the Raspberry Pi. So the app's responsibility is to get the data and plot the graph.
Design:
I was planning to allow user to select the location of the file once the devices are paired. As of now, identification of available devices, programmatic pairing of devices has been done. But I am unable to navigate the Raspberry Pi's file system from android. How do you achieve that?
Any help would be appreciated. In case you pointing to this resource, please explain as well (taken from selected answer here).
You may deploy a Java application on your Raspberry pi and connect it with your Android app via a bluetooth socket: Send data from android bluetooth to PC with bluecove
From there you can execute File.listRoots()
and create your own remote dir browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With