[android-developers] Re: How to implement crossfade texture effect in Opengl?

2014-12-26 Thread Nobu Games
Never tried that myself but from OpenGL ES 2.x you could assign two textures to a fragment shader that gradually achieves that blending effect over time. The simplest blending effect would be linear, which has the basic formula: P_mix = P_a * (1 - t) + P_b * t where... - P_a would be the

[android-developers] DexFile.loadClass signal 11 (Address not mapped to object)at address 0xdeadd00d [at libdvm.so:0x461e0 (dvmAbort+0x27)] occasionally

2014-12-26 Thread shiqun.shi
Hello, In my app, I use DexFile.loadClass to load class from a apk file,but on some android os 2.3.x devices, dexFile.loadClass signal 11 (Address not mapped to object)at address 0xdeadd00d [at libdvm.so:0x461e0 (dvmAbort+0x27)] occasionally。 detail info as below, java.lang.Error: signal