cmusphinx / pocketsphinx-android

pocketsphinx build for Android
BSD 2-Clause "Simplified" License
235 stars 130 forks source link

Add library to a package manager #35

Open PatMyron opened 6 years ago

PatMyron commented 6 years ago

To simply add something like:

compile 'edu.cmu.pocketsphinx:1.0.0'

to app/build.gradle in

dependencies { }

would simplify onboarding and help adoption.

JCenter and MavenCentral are both popular package managers for Android; JCenter is the default when creating a new Android project, so that'd probably be the best choice.

1Caxz commented 6 years ago

Hi @PatMyron, I just created a new library based on Pocketsphinx android. You can add RapidSphinx library to your build.gradle app.

PatMyron commented 6 years ago

@cesine @nshmyrev Following the current README, Gradle failed to resolve 'edu.cmu.pocketsphinx.android:pocketsphinx-android:5prealpha@aar' From #38, official dependency doesn't look publicly accessible from Bintray yet found a working solution in cesine/pocketsphinx-android-demo@f78626e Opened https://github.com/cmusphinx/pocketsphinx-android/pull/40