the following code is working perfectly on IOS showing the sprite correctly when resuming
while on Android the sprite is correctly displayed on initial launch ; but when resuming app a ‘blinking’ white area
is showing at sprite location instead of sprite (FPS area is also blinking when application resumes)
//_batcNode being defined in helloworld.h private with following code in init method on generated hellowolrd project
_batchNode = CCSpriteBatchNode::batchNodeWithFile(“Sprites.pvr.ccz”,10) ;
CCSprite* sprite = CCSprite::spriteWithSpriteFrameName ;
CCSize winSize = CCDirector::sharedDirector()
>getWinSize ;>setPosition(ccp(winSize.width * 0.1 , winSize.height * 0.5) ) ;
problem both occurs on device or emulator.
NDK used : android-ndk-r7
Replacing CCSPriteBatchNode by a standard Sprite:initWithFile fixes the above problem.
Is it a bug or something wrong in above code ?