Parsing data retrieved from registerForActivityResult via background service

Viewed 11

I'm trying to build a camera application using ZXing library, everything is up and running (overlay is displaying on the screen while the application is minimized)

My problem is - activity result only gets called once the application is back from minimized state. How could I get the data without bringing back the app from minimized state? As far as I know calling registerForActivityResult from a service is not possible.

I have a background service already running, which could be somehow used to parse the data

0 Answers
Related