Using a Barcode Scanner on an Android Virtual Device

android, barcode-scanner, emulation

Solution

You're asking how you install the Barcode Scanner application without Google Play on the virtual device?

Download the `.apk` file for the latest Barcode Scanner (v4.5.1 right now) from the project site.

Then you should be able to run `adb install BarcodeScanner-4.5.1apk` wherever you downloaded it, while the emulator is

Problem

Right now I'm trying to write an app that uses the barcode scanner. It works fine when I test it out on my tablet, prompting users to download the app if they don't have it, however the issue that I run into is that I currently don't have access to my tablet or other hardware to test it out. I am currently using an emulator that doesn't have a barcode scanner installed on it. Is there a way for me to download and install the barcode scanner on the emulator, or otherwise include something that will allow me to run the scanner from the emulator?

Original source