how does “com.google.zxing.client.android.SCAN” work in android?

后端 未结 1 1141
梦谈多话
梦谈多话 2020-12-07 03:51

I developed a BarcodeScanner app with ZXING library. for that I downloaded the complete library and added it to my proj and called an Intent with URI:\"com.myproject.vinscan

1条回答
  •  太阳男子
    2020-12-07 04:10

    If you are accessing it via the intent, as com.google.zxing.client.android.SCAN it needs the Barcode Scanner application to be installed on the client. (Reference)

    If it isn't installed, it redirects to the website and prompts the user to download. So strictly speaking, the user will have to be connected to the internet atleast once, in order to download the Barcode Scanner application (if he doesn't already have it)


    Alternately

    If you were to add a reference to the ZXing core library, into your project, you will be able to access it without having to direct the user out, to download Barcode Scanner.

    0 讨论(0)
提交回复
热议问题