I am trying to acquire the very basic understandings of Android "development" and I need to use a static .jpg image as fake camera input in AVD Manager.
I've looked up for a solution but I can't find one that works, although I found this video on YouTube but it is simply a demonstration using v4l2loopback and not a tutorial : https://www.youtube.com/watch?v=E89XQXrA_t
Apps like Fake Camera on Google Play won't do the trick because I want to use it in whatever apps like Instagram which have an integrated camera app, and this seems like exactly what I need but I am unable to understand some of the commands written in the description of the video (pretty much everything after $sudo make install
)
Pardon my ignorance x) I feel like this is a dumb problem but I thought I would try asking anyway ;)
EDIT : I can use the VirtualScene feature which spawns a scene in which I can walk around when using the rear camera of the virtual device but the result is unsatisfying, I have to crop the images and it also reduces the quality.