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

Support Android #10

Open
jonahzheng opened this issue Oct 10, 2023 · 10 comments
Open

Support Android #10

jonahzheng opened this issue Oct 10, 2023 · 10 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@jonahzheng
Copy link

can build, but can not run

L%Y37MH45CPLPT8N@VDSJB

@lyledean1 lyledean1 added the enhancement New feature or request label Oct 15, 2023
@lyledean1
Copy link
Owner

Just need to set up Android with the Flutter Rust Bridge here https://cjycode.com/flutter_rust_bridge/library/platform_setup/android.html

@lyledean1 lyledean1 added the help wanted Extra attention is needed label Oct 15, 2023
@lyledean1 lyledean1 changed the title support android Support Android Oct 15, 2023
@hussain-mustafa990
Copy link

@lyledean1 I have limited experience with rust, and a little with C. If you can help me figure out the cmake part from https://cjycode.com/flutter_rust_bridge/library/platform_setup/android.html. I just might be able to do get this working on android.

@lyledean1
Copy link
Owner

lyledean1 commented Nov 14, 2023

Thanks @hussain-mustafa990 , that link is for setting up a library. For Android basically need to:

So a bit more involved than I first thought, started on this so will finish when I get time

@hussain-mustafa990
Copy link

@lyledean1 Any updates on this?

@zhubarb
Copy link

zhubarb commented Mar 24, 2024

Any updates on the android version? re: "Rewrite code so it can handle iOS specific code in Rust", I do not know Rust unfortunately, but happy to help push this forward if possible.

@kvenn
Copy link

kvenn commented Apr 17, 2024

Here is a java library that might make it easier: https://github.com/GiviMAD/whisper-jni

Also if you just need language -> language conversion, ChatGPT should be able to help out a lot.

@zhubarb
Copy link

zhubarb commented Apr 17, 2024

Thanks for your response. After digging around, I found whisper.cpp to be slower than whisper-tflite. Ended up using tflite.

@kvenn
Copy link

kvenn commented Apr 17, 2024

Nice! Did you write a platform bridge for flutter or are you only using it on Android?

@zhubarb
Copy link

zhubarb commented May 10, 2024

Sorry for the late reply. Yes, I just implemented platform messaging and it works like a charm.

@kvenn
Copy link

kvenn commented May 10, 2024

Very cool - any chance you'd be willing to share the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants