Comments (5)
I will close this issue and create a separate feature-request ticket for a fragment based implementation.
If you heavily rely on the QR scanning feature it's maybe worth to build the CameraX and ML Kit integration by yourself. This library should be an easy starting point. Anyway thanks for your input!
from quickie.
Hi @dmalukov
sorry I misunderstood your question in my previous comment.
You basically like to have an option to validate the content of a result right inside the scanner activity, right? I know that it's not ideal to check the result after the scanner activity finished.
I am not really sure what the best option would be, since we can't reference or pass in logic when launching an activity.
I thought about offering a regex validator. Do you think this would be sufficient?
from quickie.
@G00fY2
Unfortunately no, for we have to make validation via network request.
from quickie.
@dmalukov
Hm, then I see no way to achieve this with the current activity approach.
My goal is to someday create a fragment based implementation. So you could include the scanner inside your own activity.
from quickie.
A fragment might solve our problem indeed.
Anyway, thanks for your help.
from quickie.
Related Issues (20)
- Facing issue on get code HOT 1
- toString() - Am I missing something HOT 1
- Barcode Scanning is not working on Devices Managed by MDM-Android HOT 1
- Unable to read encrypted qr codes HOT 1
- Google code scanner buggy HOT 1
- [Feature Request] Tap to focus feature
- [Feature Request] Configure to Keep the Screen On HOT 1
- FOSS version HOT 7
- Crash on Android 9.1 smart watch HOT 7
- Minimum SDK version - 31 HOT 2
- How to get wifi ssid or another information? HOT 1
- Dependency Dashboard
- [Feature Request] Scan from file HOT 5
- Adaptation for easy implementation in Jetpack Compose HOT 4
- Request removing `<uses-feature android:name="android.hardware.camera"/>` HOT 2
- internal QROverlayView? HOT 4
- Crash on certain devices HOT 2
- Failed to open the camera in mode: "Do Not Disturb" HOT 1
- Occasional crash on Pixel 5 Android 13 HOT 5
- java.util.concurrent.ExecutionException when initial camera HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickie.