B4A Question BLE Android 9 - Scanning stops when screen turned off - Jmu5667    Feb 28, 2019 .PERMISSION_ACCESS_COARSE_LOCATION) = False Then
Log("No location permission.")
Else
ScanWithLeScanner... Sub ScanWithLeScanner
Dim ScanSettingsStatic As JavaObject
ScanSettingsStatic.InitializeStatic... = Adapter.RunMethod("getBluetoothLeScanner", Null)
ScanCallback.InitializeNewInstance... = True
StartScan_le
End Sub
Sub Service_Destroy
StopScanWithLeScanner
Timer1... B4A Question BLE2 library - update? - Erel (first post)    Sep 5, 2023 =ScanWithLeScanner... B4A Question BLE custom ScanFilter device settings - Rick in North Carolina    Nov 13, 2018 ScanWithLeScanner
Dim ScanSettingsStatic As JavaObject
ScanSettingsStatic.InitializeStatic("android.bluetooth.le.ScanSettings")
Dim ScanSettingsBuilder As JavaObject
ScanSettingsBuilder.InitializeNewInstance("android.bluetooth.le.ScanSettings.Builder", Null)
'https... B4A Question [SOLVED] - Android 10 - Background GPS/Ble scans stop getting data after 1 hr - Jmu5667 (first post)    Jan 20, 2021   (3 reactions) Sub ScanWithLeScanner
Dim ScanSettingsStatic As JavaObject
ScanSettingsStatic....writelog($"svc_ble::ScanWithLeScanner, Filter=${aScanFilterJO.RunMethod("toString", Null... B4A Question BLE Android 8.1 and higher - Philip Prins (first post)    Jan 22, 2020 add a second filter :
Private Sub ScanWithLeScanner
Dim ScanSettingsStatic As JavaObject
ScanSettingsStatic.InitializeStatic("android.bluetooth.le.ScanSettings")
Dim ScanSettingsBuilder As JavaObject
ScanSettingsBuilder.InitializeNewInstance("android.bluetooth.le...
You are correct.
1. Using BluetoothLeScanner: https://www.b4x.com/android/forum/threads/ble... B4A Library [class] Google Code Scanner - no permission, very simple to use, barcode scanning - Erel    Apr 24, 2024   (22 reactions) .FORMAT_ALL_FORMATS) 'For better performance pass the specific formats needed.
Wait For (Scanner.Scan...This solution is based on ML Kit (https://developers.google.com/ml-kit/vision/barcode-scanning/code-scanner).
Instructions:
1. Open B4A Sdk Manager. Search for mlkit and install all items.
2. Also... B4A Question BLE scanSettings? - Erel (first post)    Jul 10, 2018   (6 reactions) ("No location permission.")
Else
ScanWithLeScanner
End If
End Sub
Private Sub...)
Manager_DeviceFound(name, address, CreateMap(), rssi)
End Sub
Private Sub ScanWithLeScanner... & ", " & AdvertisingData)
ConnectedName = Name
StopScanWithLeScanner...), ScanCallback))
End Sub
Private Sub StopScanWithLeScanner
Scanner.RunMethod("stopScan... B4A Question Force media scanner on deleted file - lymey    Jan 29, 2013 the media scanner to refresh Dim i As Intent i.Initialize("android.intent.action.MEDIA_SCANNER_SCAN_FILE", "file://" & File.Combine(filepath, filename)) Dim p As Phone p.SendBroadcastIntent(i) Bottom line question then: How do I make the media scanner rescan and display... the media scanner runs again....i.e when you switch the device off then on, then the image is correctly gone from the gallery/album. How can I force the media scanner to run and update the device gallery... B4A Library ZXingLib by icefairy333 - modified by Johan Schoeman (Scan QR Codes and other 1D/2D Barcodes) - Johan Schoeman    Nov 24, 2021   (36 reactions)   tags: Buildin, ZXingLib, Erel, Barcode on/off the torch when making use of the back camera scanner by means of the volume up/down buttons. Use the volume up/down buttons to toggle the torch on/off when the scanner is active. a. It retains... to the mask around the viewfinder of the scanner. Edit: Posting JohanIceFairyZxingWidthTextBitmap.zip that will allow you to also add a bitmap to the mask around the viewfinder of the scanner. Edit... the volume up/down buttons or just touch the screen while the scanner is active. Edit: attached file src... B4A Library [class] DocumentScanner based on Google ML Kit - Erel    Apr 17, 2024   (28 reactions) This class allows using ML Kit to scan documents: https://developers.google.com/ml-kit/vision/doc-scanner
152783
It requires some configuration:
1. Open B4A Sdk Manager. Search for mlkit and... Page: 1   2   3   4   5   6   7   |