If app A in Android uses camera, can I create an app B that applies custom filter to app A so that app A gets the video stream from app B as if the stream is from the camera directly? In other words, I want to pipe the camera input.
Camera ========================================> app A uses camera
app B does something in the middle
If this is possible, can someone point me to the right library for doing it?
===========================================================
@CommonsWare mentioned that I should create a ROM. Does anyone know which part of the android kernel should I look into?
Assuming I will start from CyanogenMod https://github.com/CyanogenMod