On Tue, Jun 8, 2010 at 4:54 AM, manjunath <[email protected]> wrote:
> Yes, I'm able to run several openGL applications which are i believe > 2D applications. The 'GlobalTime' and 'compass' apps are 3D. As I > said they call eglCreateWindowSurface API which is failing with the > above said error which is saying it couldn't allocate memory > ( EGL_BAD_ALLOC). > If the problem is things you have from the vendor, you should talk with the vendor about getting versions that work. Normal applications can use OpenGL without being root; they should write their apps to work correctly that way. On the same lines is it possible for me to make my application ( 3D ) > to interact with surface flinger. > No. The boot animation is not an app. It is run during low-level boot and thus directly works with the surface flinger, something regular apps can't do. I mean... you have your device, you built the software, you probably have a non-secure build. So you can use "adb shell" to get a shell on it, "su" to get root, and run what you want. That isn't running a normal Android application, though. Android applications can't run as root. Period. -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
