2012-04-19 14:35:52 +08:00
|
|
|
#include "AppDelegate.h"
|
|
|
|
#include "cocos2d.h"
|
2014-05-02 05:09:26 +08:00
|
|
|
#include "2d/platform/android/jni/JniHelper.h"
|
2012-04-19 14:35:52 +08:00
|
|
|
#include <jni.h>
|
|
|
|
#include <android/log.h>
|
|
|
|
|
|
|
|
#define LOG_TAG "main"
|
|
|
|
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
|
|
|
|
|
|
|
|
using namespace cocos2d;
|
|
|
|
|
2014-03-25 10:57:29 +08:00
|
|
|
void cocos_android_app_init (JNIEnv* env, jobject thiz) {
|
2013-07-30 07:59:37 +08:00
|
|
|
LOGD("cocos_android_app_init");
|
|
|
|
AppDelegate *pAppDelegate = new AppDelegate();
|
2012-04-19 14:35:52 +08:00
|
|
|
}
|