BarcodeScanner
A Jetpack compose Barcode scanner using the Google MLkit for Barcode Scanning
Install / Use
/learn @gideonrotich/BarcodeScannerREADME
- Create a new Android app
- Ask for permissions from the user to get location & use camera view.
- Grab the location of the user before allowing the user to interact with the app.
- Create a button and center it in the screen
- Clicking on this button should open up a camera view
- When you scan a barcode, you should get the value of the barcode back
- If the barcode is more than 10 characters long, show the following lottie animation in the middle of the screen: https://lottiefiles.com/65222-tick
- If the barcode is less than 10 characters long, show the following lottie animation in the middle of the screen: https://lottiefiles.com/34313-failure-error-icon
- Store all barcodes greater than 10 characters long, locally using Room DB. These barcodes should also be shown on a bottom sheet in the same activity as the camera view
Once you’re done, fork this GitHub repository and upload the code there. Share the link to the repository.
Note: You are free to use whatever libraries you want for this project
You will be judged on the following criteria:
- Your ability to clearly understand the instructions laid out in the assignment and ask questions to clear up any doubts
- Your ability to architect your code in a way that is scalable.
- The readability of your code. You can choose to emphasize the readability either through code style or documentation.
Related Skills
feishu-drive
338.7k|
things-mac
338.7kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
338.7kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
yu-ai-agent
1.9k编程导航 2025 年 AI 开发实战新项目,基于 Spring Boot 3 + Java 21 + Spring AI 构建 AI 恋爱大师应用和 ReAct 模式自主规划智能体YuManus,覆盖 AI 大模型接入、Spring AI 核心特性、Prompt 工程和优化、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、AI Agent 开发(Manas Java 实现)、Cursor AI 工具等核心知识。用一套教程将程序员必知必会的 AI 技术一网打尽,帮你成为 AI 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。
