>Do I need to use the NDK for this job?
I guess so. You need a JNI, and can access sysfs from  java via the jni
interface. Jave => JNI native => sysfs files

exact same discussion for another sysfs handling =>
http://groups.google.com/group/android-porting/browse_thread/thread/3c975ead70fe1bfe/

On Tue, Dec 28, 2010 at 11:36 PM, A Curtis <ajcurti...@gmail.com> wrote:

> Hello,
>
> I have exported some GPIOs to sysfs and now I want to manipulate them
> from Java.
>
> How do I do this?
>
> new FileOutputStream("/sys/devices/virtual/gpio/gpio128/value");  //
> throws an error
>
> Do I need to use the NDK for this job?
>
> TIA
>
> --
> unsubscribe: 
> android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-porting
>



-- 
Regards,
Deva
www.bittoggler.com

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

Reply via email to