1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question UsbManager RequestPermission not maintain after reboot

Discussion in 'Android Questions' started by kiki78, Aug 29, 2019.

  1. kiki78

    kiki78 Active Member Licensed User

    Hi,

    I use Android USB Host library since lot of year, but I have now problem with USB Permission.
    UsbManager RequestPermission seems to work and display dialog, and allow permission.
    But even if check "Use by default for this USB device", this acceptance is request each time I restart tablet.
    Previously I receive this request only once at first run and after it is register for life.

    Some idea ?

    Regards,
     
  2. kiki78

    kiki78 Active Member Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

  4. kiki78

    kiki78 Active Member Licensed User

    Yes, this previously work since some years.
    Previously we use different tablet since Android 4.0 but there are not available now.
    We now try to use new tablet with Android 8.
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    It is not related to the Android version but rather to some devices not handling this properly.
     
  6. kiki78

    kiki78 Active Member Licensed User

    DonManfred and Erel like this.
  7. Erel

    Erel Administrator Staff Member Licensed User

    Good find!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice