liuzhidejll at April 9th, 2012 04:22 — #1
Is there anything that I need to do when AppDelegate::applicationDidEnterBackground() and AppDelegate::applicationWillEnterForeground() is called ?
I tried to remove the orignal animation and loaded it again but it crashed!
So if anyone has occured with these problem or has any idea ,please tell me.Thanks!
I think I need to do sth. when onPause and onResume; I tried it. Every interrupt will cause the animate draws wrong pic!
liuzhidejll at April 9th, 2012 05:26 — #2
liuzhidejll at April 10th, 2012 06:54 — #3
I sovle it. On android phone ,you should avoid using pvr.ccz file as image. I use normal png pic and it works fine. pvr.ccz may work fine on iphone and other phone using pvr graphic card.So that’s may be the reason why the official testes don’t use pvr.ccz in the demo.
weeds at April 12th, 2012 22:15 — #4
PVR texture compression is a proprietary texture compression format, only supported by PowerVR chips (Motorola and some Samsung Phones fore example)
It won’t work on Tegra 2 or Adreno devices (HTC, Sony Ericsson phones, many tablets).
You might still be able to use the compressed files. Just check if the appropriate OpenGL extension is available.
Compressed textures will save you quite some memory (video memory as well as memory bandwith)
See http://developer.android.com/guide/topics/graphics/opengl.html\#textures for a discussion on texture compression on Android.