[android-kernel] Video decoding on Galaxy Nexus running Android 4.02

2012-02-14 Thread Bateman
Hi, I have written a simple app that uses the videoview class to display video. It plays MP4 files without any problems. It uses the hardware accelerator (IVA-HD) on omap4 in galaxy nexus to decode the video. However, I want to use software decoding instead of the hardware accelerator. Is having yo

[android-kernel] Re: Detecting current foreground application

2011-12-03 Thread Bateman
probably good enough? > > As for using the kernel, as far as I know there is not easy way of > getting context switch information without enabling some debug flags > for the kernel, which would probably be a bad idea because of > performance and code size increase. >

[android-kernel] Detecting current foreground application

2011-11-15 Thread Bateman
Hi, I want to detect the currently executing foreground app. If the foreground app is say "email" then perform some tasks. I tried doing this from within the android frame work. However, the only way to do it is using Activity Manager and checking the running tasks periodically from a background se

[android-kernel] Re: Real time kernel support in Android

2009-10-19 Thread Bateman
Real Time is NOT about making things "quicker". Its about reliability. Its about providing guarantees that certain events will happen within a particular time deadline no matter how the rest of the system is behaving. For example, lets say there is a music application playing..which in itself is a