I need a step by step guide of how to setup the necessary bit to have FMOD work on Android, to use with the NDK (not Java).
I followed the Native example, but it seems that I cannot manage to include the necessary bits to make it work, in my project.
Having fmod work on Windows and iOS was pretty easy, and all worked first time round for me.
Why does Android have to be so complicated?!!!
- bjadams asked 6 years ago
To add FMOD to an existing native activity project you need to do a couple of things:
- You need to link the FMOD Ex shared library to your app, take a look at our Android.mk files with the examples for how to do this.
- You need a tiny bit of Java, see the nativeactivity example src\org\fmod\nativeactivity\example.java file, it is used to load the shared libraries.
- As you can see with the Java code it extends the Android native activity, so you must change the AndroidManifest.xml to use the extended native activity class you just defined instead of the base one or your new Java code won’t get executed.
If you get any errors let me know and I’ll try to help some more.
Thanks a lot, will email you the project file.
Most probably it’s just some little stupid thing I left out which you will identify in 2 seconds!
Once I get this working, I am willing to write a step by step tutorial of implementing fmod on a new Android project for new users as I found very limited information myself…
Please login first to submit.