add permission in init.rc "chmod 0777 /dev/video0"
On Tue, May 11, 2010 at 12:19 PM, Sambhav <isamb...@gmail.com> wrote: > How and where should I give permissions ? > > On Tue, May 11, 2010 at 12:09 PM, Ranganath s <rangana...@gmail.com>wrote: > >> I guess yo need to give some permissions.. >> >> -Ranganath.S >> >> >> >> On Tue, May 11, 2010 at 12:07 PM, 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<android-porting%2bunsubscr...@googlegroups.com> >>> website: http://groups.google.com/group/android-porting >>> >> >> >> >> -- >> I blog at http://ranganaths.wordpress.com >> > > -- > unsubscribe: > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > website: http://groups.google.com/group/android-porting > -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting