The first difference between other smartphones, I get this error on Log...
(SecurityException) java.lang.SecurityException: Need android.permission.BLUETOOTH_SCAN permission for android.content.AttributionSource@edf38225: GattService registerScanner
So, I add the permission on manifiest and by rutine..
rp.CheckAndRequest("android.permission.BLUETOOTH_SCAN")
Wait For B4XPage_PermissionResult (Permission As String, Result As Boolean)
If Result = False Then
ToastMessageShow("No permission", True)
Return
End If
So, now I have the permission, no error.. but I can't see any device found in the sub "Manager_DeviceFound".
On high-end devices it seems to work fine, but on many it doesn't, it never goes into this "Manager_DeviceFound".