Let's say I installed an API on my raspberry pi (with Php, python, it doesn't matter). Is there a way for my Android phone to make direct requests on my API through Bluetooth ? (If my raspberry and my phone are not connected to internet with Wifi, Ethernet or 4G)

  • You might be able to get the two devices tethered via BT. Or maybe you can configure the Pi as an accessory and create an Android app to interface with it. It depends on how much time you are willing to spend setting this up.
    – Manchineel
    Dec 5, 2018 at 22:25
  • Time is not a problem, I just want to know a method to achieve this Dec 6, 2018 at 8:12

1 Answer 1


Of course there is!

For a Python example see this GitHub repo:


  • 1
    I'm not convinced this answer will be true in some cases. IMHO, Bluetooth on RPI is "not ready for prime time". Personally, I've found it to be buggy and recalcitrant in operation. Just my opinion...
    – Seamus
    Feb 24, 2020 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.