how to implement a continues QR code scanning function?

Hi, guy, need your help.

I have searched everywhere for this continuous scanning QR code solution, and I couldn't find any.

the object:
1. scan QR codes continuously (the build-in scan function in FF does exit at each scan) ('mobile_scanner' is the lib I can use I think)
2. feed the scanned results to other functions or within the function
3. write the result to local SQLite table.

how can I accomplish this?

Can i use Custom Widget? or use Custom Action? or both?

Not sure if Custom Action with 'mobile_scanner' lib can invoke the camera and preview UI?

Please help. Thank you.

8 replies