bluetooth

  1. F

    Android Question [SOLVED] Runtime BLUETOOTH_SCAN permission not working - android 12 device, targetsdk 31, android33 sdk

    Hello, I followed the instructions here to try to make the bluetooth scan work on Android 12 device with app targeted for API level 31. https://www.b4x.com/android/forum/threads/b4xpages-bluetooth-chat-example.119014/ However, even though the permission is added in the manifest and...
  2. Humberto01

    Spanish Diferencias acerca de listview y CustomListview

    Hola y M. Buenos días para todos. Me llamo Humberto soy de Argentina, Entre Ríos, Gualeguaychú. Quería aprovechar esta consulta para presentarme y aprender a usar este sitio (además del Foro de consulta). Vengo de usar Android Studio y por accidente me topé con B4a el que comencé a mirar al...
  3. moty22

    Share My Creation OBD2 Bluetooth

    App uses OBD2 Bluetooth plug, it has ELM327 V2.1 IC that connects to all OBDII protocols. The app reads common PIDs, DTC (faults) and VID. To add PID you can use https://en.wikipedia.org/wiki/OBD-II_PIDs#Bitwise_encoded_PIDs Code based on bluetooth example. The USB diagnostic plug...
  4. Abdull Cadre

    Android Question ESC POS Print Service

    Hello to all forum members. I've been seeing some topics here about ESC/ POS. example 1: Bluetooth ESC/POS Printer Class by agraham example 2: SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE) But none of them can solve my problem, because they don't print a pdf, just line of text, images, qr and...
  5. Star-Dust

    B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE)

    This library allows you to print with thermal printers compatible with the ESC POS language in 4 different communication channels (USB, Bluetooth SPP, BLE, LAN) you can download the ble3 library from here The DEMO version prints one minute every 2. The full version of the library will be issued...
  6. Star-Dust

    B4J Library [B4X] SD Zebra (printer)

    This library is the result of my first approach with Zebra printers. I started by connecting via LAN (or Wi-Fi) ZPL language. I plan to connect via BLE and perhaps also via USB. Have a good time. Preview only works if you have an internet connection For ESC/POS Printer see here The Demo version...
  7. I

    Android Question Android and PC Communication over Bluetooth

    Can I have Sample Code for the communication between Mobile and PC over bluetooth. Also is it possible to connect multiple mobile devices with one PC Bluetooth app. If possible plese provide sample code.
  8. yo3ggx

    Android Question Using two audio channels at the same time (Bluetooth and USB audio)

    As I'm aware, in Android, when you connect an USB audio device this automatically replace internal audio device, but when a Bluetooth audio headset is connected, you can select between Bluetooth, Speaker or earpiece (as in the Phone app). It is possible to simultaneously use in an application...
  9. B

    Android Question Receiver service starting intent bluetooth extras problem

    Hi all, in my project there's a service module that listen for the ACTION_ACL_DISCONNECTED event. When it occurs, I want to analyze the intent's extras available in the Service_Start Sub. In the Android developer page they said that the Broadcast Action "Always contains the extra fields...
  10. b4x_android

    Bug? Failed to get gattService. the BluetoothGatt return with no services

    Hi I could not get the BT services list the code line 65 return null Because code line 57 return BluetoothGatt with services size 0 I know for sure that the BT Device I am working with is working properly This is my first task in a new job and it is very important for me to solve it as...
  11. P

    German Bluetooth Möglichkeiten

    Hallo, da ich mit Bluetooth bisher keinerlei Erfahrungen habe wäre es schön etwas über die Möglichkeiten zu erfahren und ob es für meine Zwecke überhaupt Sinn macht sich da einzuarbeiten. Bisher funktioniert der Datenaustausch zwischen meinem Windowsrechner und der Androidapp über WLAN und ein...
  12. Guardian17

    Android Question Android App Receiving Data from Arduino

    Moved to the B4R Questions
  13. Pedro Caldeira

    Android Question EscPOSPRinter and Android 1

    Hello, I need help, if possible. I have a B4A App that+ uses @agraham EscPosPrinter class to print to a BT Printer (40 columns). It works flawlessly, except in Android 11. It prints the first ticket and stop ate the middle of the second one Attached I send you an example from a Android 8 tablet...
  14. Pedro Caldeira

    Android Question EscPosPrinter and Android 11

    Hello All, My App prints (EscPOS Bluetooth printer) without errors or issues in Android 8 thru 10, but in Android 11 (Samsung Tab Active3) it can't print the whole ticket It always stop half way, even with resets between the prints, and after it misprints, I cannot print anything else. I have to...
  15. P

    Android Question 3 channel Bluetooth "oscilloscope" TOO slow

    Hi everyone - I am very new to B4A (competent in VB) and am struggling to implement a 3 channel scope (to display ECGs) from a Buetooth data stream from an Arduino with HC-06 and an Analog front end. I know my Arduino side it working well and sends each channel as text with a header "P1 " then...
  16. M

    iOS Question Forward notification via bluetooth

    Hi everyone, I've a question. There is a way to forward notifications to an bluetooth device, like the 10$ smartwatch does? Thanks
  17. Zlgo

    Android Example Simple BlueTooth printing

    First, someone post nice simple demo for bluetooth printing(BTPrint.zip) but unfortunately I can't find this again for giving credits, but who ever is , thanks. Now, here is also demo based on this example mention in beginning but made decoration with necessary buttons and fields for better...
  18. D

    Android Example [B4X] [B4XPages] Bluetooth scanner in SPP mode

    Introduction I've been developing mobile application for over 25 years (Telxon, Symbol, Windows Mobile, Xamarin, CF.net). Up until now the barcode scanners were integrated into the mobile device. I decided to see if I could develop an architecture as robust and flexible as I did on integrated...
  19. swChef

    Android Example B4XPages vs Activities, Bluetooth Example

    In the thread BT Pages Example, a new version of the BT example was created using Pages. Since I'm just looking at Pages for the first time, I popped the new and old versions into a code comparison utility (old version is linked in the new example post). However I found that, while with reason...
  20. A

    iOS Question Bluetooth ESC/POS Printer Class

    Hello How can I use the code of this link in b4i? is it possible?
Top