Hi Peter, It depends on how the device driver create the interface to the userspace.
For example of LED, if you use leds framework in the kernel there will be sysfs interface that you can open and write directly from java using the standard file operation. If it's using character device interface I'm not sure if java provide character device operation. Sent from Yet Another Android Phone. On Aug 6, 2010 3:18 AM, "Peter Liu" <[email protected]> wrote: Hi everybody, I am new to Android. I know that application programs can control a device by open / read / write device driver file in C code. I want to know how to control a device in java code under dalvik virtual machine in Android system. Where could i find information about Android device development? Thanks. -- unsubscribe: [email protected]<android-kernel%[email protected]> website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
