2012-04-19 14:35:52 +08:00
|
|
|
#include "AppDelegate.h"
|
|
|
|
#include "platform/android/jni/JniHelper.h"
|
|
|
|
#include <jni.h>
|
|
|
|
#include <android/log.h>
|
|
|
|
|
2013-04-27 17:16:27 +08:00
|
|
|
#include "cocos2d.h"
|
|
|
|
|
2012-04-19 14:35:52 +08:00
|
|
|
#define LOG_TAG "main"
|
|
|
|
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
|
|
|
|
|
|
|
|
using namespace cocos2d;
|
|
|
|
|
2013-09-02 16:10:08 +08:00
|
|
|
void cocos_android_app_init (struct android_app* app) {
|
2013-07-30 06:24:40 +08:00
|
|
|
LOGD("cocos_android_app_init");
|
|
|
|
AppDelegate *pAppDelegate = new AppDelegate();
|
2012-04-19 14:35:52 +08:00
|
|
|
}
|