EloiStree / CodeAndQuestsEveryDay

Regular research on the Quest for developers.
http://codeandquests.page.link/discord
32 stars 3 forks source link

Question: Did anyone here tried a standard java or C++ native android apk that access the cameras using android camera api? (no Unity!!) #421

Open hradec opened 4 years ago

hradec commented 4 years ago

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?

WilsonBradley commented 4 years ago

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.

EloiStree commented 4 years ago

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).