as I need two [big] mp3 files to be played in parallel in my app I decided to extend Cocos2dxMusic.java simply by providing the second identical set of functions - like preloadBackgroundMusic2() after preloadBackgroundMusic() etc. Now I have extended the following files:
But at runtime, my new methods still could not be found - I get "No such method error: no static method with name preloadBackgroundMusic2 is found in class Cocos2dxHelper.
Now if I check Cocos2dxHelper.class I indeed do not see the new method, that means it was not newly generated, despite of clean build (Eclipse).
So the question is: how do I compile Cocos2dxHelper.java into Cocos2dxHelper.class ?