c# - Xamarin Forms - Plugins.BLE - MvvmCross.Plugins.BLE -
i want develop app xamarin forms detects devices , interacts them bluetooth connection.
the plugin "plugins.ble" seems me request. found plugin here : https://github.com/xabre/xamarin-bluetooth-le
i did not find plugin "plugins.ble" when wanted install in xamarin studio, tried use mvvmcross.plugins.ble plugin. downloaded , installed in project. reference mvvmcross.platform has been installed in same time. set permissions bluetooth in androidmanifest.xml.
i have many problems plugin. in first place, initialized adapter :
var adapter = mvx.resolve<iadapter>();
i put code in app.xaml.cs got nullreferenceexception when build.
otherwise, when put
var ble = mvx.resolve<ibluetoothle>();
xamarin studio not recognize ibluetoothle interface.
maybe errors come mvvmcross using. don't want use mvvmcross if plugin "plugin.ble" available use did not find it.
you have search pre release. haven't released "stable" 1.0 without "-beta" postfix. every package thats version have "-foo" postix recognized prerelease nuget. null reference exception typical error if haven't referenced platform specific package in ios or android app. running package on simulator can cause problems, too. working on this.
Comments
Post a Comment