CodeAndQuestsEveryDay
CodeAndQuestsEveryDay copied to clipboard
Question: Did anyone here tried a standard java or C++ native android apk that access the cameras using android camera api? (no Unity!!)
I was thinking on try running a native android apk app which access the cameras on an android device using the standard android API.
But if someone here already tried, I would appreciate the feedback so I won't loose time coding an camera app and trying myself.
I looked in the issues here to see if I could find any info, but I didn't find anything, apart from some unity code to access camera, which doesn't work.
My test would be more basic... just a standard crude android java apk to show the image from the camera. (no unity!)
After trying java, I was thinking on go full native, with C++ android sdk. I did some native C++ coding for android before, but just for opengl.
anyone?
Good question.. Haven't thought of that.. I have tried hundreds of various Android APK's, it's been a hit or miss.. It might work.. please post.
I can't tell. I code some java plug-in in my past, but more small info access or experiment. What I can tell is that i have tried 5 asset on the Unity store that use native. But none of them was working on Quest. So I stopped trying months ago.
I also tried something that discourage me to try. I downloaded several webcam 2D classic android applications that I side-loaded on the Quest. And they did not grant me access to the camera(s).