Kivy and Bluetooth 4?

Skip to first unread message

Hermann Himmelbauer

unread,
Nov 30, 2013, 7:30:25 PM11/30/13
to kivy-...@googlegroups.com
Hi,
I'm a long time Python programmer and want to look a bit into Apps, so Kivy seems like a really good choice to me.

The first App I'd like to do is some interfacing with a Bluetooth 4 sensor, so my question is:

- Is it possible to access Bluetooth 4 devices from Kivy?
- Is this possible on Android, iOS and on a Linux desktop (my primary developement machine)?

I've seen some code for Bluetooth (probably Bluetooth 2), but I wonder if this library would also be compatible with Bluetooth 4? I heard that Bluetooth 4 is available only from Android 4.3 and up, so maybe there's some extra functionality needed in the Kivy code for that?

If it's not - is there a simple way to access some generic Android functionality, e.g. by doing the Bluetooth code in some other code and create some Kivy-Library or the like?

Any help would be appreciated!

Best Regards,
Hermann

Mathieu Virbel

unread,
Dec 1, 2013, 6:58:31 AM12/1/13
to kivy-...@googlegroups.com
Hi,

I don't know the specific about bluetooth 4, but if it's as easy as the
previous bluetooth API on android, it's easy to use it.

Have a look at one of my example:

https://gist.github.com/tito/7432757


:)

Le 01/12/2013 01:30, Hermann Himmelbauer a �crit :
> --
> You received this message because you are subscribed to the Google
> Groups "Kivy users support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to kivy-users+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

shyam kumarpp

unread,
Apr 2, 2014, 2:59:42 AM4/2/14
to kivy-...@googlegroups.com
Hi,
Is it possible for me to access all the Bluetooth Android API`s in Kivy ?

Mathieu Virbel

unread,
Apr 5, 2014, 5:55:54 PM4/5/14
to kivy-...@googlegroups.com
I don't know about "all" the bluetooth api. You can access to anything related to the API with pyjnius. The only things that pyjnius cannot do is to subclass an abstract class. (you can implement interface, that's all). For that you need to create your own java class and access it. I don't know if there is abstract class that you need to implement in the bluetooth api.

Good luck,

Mathieu


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages