Blog Infos
Author
Published
Topics
Published

Add the dependency of a code scanner in the build.gradle
Add meta-data in the manifest file so that Google Play services automatically download the scanner module to the device while your app is installed from the Play Store. In case you do not add it to the meta-data then it will download the scanner module the first time it is used.

Job Offers

Job Offers

There are currently no vacancies.

OUR VIDEO RECOMMENDATION

, ,

Migrating to Jetpack Compose – an interop love story

Most of you are familiar with Jetpack Compose and its benefits. If you’re able to start anew and create a Compose-only app, you’re on the right track. But this talk might not be for you…
Watch Video

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engineer for Jetpack Compose
Google

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engin ...
Google

Migrating to Jetpack Compose - an interop love story

Simona Milanovic
Android DevRel Engineer f ...
Google

Jobs

Finally, create the scanner object by specifying the context and option (or just context) to GmsBarcodeScanning and thereafter use this object to scan code like following

This article was previously published on proandroiddev.com

YOU MAY BE INTERESTED IN

YOU MAY BE INTERESTED IN

blog
The purpose of this article is to explain how we can integrate code-scanning functionality…
READ MORE

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.

Menu