Android Question Error bluetooth printing Android 13

Juanll2003uy

Member
Licensed User
Longtime User
Hi, i have an B4A app which print in a bluetooth printer.
It worked fine until Android 13, now it doesnt find the printer, but the printer is vinculated normally by bluetooth,
in older versions it works fine, is in Android 13 the problem.

The problem is that PairedDevices.Size return 0, but the phone have three vinculated devices in the list

StarPrinter:
    Dim PairedDevices As Map
    Dim L As List
    Dim Res As Int

    ToastMessageShow("Imprimiendo.....",True)

    PairedDevices.Initialize

    Try
        PairedDevices = cmp20.GetPairedDevices
    Catch
        Msgbox("Getting Paired Devices","Printer Error")
        printer.Close
        cmp20.Disconnect
    End Try

    If PairedDevices.Size = 0 Then
        Msgbox("Error Connecting to Printer - Printer Not Found","")
        Return
    End If

Someone could help me?

Thanks
 
Top