PINE64
Android USB camera support - Android 7.0 - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Android USB camera support - Android 7.0 (/showthread.php?tid=2228)

Pages: 1 2 3


RE: Android USB camera support - Android 7.0 - ayufan - 09-21-2016

mikey0000: I'll test all of that when I get the accessories. Still waiting for them Smile


RE: Android USB camera support - Android 7.0 - mikey0000 - 09-21-2016

(09-21-2016, 06:33 AM)ayufan Wrote: mikey0000: I'll test all of that when I get the accessories. Still waiting for them Smile

Thanks Ayufan, but ya know you don't have to do everything ;-)  

All I was after is if the camera service is running, it should show in the logcat output. I am flashing the TV version tonight(8 hours from now) as I've been told by my significant other she prefers it to stock android.

Though I just seen its started in the init.rc file, its not present in the 5.1.1 build.


RE: Android USB camera support - Android 7.0 - ayufan - 09-21-2016

Probably. I do not put a lot of effort in 5.1.1, mostly looking into 7.0 Smile


RE: Android USB camera support - Android 7.0 - Project-XXX - 09-23-2016

mikey0000 -> The Android 7.0 Stock Camera App don't work with the cam out of the box, but I'm a real Noob, so how to run the commands you ask for, shall I run it from mu computer or direct on the Pine, and how to?


RE: Android USB camera support - Android 7.0 - mikey0000 - 09-23-2016

@project-xxx google is your friend. Run them from your computer, there are literally thousands of tutorials on how to setup adb, Also if you can use ethernet otherwise run adb over wireless on the pine.


RE: Android USB camera support - Android 7.0 - ayufan - 09-24-2016

mikey0000: I received camera, but I'm having hard time running it on Android.


RE: Android USB camera support - Android 7.0 - mikey0000 - 09-24-2016

(09-24-2016, 12:42 PM)ayufan Wrote: mikey0000: I received camera, but I'm having hard time running it on Android.

hmm, interesting. You talking about on Android TV? or Android stock? I can get my usb camera to display but it crashes on trying to take a picture. I haven't quite had a chance to investigate properly.

logcat?


RE: Android USB camera support - Android 7.0 - ayufan - 09-24-2016

I got one with CSI interface, not USB.


RE: Android USB camera support - Android 7.0 - mikey0000 - 09-24-2016

(09-24-2016, 02:55 PM)ayufan Wrote: I got one with CSI interface, not USB.

I'm aware, does it show up on dev/video0 ? The V4L2 driver for that camera should be working, since we are now loading it by default. It will still use the same V4L2 camera stuff in the device tree. If you use a generic android USB camera app does it work? As they usually just go straight to opening /dev/video0


RE: Android USB camera support - Android 7.0 - ayufan - 09-24-2016

Ok, CSI camera does work. I can also make make photos Smile