[android-kernel] Re: Best way to get data from /proc to Dalvik app

2009-04-04 Thread Dianne Hackborn
Each application runs in its own process, with its own Dalvik VM. You an use the normal Java file APIs to read entries under /proc, and can get the pid of your application's process with android.os.Process.myPid(). On Sat, Apr 4, 2009 at 11:09 PM, kmatzen wrote: > > Right now I'm working on a c

[android-kernel] Best way to get data from /proc to Dalvik app

2009-04-04 Thread kmatzen
Right now I'm working on a class project where I am collecting data to profile a user in the kernel. I've modified drivers/char/keyboard.c to record data and provide a /proc entry to retrieve it. I would like to be able to make a front end app that will be used to view this data and tweak settin