I guess yo need to give some permissions..
-Ranganath.S
On Tue, May 11, 2010 at 12:07 PM, Sambhav 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
add permission in init.rc
"chmod 0777 /dev/video0"
On Tue, May 11, 2010 at 12:19 PM, Sambhav wrote:
> How and where should I give permissions ?
>
> On Tue, May 11, 2010 at 12:09 PM, Ranganath s wrote:
>
>> I guess yo need to give some permissions..
>>
>> -Ranganath.S
>>
>>
>>
>> On Tue, May
How and where should I give permissions ?
On Tue, May 11, 2010 at 12:09 PM, Ranganath s wrote:
> I guess yo need to give some permissions..
>
> -Ranganath.S
>
>
> On Tue, May 11, 2010 at 12:07 PM, Sambhav wrote:
>
>> Hi All,
>>
>> I have a JavaClass which calls native C function via JNI.
>>
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
--
un