Every example that I find is either in a portable project or regular Xamarin.Android. I have been unable to find any bluetooth example in Xamarin.Forms (Shared)
@Jcrice3 just implement a platform base interface and use it in your android project with the implementation , you can follow the URL which both of us provided.
@Jcrice3 check this https://github.com/conceptdev/xamarin-forms-samples/tree/master/BluetoothTISensor
What do you have to do?
@PubuduGayan thanks I'll try that and see if it works for me. @AlessandroCaliaro I'm making a cross platform app that scans for BLE devices then reads data from the device and the project has to be created in Xamarin.Forms Shared.
@PubuduGayan @AlessandroCaliaro Unfortunately both of these examples are created in Xamarin.Forms (Portable) and not Xamarin.Forms (Shared). I am hoping to find a relatively simple example for a (shared) project. Thank you both for looking.
It's for XF but the Bluetooth part is all in Android.. I think you can reuse this code
Got it working. Thanks!
@Jcrice3 glad to hear it work. good luck for your project.
In case anyone stumbles upon this thread another good implementation for Xamarin BLE can be found here. It has a sample for Xamarin Forms
can you help me with the plugin.ble!!! I'm making an app that will read and connect with device Hc05
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies