dimanche 17 mai 2015

android scan barcodes/qrcodes sequentially without going back to activity

I am using Zxing library in my android application. Imported the Zxing as a library to my project. I can scan barcodes and qrcodes via intent like below.

Intent intent = new Intent("com.google.zxing.client.android.SCAN");
startActivityForResult(intent, 0);

What my requirement is to scan multiple barcodes or qrcodes without going back every time to the previous activity. I tried almost all suggested ways mentioned in the stack and nothing worked for me. some posts says that it could not be possible via intent. Is there any way to achieve this.

I am using latest version of gradle and android studio

Aucun commentaire:

Enregistrer un commentaire