ioctl works in the NDK, but Android SDK applications are by design unable 
to acquire permission to do most of what a "driver" would probably need to. 
 Android driver-level programming belongs in the discussion of making 
builds for custom hardware, which would be found on android-porting rather 
than here or on the ndk group.

On Tuesday, March 27, 2012 12:05:39 AM UTC-4, GSelvaraj wrote:
>
> A) I am writing an eMMC driver in Linux to access the IOCTL from 
> "Linux" application. It is working. 
>
> B) I am writing an eMMC driver in Linux to access the IOCTL from "JNI" 
> application. It is failed with error code 13(Permission denied). 
>
> 1) Where to set the permission in android application? 
>
> 2) Is it possible to access IOCTL from JNI Application? 
>
> 3) Is there any settings in Android.mk file for permission (in JNI)? 
>
> Regards, 
>  GSK

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to