-4

I have to write a mobile app using Delphi. The app needs to receive information and data from an Adafruit Feather via Bluetooth. I use Delphi XE5.

How would you do this in Delphi XE5?

Shaun Roselt
  • 1,650
  • 5
  • 18
  • 44
  • 3
    XE5 is first version that supported Android. In the meantime there were 4 new releases. It is fairly possible that by now XE5 is too old to do Android development with it without bumping into numerous issues. As far as examples are concerned start with Delphi documentation. – Dalija Prasnikar Mar 19 '16 at 14:21

1 Answers1

2

RAD Studio XE7 is the first version that added native Bluetooth support to the RTL.

RTL API for Bluetooth and Classic Bluetooth Support for App Tethering

Using Bluetooth

For earlier versions, you will have to use JNI to access the Android Java APIs for Bluetooth.

You can't write effective Android apps in Delphi without some interactions with Java, so you are best off learning how to do it.

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770