Code difference at driver level ....................

by Sagar Gajjar » Fri, 06 Nov 2009 06:47:06 GMT

Sponsored Links
       Is there any driver level difference between android-1.5 and


Other Threads

1. Get active context dynamically of an application

There is no such concept as an active context.  You need to explicitly pass
the context you want to use to where you want it used.

Dianne Hackborn
Android framework engineer

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.


2. How to use hardware acceleration in OpenGL ES

i draw a cube with two sides textured(320*430 png) and let it rotate
between the two sides, but it's sad to get a 16 FPS on emulator and 9
FPS on the real phone. i don't known whether i have used the hardware
acceleration on my phone.
  so i tried many parameters in OpenGLES ,finally i found i can set a
value in my CubeView(inherit from GLSurfaceView )'s constructor ,

 public CubeView(Context context)

   this.getHolder().setType(SurfaceHolder.SURFACE_TYPE_HARDWARE);  //
here is the crucial line

   mRender = new CubeRender(this);

setType with the value SURFACE_TYPE_HARDWARE  can improve the OpenGL
rendering speed, and i get a rate of  14FPS on real phone, but has no
effect on emulator( i guess emulator didn't use hardware to render)

but the 14FPS also is  not  enough for me , 18 -- 20 may be
acceptable . the qualcomm demo neocore can render  a complex arena on
25-27 FPS in my phone.

so what's the problem with me, is there another ways to use the
hardware acceleration in OpenGL ES .

my phone has a cell of qualcomm MSM7201A with a hardware acceleration.

3. mpeg2 parser

4. How to suggest guide updates

5. name of the event which gets trigger when i push/pull the file in FS

6. onKeyboardActionListener vs onKeylistener

7. If you wondered why alternative app markets exist...