B4A Tutorial [B4XPages] Bluetooth Chat Example - Erel    Jun 22, 2023   (24 reactions) 95662 Updated implementation, based on B4XPages of https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content. The code is much simpler compared to... with targetSdkVersion 33. Note the new method to enable Bluetooth if needed. - Example updated....permission.ACCESS_FINE_LOCATION) AddPermission(android.permission.BLUETOOTH_ADVERTISE) AddPermission(android.permission.BLUETOOTH_CONNECT) AddPermission(android.permission.BLUETOOTH_SCAN) These are runtime... B4A Tutorial Android Bluetooth / BluetoothAdmin Tutorial - Erel    Aug 31, 2020   (17 reactions) -bluetooth-chat-example.119014/#content
Tutorial was rewritten in April 2018.
We will create a chat example between two Android devices.
All the non-UI code is implemented in a class named BluetoothManager... B4R Tutorial HC 05 Classic Bluetooth - Erel    Apr 8, 2019   (10 reactions) https://www.b4x.com/basic4android/images/SS-2016-05-08_17.39.25.jpg https://www.b4x.com/basic4android/images/SS-2016-05-08_17.39.57.png In this example we will connect an Android device to an Arduino using class Bluetooth with the HC 05 module. Working with this module is simple. Connect the power and gnd pins and connect the HC05 RX pin to an Arduino TX pin and the HC05 TX pin to an Arduino...://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-in-slave-mode/ You can use... B4A Tutorial Walkie Talkie - Audio streaming over Wifi or Bluetooth - Erel    Jun 30, 2013   (21 reactions)   tags: Walkie Talkie, B4A This example implements a simple "walkie talkie". http://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Wikipedia_images_011.jpg/270px-Wikipedia_images_011.jpg (src: wikipedia) http://www.b4x.com/basic4android/images/SS-2013-06-30_16.26.21.png Once the two devices are connected, either over Bluetooth or over the local network, you can press on the activity and talk. The audio captured from the microphone will be sent to the other device and played. Note that this is a half... B4R Tutorial Connecting to Arduino with BLE (Bluetooth Low Energy) - Erel    Jan 17, 2018   (7 reactions)   tags: BT, LE, Ble, Example In the previous example we broadcasted a single byte as part of the advertising data: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/ In this example the Android or iOS device (only one at a time) will connect to the BLE peripheral and read and write data to the Arduino board. The phone controls the intensity of the two leds: https://www.b4x.com/basi... B4J Tutorial [IoT][RPi] - Raspberry Pi Bluetooth Tutorial - Erel    Nov 10, 2015   (7 reactions) Using the new jBluetooth library it is possible to communicate with Raspberry Pi devices over Bluetooth.
Bluetooth can be very useful in places where there is no local network.
The configuration... B4A Code Snippet Wangpos Printer SDK not using bluetooth - jbaillie2461    Sep 19, 2022 Hi guys I though I would publish this if anyone is ever stuck with a wangpos printer add this your main Public Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = GetBA ion = jo.CreateEvent("anywheresoftware.b4a.IOnActivityResult", "ion", Null) jo.RunMethod("startActivityForResult", Array As Object(ion, i)) End Sub Sub GetBA As Object D... B4A Tutorial Android Wear Install App via Bluetooth - Alexander Stolte    Nov 5, 2018   (6 reactions) Hello, i see here, that many people have problems to install there wear app to his watches. I list the steps that are needed so that you can quickly look up when you need it. Phone: -install the "Google Wear" App for Android -connect your watch with the app -go to "Advance Settings" -enable "Debugging over Bluetooth" Wear: -go to Settings -> System -> Info..." App under "Debugging over Bluetooth" Host: connected Target: connected So, now we... B4i Tutorial BLE (Bluetooth Low Energy) Peripheral - Erel    May 4, 2016 as a peripheral device allows other Android and iOS devices to directly connect to it. Unlike class Bluetooth....STATE_POWERED_ON Then hd.ToastMessageShow("Bluetooth is not enabled", True) Else... B4R Tutorial Controlling DSTV decoder from Android device via Nano and HC-05 bluetooth module - Johan Schoeman    Dec 26, 2020   (11 reactions) Just for the fun of it. Can now control my Digital Satellite TV decoder from anywhere in my house.... Nano connected to the HC-05 module B4A app connects to the HC-05 and sends the B4A "button codes" to the HC-05 HC-05 sends the "button codes" to the Nano Nano fires the applicable IR codes to the DSTV decoder via an IR led The "Hex Codes" are stored in the program mem... Page: 1   2   3   4   |