Hi Sambhav ,

You will need to set the right permissions for /dev/video1 in init.rc
file to access it.

Best regards,
 Mikkel


On May 11, 8:37 am, Sambhav <isamb...@gmail.com> wrote:
> Hi All,
>
> I have a JavaClass which calls native C function via JNI.
> Can these C function access the device drivers directly ?
>
> Ex. I want to access /dev/video1 from the C function called via JNI. (This
> failed)
> However in native C application I was able to access /dev/video1
>
> Regards,
> sambhav
>
> --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website:http://groups.google.com/group/android-porting

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to