简体   繁体   中英

How to make a QR code scanner like in Paytm android app which was included recently?

I have already completed making such an app but I require the animation and the effects on the surface view as paytm has provided which is demonstrated in the image.

How can I make a start on the animations and the effects on the camera?

Paytm QR code scanner:

图片

Use GLSurface view over the Camera Screen (Surfaceview) where you can show any View. To show anything above camera preview Layer. Just Checkout the demo given at Google developer. This is Basic of you can implement Anything. You may find Library for Barcode Scan. But Internally they will be using the same.

https://developer.android.com/reference/android/opengl/GLSurfaceView.html https://developer.android.com/reference/android/opengl/GLSurfaceView.Renderer.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM