Add support for setting Media Injection files using gmtool/Java API #66
-
I have a requirement to scan a QR code from an app, and to do so we currently have to save the QR to a .png file, set it using the Media Injection widget in the emulator toolbar, at which point the image appears by default when the camera is opened. We would like to be able to remove this manual step of using the Media Injection widget. Is it possible to do this either through: If this is currently already possible, my apologies, but I've looked through the documentation of both of these and nothing regarding setting the default image when the camera is opened programmatically. Thank you far in advance. We are truly finding Genymotion extremely useful to our current business needs. Cheers! Brandon |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Any feedback on this one? We'd like to get the ball rolling sooner than later. From my understanding you are a small team, so anything I can do on my side to move things along? |
Beta Was this translation helpful? Give feedback.
-
@agavignet I apologize for tagging directly, but there doesn't appear to be any movement on this topic or any other in this forum for that matter, so I picked a name. Is there somewhere else that I need to issue this request? We really enjoy your solution but if you don't have the manpower to address these requests we need to know so we can plan an alternative approach. |
Beta Was this translation helpful? Give feedback.
-
Hi @bhein-sherpa6, I'm truly sorry for the response delay, I did not catch the notification. Fortunately our support team pointed it to me. Regarding your need, it makes perfect sense to me, the team will think about a way to inject an image via cmd line, I'll let you know. Unfortunately for now I have no workaround for you :/ Adrien |
Beta Was this translation helpful? Give feedback.
-
Hi @bhein-sherpa6, Desktop 3.6 has been released, it does not cover entirely your need but it's going in the right direction, in this first iteration inputs camera for each device are persistent after a virtual device restart, so you can set and forget. Adrien |
Beta Was this translation helpful? Give feedback.
Hi @bhein-sherpa6,
I'm truly sorry for the response delay, I did not catch the notification. Fortunately our support team pointed it to me. Regarding your need, it makes perfect sense to me, the team will think about a way to inject an image via cmd line, I'll let you know. Unfortunately for now I have no workaround for you :/
Adrien