I've managed to native compile Ogre 1.8 together with IOS, libz, freeimage and freetype with the official NDK-r5. I set-up an Eclipse android project with the java wrapper and I manage to deploy the SampleBrowser interface into the device (Samsung GalaxyTab - API-8), and I'm able to interact with it through the touch screen.
Now I would like to load more resources to start playing with some of the examples: for instance Examples.material, or Sinbad.zip. The problem is that I have no idea how the ResourceManager is loading the resources. SDKTrays has been loaded fine, since the menus and mouse pointer are correctly displayed. In the packs sub-directory of the android project example, there are three files: SDKTrays.mp3, thumnails.mp3 and RTShaderLib.mp3. These three files the ResourceManager is able to load correctly with the following lines of code:
Code: Select all
addResourceLocation("packs/SdkTrays.mp3", "Essential");
addResourceLocation("packs/thumbnails.mp3", "Essential");
addResourceLocation("packs/RTShaderLib.mp3", "Popular");
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Sinbad.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /home/myUser/Ogre_Android/jni/ogre/OgreMain/src/OgreResourceGroupManager.cpp
I would appreciate some guidance if someone has any idea about this. Thanks!