Author Topic: [Android] Static lib  (Read 357 times)

RusJJ

  • Posts: 3
[Android] Static lib
« on: 3 Sep '21 - 18:34 »
Is there any luck to get a static version of that beautiful library?
Im making a mod for an android game (and that's not a good idea to load every single library when you have some kind of hierarchy with libraries). Or maybe you can help me with that, Ian? Just a recompiled lib with implemented interface-thing (and mod descriptor) for that? ❤️

Ian @ un4seen

  • Administrator
  • Posts: 23991
Re: [Android] Static lib
« Reply #1 on: 6 Sep '21 - 12:58 »
I'm afraid there aren't static versions of the BASS libraries available, but it shouldn't be a problem to use the shared libraries in your own native code/library. Here's the Android documentation on that:

   https://developer.android.com/ndk/guides/prebuilts

RusJJ

  • Posts: 3
Re: [Android] Static lib
« Reply #2 on: 6 Sep '21 - 18:07 »
But i need to load bass library throught modloader. As a mod. Not as a library. That's not really useful and smart way to use in modloader. Except i need to add that library in every game that i'll mod, lol

Ian @ un4seen

  • Administrator
  • Posts: 23991
Re: [Android] Static lib
« Reply #3 on: 7 Sep '21 - 16:58 »
I don't know anything about modloader, so I'm afraid I can't really help with that, but if it can use libraries (eg. either by linking or using dlopen) then it should be possible to use BASS with it. If it doesn't support libraries then unfortunately I don't think it will be possible to use BASS with it.

RusJJ

  • Posts: 3
Re: [Android] Static lib
« Reply #4 on: 8 Sep '21 - 19:08 »
Fine, i got another way to implement BASS and it's working