0
0

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?!!!

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

I followed the instructions to the letter, yet the app crashes immediately upon launch.

Can I maybe email you my project with and without fmod so you can take a quick look at what is causing the problem?

  • You must to post comments
0
0

Can you post the crash that you are getting?

If you would like to send your project to support@fmod.org I can take a look for you.

  • You must to post comments
0
0

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…

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.