I found that under .android\org\lib, it has Cocos2dxMusic.java and Cocos2dxSound.java, but in TestsDemo.java, it load cocsdenshion by “System.loadLibrary;”, so is cocosdenshion for android really invoke the method in former two files? I am really an rookie with android.
Cocos2dxMusic.java implement the methods by calling java APIs of android sdk.
While CocosDenshion/android/jni/SimpleAudioEngineJni.cpp invoke Cocos2dxMusic.java methods by JNI, so we can call c*+ interfaces in c*+ game logic.
I agree it looks odd that Cocos2dxMusic.java is in the folder of “tests” but not “CocosDenshion”. I will dicuss it with Ming.