I think this would requiring rooting the phone. How can I spoof the native camera on an android? When an app wants to use the camera, I want to replace the native camera input with a photo or video file, and the app to interpret that as a live camera feed.
I tried on emulators and the lag is unusable but if you know of an emulator that works for this let me know.
I read somewhere about rooting into action_image_capture is this what i need to learn?