I want to use the tritonus open source java sound implementation in a project. Especially the gsm 6.10 codec. Because it's open source, I have the source code in .java files.
Is there a tutorial somewhere that describes how I can integrate this into a B4A project?
I don't think it will be easy, and from what I have found on the web tritonus seems to be abandoned back in 2003 - but I may be wrong about that. The download page for sources no longer seems to exist but the precompiled plugins page does so I got the jar for the gsm 6.10 codec and poked around inside. Also needed is a tritonus share jar which is also available on the download page.
Unfortunately It seems to rely on the javax.sound.sampled package which is not implemented on Android. I have read on StackOverflow from other people wanting that package that it is possible to take the package from OpenJDK 7 and either compile the sources or export a jar to overcome that.
I'm trying to import some javax.* classes in my android app, but I keep getting compiler errors inside Android Studio. I'm using Ubuntu Linux 13.04. Here are my imports: import android.os.Bundle;
Hello, thanks for your suggestions.
I tried to create a library with the help of the tutorial. Everything looks fine, but I don't get the jar file, only the xml.
The console output looks like the output in Video, but no jar file :-(
I have now created the library, but the app crashes immediately.
I think I'll give up now and write the app in Android Studio. I thought it would be easier to adapt my existing B4A app than to rewrite it in Android Studio. Nevertheless thanks for your help.