Can someone please suggest .. right Bluetooth plugin to use .?? Regards, Dinesh On Dec 9, 2015 3:06 PM, "Dinesh Guleria" <[email protected]> wrote:
> Also at the end of this link says to use following library for HTC desire > :-- > com.htc.android.bluetooth.le.ja > http://www.bcsphere.org/portal.php?mod=topic&topicid=3 > > My Android version is 4.3 i.e api-19. > > So do i have to add this file in my project ? > > Please suggest. > > Regards, > Dinesh > > On Wed, Dec 9, 2015 at 2:56 PM, Dinesh Guleria <[email protected]> > wrote: > >> I modified my functions onDeviceReady() & scanForDevices() , but >> following alert messages does not occurs :--- >> alert('test'); in handler onDeviceReady() >> alert('test_1'); in following onclick event scanForDevices(); >> >> This means plugin is not detected by my cordova crosswalk app ? >> >> ---------------------- code ----- >> >> >> function onDeviceReady() { >> alert("Device ready ..!!!"); >> >> if (typeof BC != "undefined") { >> alert("GOT THERE"); >> } >> else >> { >> alert('BC not defined'); >> } >> >> BC = window.BC = cordova.require("org.bcsphere.bcjs"); >> alert('test'); >> } >> >> function scanForDevices() { >> alert("Scanning ..!!!"); >> BC.Bluetooth.StartScan(); >> alert('test_1'); >> } >> >> ----------------------------------- >> >> On Wed, Dec 9, 2015 at 2:43 PM, Dinesh Guleria <[email protected]> >> wrote: >> >>> This plugin, i am using :--- >>> https://github.com/bcsphere/bluetooth >>> >>> Have someone used it before ? >>> >>> Regards, >>> Dinesh >>> >>> On Wed, Dec 9, 2015 at 2:36 PM, Dinesh Guleria <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> >>>> Mobile model :-- >>>> HTC Desire 516 >>>> >>>> I am trying to use bluetooth plugin inside my cordova crosswalk app. >>>> Bluetooth apps :-- >>>> https://github.com/bcsphere/apps >>>> >>>> I am trying to search for available bluetooth devices, but nothing >>>> happens, if i use this function. :-- >>>> BC.Bluetooth.StartScan() >>>> >>>> I have attached the attached html & js files. Please suggest how to use >>>> this plugin ?? >>>> >>>> >>>> Please suggest how to use this plugin ? >>>> >>>> Regards, >>>> Dinesh >>>> >>> >>> >> >
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
