Hi, Dinesh

I have attached the attached html & js files. Please suggest how to use this 
plugin ??

Sorry, I didn’t see the attachment you shared, and we didn’t use this Bluetooth 
plugin before.
Does this a Crosswalk plugin issue? Have you try without Crosswalk?
If it is a Crosswalk issue, please share your simple code for us, I think we 
can help. ☺

Thanks,
Wanming

From: Fu, Junwei
Sent: Thursday, December 10, 2015 8:40 AM
To: Dinesh Guleria; [email protected]
Cc: Lin, Wanming; Zhang, Belem
Subject: RE: [Crosswalk-help] bluetooth plugin -- cordova -- HTC dmobile

@Wanming, could you please help to verify it, file a bug if it can’t work with 
crosswalk plugin.

Thanks,
Junwei.
From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Dinesh 
Guleria
Sent: Thursday, December 10, 2015 12:25 AM
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [Crosswalk-help] bluetooth plugin -- cordova -- HTC dmobile


Can someone please suggest .. right Bluetooth plugin to use .??

Regards,
Dinesh
On Dec 9, 2015 3:06 PM, "Dinesh Guleria" 
<[email protected]<mailto:[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]<mailto:[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]<mailto:[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]<mailto:[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

Reply via email to