Bluetooth LE component source code request

393 views
Skip to first unread message
Assigned to ewpa...@gmail.com by taifu...@gmail.com

Justin L

unread,
Aug 16, 2017, 6:31:16 AM8/16/17
to MIT App Inventor Forum
I am working on adding BLE capability on my custom components via extension. The first version of official BLE component can be found here:

But the BluetoothLE source code "BluetootLE-Source.zip" is not linked.

Since I need to work on previous version of AI2 source code, although there is a new version of BLE component (edu.mit.appinventor.ble.aix) available now, I still would like to look on the source code on the old BLE component (edu.mit.appinventor.BluetoothLE.aix). Could anyone tell how can I access the source code of the old BLE component, or even better, both old and new BLE components?

Thank you.
Justin

Nico Marikucza

unread,
Aug 18, 2017, 6:31:27 AM8/18/17
to MIT App Inventor Forum
Perhaps the App Inventor Java Bridge can help you?
It can convert App Inventor Projects to Java Projects.
Upload your project with the extension there and then convert it to Java.
Nico

Ghica

unread,
Aug 18, 2017, 6:59:03 AM8/18/17
to MIT App Inventor Forum
I do not think that will help you, because the extension is already in Java.
You could search for it in Github, where the app inventor sources are. But maybe it just is not available.
Cheers, Ghica.

Evan Patton

unread,
Aug 18, 2017, 9:13:17 AM8/18/17
to MIT App Inventor Forum
Hi Justin,

We have recently published the sources on GitHub. You can check out the extension/bluetoothle branch of that repository. As far as the older sources, they may have been abandoned. The closest you will find would probably be the version in this commit, but this already includes the permissions fix.

Evan

Justin L

unread,
Aug 19, 2017, 1:38:52 AM8/19/17
to MIT App Inventor Forum
Thanks Evan and all for your help. Publishing the sources on Github is a great decision!

Justin
Reply all
Reply to author
Forward
0 new messages