Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

barcode scanning in android emulator

Tags:

android

I'm trying to do barcode scanning using Android emulator. Could anyone please tell me what steps to follow to do a simple barcode scanning on the emulator?

Thank for any help,

like image 719
Manick Avatar asked Sep 05 '25 10:09

Manick


2 Answers

Yes, you can set the image of wall and table from virtual scene on emulator config.config android emulator

like image 189
Rafael Figueiredo Avatar answered Sep 07 '25 23:09

Rafael Figueiredo


In Android Studio,go to AVD Manager

  • Choose a device then Click "Edit this device" ->

  • Click Show Advanced Settings

  • At camera, select Front: Emulate, Back: VirtualScene.

  • Then Run App, Click ... - (icon More) at toolbar of device

  • Click icon camera

  • Click folder and choose image QR, then you can scale it

  • Close panel, an continue run app.

  • When you go to Scan QR Screen, please use ALT + QWEASD to move and controlThis location

    Then image will be scan

like image 20
Dom Hoàn Avatar answered Sep 08 '25 00:09

Dom Hoàn