[android-kernel] Re: How to interface with device drivers in an apk

2015-09-10 Thread Ramesh rama
Are you able to Interact with JNI from Apk ? -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscr

Re: [android-kernel] How to interface with device drivers in an apk

2015-09-10 Thread Durgadoss Ramanathan
I believe you are on the right track. Did your HelloJNI work ? Also, JNI may be a preferred way; but not a must. You should be able to use JAVA APIs (BufferedReader & friends) from your app to interact with these files. Watch out for permission issues etc.. Thanks, Durga On Fri, Sep 11, 2015 at

[android-kernel] How to interface with device drivers in an apk

2015-09-10 Thread Shahin Ansari
Greetings- In order to learn more about the device drivers on the Android platform, I built an tutorial code and was able to interface with it from a user program. Here is the code I used for device driver: /* Example Minimal Character Device Driver */ #include static int __init hello_init(void

Re: [android-kernel] Re: Device Booting

2015-09-10 Thread Shree Kumar
Most likely that sensors will get initialized while the kernel is booting. This may not be true on all platforms, though. I believe some platforms have the ability to offload sensor processing to other processors on the same SoC. HTH -- Shree On 10-Sep-2015 9:26 pm, "Raul Piper" wrote: > Its a

[android-kernel] Re: Device Booting

2015-09-10 Thread Raul Piper
Its a sensor hub (firmware in the device flash)connected on i2c lines with SoC. On Sep 10, 2015 8:15 PM, "Glenn Kasten" wrote: > Not enough information for people to be able to answer. > Please say which exact peripheral and how it is attached. > > Device Booting > A peripheral attached