Author Topic: Dictionaryformids android app icon for different dictionaries  (Read 38 times)

0 Members and 1 Guest are viewing this topic.

tj4

  • Newbie
  • *
  • Posts: 4
    • View Profile
Could there be a different android app icon on the home screen for different dictionaries, if this is possible?

Best,
Tom

axin

  • Developer
  • *****
  • Posts: 128
    • View Profile
Re: Dictionaryformids android app icon for different dictionaries
« Reply #1 on: 29. July 2017, 18:34:41 »
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

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Dictionaryformids android app icon for different dictionaries
« Reply #2 on: 31. July 2017, 15:55:54 »
That's a great idea - what's your use case behind this?

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

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.