How to use JniHelper- -??

[ error: JNIHelper.h: No such file or directory ]

void aFunction()
{
JniMethodInfo t;
JniHelper::getStaticMethodInfo(t
, “org/cocos2dx/lib/Cocos2dxActivity”
, “preloadBackgroundMusic”
, “(Ljava/lang/String;)V”);
jstring jstr = t.env~~>NewStringUTF;
t.env~~>CallStaticObjectMethod(t.classID, t.methodID, jstr);

}

http://www.cocos2d-x.org/boards/10/topics/5193?r=5202#message-5202

Hello, I think JNIHelper.h is just for cocos2d-x engine rather than your application.So the project you create will not contain the include path of ‘cocos2dx\platform\android\jni’.If you really wanna use this function, please add the path to LOCAL_C_INCLUDES variable in Android.mk of your project.