I now understand why there is no official bluetooth plugin.

I did not mean to make demands, I thought my original message was a written as a proposal or enhancement. Clearly I was wrong.

| Possibly worth noting is that "Bluetooth" is a really amorphous thing.
| ...
| Do you want BT-PAN? BT-DUN? BT-OBEX? BT-FTP? BT-SERIAL?
|     -- Josh Soref

| We try to conform to W3C standards, and there is no w3c Bluetooth API
|   -- Shazron

| I am extremely critical of adding new APIs when our existing APIs aren't getting the support and attention that they | need.
|   -- Joe Bowser

In my mind it seemed rather simple. Simply use the key classes for android BluetoothSocket and BluetoothServerSocket.

http://developer.android.com/guide/topics/connectivity/bluetooth.html

In my mind IOS would have some similar API.

But as Soref has informed me, that is not the case. As Shazron and Bowser have put it, it's a problem of project philosophy.

On 19/11/2014 3:07 PM, Joe Bowser wrote:
On Wed Nov 19 2014 at 11:57:34 AM Shazron <[email protected]> wrote:

Hi Inoa,
First off, please don't make demands, I mean it's just not polite,
especially if this is the first time you've posted here. There are various
reasons why we didn't create a Bluetooth plugin and it goes straight to
project philosophy. We try to conform to W3C standards, and there is no w3c
Bluetooth API (they are "working on it". still.). Barring that, we can
still propose one, and we have to work out compatibility with all the
platforms, and agree to an API.


There's also the fact that there's the whole "cease to exist" thing.  There
are numerous contributors who work on Bluetooth and BluetoothLE plugins for
various platforms.  I feel that the community provides better support for
third-party plugins than we do for the official plugins, and that the less
"official" plugins we maintain, the better off the project is as a whole.

As for the official plugins, it basically means that these plugins existed
when we donated the project to the ASF.  We will keep maintaining these
plugins until better alternatives exist either with it working directly in
the WebView (eg Android Geolocation), or with a third-party replacement
that has someone who really cares maintaining it.

I am extremely critical of adding new APIs when our existing APIs aren't
getting the support and attention that they need.  The first priority is
core, and making sure that developers have options for basic features such
as having a WebView that renders on the device they are targeting.


On Wed, Nov 19, 2014 at 11:34 AM, Inoa Koala <[email protected]> wrote:

Yes, https://github.com/randdusing/BluetoothLE is interesting.

But why is there no **official** bluetooth plugin for cordova that is
part
of the Apache Software Foundation?

I must write it? No one else has wanted to make an official bluetooth
plugin for cordova?

It puzzles me that "Apache Cordova is a platform for building native
mobile applications using HTML, CSS and JavaScript" and yet there is no
official bluetooth plugin.


On 19/11/2014 2:23 PM, Jesse wrote:

... because you haven't written it yet.
This one looks interesting: https://github.com/randdusing/BluetoothLE
I haven't used it though.

@purplecabbage
risingj.com

On Wed, Nov 19, 2014 at 11:02 AM, Inoa Koala <[email protected]>
wrote:
  Hello cordova developpers,
Why is there no official bluetooth plugin listed on
http://cordova.apache.org/ ?

Specifically, I wish to do Android to Android bluetooth communication.

Instead one needs to use 3rd party plugins. Maybe they work but they
are
not officially supported.

Why is there no official bluetooth plugin that does:
* IOS to IOS
* Android to Android
* IOS to other bluetooth device
* Android to other bluetooth device

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to