Is it possible to create universal Bada 1.2-2.0 project and platform-dependent code?
There are some difficulties with Samsung market. If you give them Bada 1.2 build (WVGA device group), they check it on Bada 1.2 and Bada 2.0 devices. But sometimes build which is created on Bada 1.2.1 IDE with sdk1.0 project crashes on Bada 2.0 devices. Or works very slow (in Bada 1.2 device all is ok). And build which is created on Bada 2.0.4 IDE with sdk2.0 project can’t even start on Bada 2.0 devices.
When I build samsung OpenGL 1.1 example GlesCube11 on Bada 2.0.4 IDE, it successfully runs on Bada 2.0 devices and Bada 1.2 devices (I changed only manifest). In cocos2d project I also changed manifest, but no result. I begin to compare cocos2dx sdk1.0 and sdk2.0 projects and find:
- In sdk2.0 linked pthread.so which is absent in sdk1.0 project.
- In sdk2.0 there is CC_BADA_2_0 define and a lot of #ifdef CC_BADA_2_0 in Bada platform-dependent code.
May be there are some other differences. So is it possible to define Bada OS version in runtime and have the same code/project for both platforms? Because now there is very low chance to upload Cocos2dx game for both Bada 1.2 and Bada 2.0 OS in Samsung market because of this differences in cococs2dx.
As for our company, we successfully uploaded cocos2dx game, created on Bada 1.2.1 IDE with sdk1.0 (WVGA group), but it works very slow on Wave 3 with Bada 2.0. We tried to upload also second game, but Bada 1.2.1 IDE sdk1.0 build was rejected because of problems on Wave 3 device with Bada 2.0