Android Question Android Device with Built In Scanner

Discussion in 'Android Questions' started by colboy, Jun 22, 2018.

  1. colboy

    colboy Member Licensed User

    I have a Android device with a built in barcode scanner, not a camera. In the documentation it mentions about using AIDL files. Am I able to use these in B4A to operate the scanner.

    Failing that I saw text relating to intents.

    Is the barcode scanner automatically broadcasting using an Intent and can I consume this without using an SDK?

    Thanks, Colin
     
  2. DonManfred

    DonManfred Expert Licensed User

    Maybe yes. Looks like.

    Check Intent Filters - Intercepting SMS messages in the background
    try to change then intentfilter to the one needed by the Scanner. "com.zkc.scancode"
    If a Intentfilter does not work (i guess it should) you also can try to use Broadcastreceiverlib and setup a BCR.
     
    Johan Schoeman and KMatle like this.
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