Cocos 2d on android

by Ashwini » Thu, 03 Mar 2011 04:27:52 GMT


Sponsored Links
 Hi All,

I wanted to develop a game on android using cocos 2D engine.
I found two different libraries by different developers for cocos2d-
iphone library.
First is  http://code.google.com/p/cocos2d-android/ by ricardoquesada. 
The other one is  http://code.google.com/p/cocos2d-android-1/ by 
zhouweikuan.
Please help me to select one of these. Can anybody tell me the
differences between these two? Has anybody got a prior experience on
any of these?

Any help is appreciated.
Thanks.

-- 



Other Threads

1. DatabaseObjectNotClosedException When Using ContentProvider

Hello,

I am getting an
'android.database.sqlite.DatabaseObjectNotClosedException'.  I am
using a ContentProvider that I wrote following the standard method to
write such a provider which accesses a SQLite database.  I do not
'close' the cursor or database object in the ContentProvider.  Should
I be closing these objects inside of the ContentProvider for example
at the end of the query method?  Or should I be closing these objects
in the code that is using the ContentProvider?

Thanks,
Prasanna

-- 

2. Widget problems after application update.

Application has widget which basically shows the number of new message
count in the widget. Widget has title and Count.When application gets
updated, widget title gets replaced with message count, and some times
it shows problem loading widget. seems like R value not updated after
app update. However user removes the application or reboot the phone
widget icon shows properly. Is there any way to fix the issue?

Any suggestions.Here is the sample code

 public void onReceive(Context context, Intent intent) {

                String action = intent.getAction();

                if( AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action) ) {
                    int layoutID = R.layout.WidgetLayout;
                    int[] ids =
intent.getIntArrayExtra( AppWidgetManager.EXTRA_APPWIDGET_IDS );

                    for (int i=0; i<ids.length; i++)
                    {
                       int appWidgetId = ids[i];

                       RemoteViews views = new 
RemoteViews(context.getPackageName(),
layoutID );
                       updateMessageCount(count);
                       AppWidgetManager manager =
AppWidgetManager.getInstance( context );
                       manager.updateAppWidget(appWidgetId, views);
                    }

               }
        }

-- 

3. InstantiationException when starting IntentService

4. Encrypt with Android using AES, decrypt with PHP...

5. filenotfoundexception on http get and post. just device. emu works

6. Instal hampir semua program ke SD card tanpa root (2.2)

7. FileNotFound Exception on Device not Emulator using URLConnection