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

Cannot use the library in my android project due to some limitations and bugs. (ver1.1) #6

Open
edesdan opened this issue Jul 3, 2016 · 2 comments
Assignees

Comments

@edesdan
Copy link

edesdan commented Jul 3, 2016

Hi,
I'd love to use your library in my android app but I have played a little bit with it and I found some problems.

The first is connected to the issue #1 :

  • starting with Android 5.0 we have to manage the runtime permissions and so, due to the fact that your widget uses the microphone when the layout gets inflated, it will fails every time you starts the app on Android 5.0 (the first time you don't have any permission like RECORD_AUDIO when you start the app the first time ). Have you ever try the library in this scenario?

The second is connected to the issue #3 :

  • I think the point here is that if the widget starts to use the microphone when it gets inflated (method prepare()) you will never had the possibility to use the microphone for something else like in my case a voice recognition activity. It could be ideal to have the possibility to start and stop the entire service whenever we need to avoid multiple concurrency on the same resource (microphone). And by the way even with the current implementation it seems that the stopListening() method is not working at all.

I like the graphical part, I think is one of the best "on the market" at the moment (maybe the only one) so I really appreciate your work. Do you think we can improve it? Let me know if you need help, I will be happy to give you an hand!

Thanks!

@FireZenk FireZenk self-assigned this Jul 4, 2016
@FireZenk
Copy link
Owner

FireZenk commented Jul 4, 2016

Hi @edesdan , yes I consider the #1 issue, I'm waiting to start my vacation to continue the support of my various open-source projects, regarding issue #3 is hard to find a solution but I'll try.

@stephenmcbride
Copy link

Any update on this? Can't use the library in it's current format due to the runtime permissions issue. Thanks

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

No branches or pull requests

3 participants