AquaMail Forum
English - Android => Development builds => Topic started by: p50kombi on November 22, 2016, 10:31:19 pm
-
I know it's probably a lot to ask, but is it possible to do a test build with that one in to see if it has improved now?
HTC 10 is such a new device, maybe the redraw issues are gone?
-
Re: HTC
The code has two ways of setting the badge, this makes me uncomfortable - assuming one is "old" and the other is "new" (for newer Android version), which is which?
And it requires permissions (it's in AndroidManifest.xml), this also makes me uncomfortable, which method (old or new) are those for?
Why doesn't HTC document this, the way Sony did? Same question for Samsung.
-
Good question, I guess we'll never know..
Shame as I really need that functionality on my lockscreen dock, hence I can't use a widget.
-
Re: need that functionality on my lockscreen dock
And Google removed lock screen widgets in Android 5.0...
-
Hence my problem..
It works if the badge is on the app icon, as that is on the dock on the lockscreen of htc sense
-
Is there any way for me to reverse engineer it out of an app like whatsapp or something like that?
those all work brilliantly
-
Re: HTC
And sometimes this library just plain doesn't work, it seems, on some specific device models:
https://github.com/leolin310148/ShortcutBadger/issues/134
-
I can't tell you what you can and cannot reverse engineer ;)
But personally I'd make a simple app that has broadcast receivers of both of these:
public static final String INTENT_UPDATE_SHORTCUT = "com.htc.launcher.action.UPDATE_SHORTCUT";
public static final String INTENT_SET_NOTIFICATION = "com.htc.launcher.action.SET_NOTIFICATION";
and logs when they come in and the extras.
Technically, this won't even be "reverse engineering" the WhatsApp app.