Dictionaryformids android app icon for different dictionaries

Started by tj4, 24. July 2017, 20:20:59

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tj4

Could there be a different android app icon on the home screen for different dictionaries, if this is possible?

Best,
Tom

axin

Hey Tom,

That's a great idea - what's your use case behind this? Additionally, what's the downside of having all dictionaries active (which is already available in the app)?

I think the following needs to be done to get this into the app:
- Implement an intent, similar to the one to load a newly installed dictionary. I guess it would load that dictionary and unload all other active dictionaries - or what's your use case?
- Use the Android ShorcutManager to implement a dynamic shortcut to a dictionary (ie. the newly implemented intent). Those shortcuts can have different icons

Happy to help any volunteers to get started on this!

Cheers,

Achim

tj4

Quote from: axin on 29. July 2017, 19:34:41
That's a great idea - what's your use case behind this?

Being able to look up a word in a certain language quickly.

Quote from: axin on 29. July 2017, 19:34:41
Additionally, what's the downside of having all dictionaries active (which is already available in the app)?

By default, if the dictionary you want is at the bottom, you can either scroll past the other dictionaries' results, or select other dictionaries to fold them closed. Even if an Android app icon moved the desired dictionary to the top, the app is pointlessly searching for a result, making the app less responsive.