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 How do i scan for multiple BLE UUIDs? - ema01 (first post)    May 23, 2024   (2 reactions) .")
Else
ScanWithLeScanner
End If
End Sub
Private Sub Scan_Result (Result...)
Manager_DeviceFound(name, address, CreateMap(), rssi)
End Sub
Private Sub ScanWithLeScanner
Dim... B4A Library [class] Google Code Scanner - no permission, very simple to use, barcode scanning - Erel    Jul 18, 2024   (24 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... 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 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 Library 1D and 2D Barcode Scanner with ZXING - another Barcode Scanner that is 100% embedded in B4A - Johan Schoeman    Oct 6, 2024   (31 reactions)   tags: Core, BC, Zxing, barcode Sub b3_Click zx1.Visible = False zx1.stopScanner End Sub Sub zx1_scan_result (scantext... ("B4A scan format = " & scanformat) End Sub The library: ZxingBarcodeScanner Author... formats but it should scan the following types: BarcodeFormat.UPC_A BarcodeFormat.UPC_E... the following: 1. B4A project demonstrating the Barcode Scanner 2. B4A library files - copy them to your...: ZxingBarcodeScanner #VersionCode: 1 #VersionName: 'SupportedOrientations possible values... 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... Page: 1   2   3   4   5   6   7   |