mirror of https://github.com/axmolengine/axmol.git
17 lines
393 B
C++
17 lines
393 B
C++
#include "AppDelegate.h"
|
|
#include "platform/android/jni/JniHelper.h"
|
|
#include <jni.h>
|
|
#include <android/log.h>
|
|
|
|
#include "cocos2d.h"
|
|
|
|
#define LOG_TAG "main"
|
|
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
|
|
|
|
using namespace cocos2d;
|
|
|
|
void cocos_android_app_init (void) {
|
|
LOGD("cocos_android_app_init");
|
|
AppDelegate *pAppDelegate = new AppDelegate();
|
|
}
|