Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android port ? #50

Open
FrenchGithubUser opened this issue Jun 4, 2021 · 3 comments
Open

Android port ? #50

FrenchGithubUser opened this issue Jun 4, 2021 · 3 comments

Comments

@FrenchGithubUser
Copy link

Is there any hope that this gets ported to android ?

PS : Thanks for that amazing work !

@sandsmark
Copy link

I'm not sure how much would be possible to share between platforms, just the algorithm itself is fairly simple. IMHO it makes more sense to just write a dedicated Android application instead of trying to create a UI that works well on both desktop and mobile (not sure if GTK supports Android at all?).

@davidtakac
Copy link

davidtakac commented Jun 14, 2021

I'm working on a port here: https://github.com/davidtakac/horton

So far I've managed to cross-compile the fingerprinting part and get the app to recognize songs.

@davidtakac
Copy link

In the end I made the port work. I cross-compiled the fingerprinting part to run on Android and I replicated the API calls in Kotlin. This was very fun and it worked very well, but I didn't want to bother with legal troubles that could arise if I decided to upload the app somewhere. Instead of deleting the ported code entirely, I decided to move it to https://github.com/davidtakac/horton-shazam-recognizer for educational purposes. I will not officially support it, but it could be valuable to people who want to cross-compile Rust code to Android.

As an alternative, I found out about audd.io from #85 which is totally free for non-profit projects. This is why I will only support audd.io (and other free song recognition services) from now on. All further development will happen in https://github.com/davidtakac/horton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants