>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 <[email protected]> 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: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting > -- Regards, Deva www.bittoggler.com -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
