Comments (8)
@rohit9625 How about changing the color of the icon (may be to a Gray) if service is not available, unclicking the icon we can show the Toast to indicate the status of service.
I think it might be ideal to just hide the icon altogether when no speech-to-text services are available. I don't see any point with bothering the user about it when their device doesn't have speech-to-text services. If I'm right, the Wikipedia app does the same.
I ran this code (https://stackoverflow.com/a/32596376) I was able to get the engines available
This is good. If it's helpful, this seems like the snippet that the Wikipedia app uses in order to recognize if speech-to-text services are available. We could consider using the same too. if it seems better π
from apps-android-commons.
@rohit9625 How about changing the color of the icon (may be to a Gray) if service is not available, unclicking the icon we can show the Toast to indicate the status of service.
from apps-android-commons.
For now the important thing is probably: How to find out in advance whether service is available or not.
from apps-android-commons.
Hey @nicolas-raoul, I ran this code (https://stackoverflow.com/a/32596376) I was able to get the engines available
Here are the results
These are the same I got on going to settings of my phone
from apps-android-commons.
I have question, i.e., what is the case or device that doesn't have speech to text feature?
from apps-android-commons.
I have question, i.e., what is the case or device that doesn't have speech to text feature?
Just try uninstalling / disabling Google's speech-to-text app and other similar apps from your device. Your device would no longer have any of those services.
from apps-android-commons.
I got it, thanks :)
I guess these two ways can be helpful:-
- Change visibility to none after checking if services are available or not.
- When tapped on the icon and service is unavailable, then we can ask user to enable or install speech to text services.
from apps-android-commons.
@rohit9625 How about changing the color of the icon (may be to a Gray) if service is not available, unclicking the icon we can show the Toast to indicate the status of service.
That's a great idea :)
Let's see @sivaraam's thoughts also.
from apps-android-commons.
Related Issues (20)
- [Bug]: Crash when adding and then removing media details HOT 2
- [Bug]: Commons app does not keep in internal log crash-related messages
- Add DEBUG log for each URL that Commons app attempts to fetch
- Give user feedback when API-related error occurs
- [Bug]: Unable to change Caption/Description language multiple times
- [Bug]: Don't show nominate for deletion / edit category and edit depicts for logged out users HOT 2
- [Bug]: Editing depicts clears every other structured data associated with the image HOT 14
- [Bug]: Voice input text vanishes in alternate inputs HOT 1
- [Bug]: Durchsuchen mit "in der NΓ€he" zeigt unterschiedliche Ergebnisse - "Durchsuchen" erscheint nicht, obwohl zuvor Bilder gesucht wurden HOT 1
- [Bug]: Allow multiple pictures to be selected by System Picker through Nearby HOT 5
- Temporarily stop updating the position HOT 2
- Hello, i had this error when i tried to run my application on my android emulator HOT 2
- [Bug]: No feedback possible HOT 12
- Show where the user's images are being in Wikipedia
- [Bug]: Colors of existing / not existing pins are very similar HOT 3
- Reduce delay between peer reviews HOT 10
- Create LinkedIn page for Commons app HOT 4
- Have a note in the feedback pop-up about where the feedback lands
- [Bug]: categories sometimes missing in search (while visible in manual API calls!) HOT 2
- Warn user when they select "bad" category
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apps-android-commons.