With RAD Studio XE7, you can easily extend your existing Windows VCL and FireMonkey apps to connected devices, sensors, data and services using Application Tethering.
In XE7, we have added support for Bluetooth tethering, in addition to Network based tethering.
Here are some of the features that App Tethering provides:
- Extend FireMonkey and VCL Apps
- Auto Device Discovery
- Trigger Events and Methods on Other Devices
- Remote Control Apps
- Send Data back and forth
- Bluetooth & Wifi Support
If you used network (Wifi) based application tethering with XE6, you can easily switch your existing apps to use bluetooth tethering in XE7.
The only change you need to make is to switch the AllowedAdapters property from Network to Bluetooth on your TetheringManager component. You will need to make this change to the TetheringManager component on all tethered apps.
Before running the application, ensure that both of your devices are paired. In my example, I am using a 2012 Nexus 7 that I paired to my Macbook Pro. On my Nexus 7, I selected Settings, and turned Bluetooth on. I then clicked on Bluetooth and selected to ‘Search for Devices’. Once I found my Macbook Pro, I clicked on it to pair my Nexus 7 device to it. My Nexus 7 then also appeared in my list of Bluetooth devices on my Macbook Pro.
The tethering demo you see in my screenshots and the video below can be found under:
C:\Users\Public\Documents\Embarcadero\Studio\15.0\Samples\Object Pascal\Mobile Samples\Media\MediaPlayer
C:\Users\Public\Documents\Embarcadero\Studio\15.0\Samples\CPP\Mobile Samples\Media\MediaPlayer
Click here to find out more about our introductory 10% Discount on qualifying XE7 products through September 30, 2014!