I am developing cocos2dx android game, which makes server connection and gets data from the server. The Same cocos2d-x code works fine on iPod,
But I have to call system.gc(); in the render loop for Android. Then only it gets all data in Android 4.0 device (Galaxy s II), for android 2.3.4 (Sony Ericsson NeoV) the rate to call System.gc() is once per second.
Can anyone tell me what could be the problem ???