P polo Member Licensed User Longtime User Dec 8, 2017 #1 Hello everyone, I used the ShortcutBadger library, it works well on Android 6.0 but not on Android 7.0 on Samsung phones. When changing the number with applyCount () the badge of the icon is not changed. A solution ? Thanks for your help.
Hello everyone, I used the ShortcutBadger library, it works well on Android 6.0 but not on Android 7.0 on Samsung phones. When changing the number with applyCount () the badge of the icon is not changed. A solution ? Thanks for your help.
DonManfred Expert Licensed User Longtime User Dec 8, 2017 #2 polo said: but not on Android 7.0 on Samsung phones Click to expand... It does work here without problem. On Android 7.01 using TargetSDK 25 Upvote 0
polo said: but not on Android 7.0 on Samsung phones Click to expand... It does work here without problem. On Android 7.01 using TargetSDK 25
klaus Expert Licensed User Longtime User Dec 8, 2017 #3 Does not work here: Samsung Galaxy S6, Android 7.0 TargetSDK 25 and TargetSDK 27 I tested this program ShortcutBadger Check Tool suggested in the Github page of the original library, which works OK. I tested BadgeTest also with one of my icons. Upvote 0
Does not work here: Samsung Galaxy S6, Android 7.0 TargetSDK 25 and TargetSDK 27 I tested this program ShortcutBadger Check Tool suggested in the Github page of the original library, which works OK. I tested BadgeTest also with one of my icons.
DonManfred Expert Licensed User Longtime User Dec 8, 2017 #4 klaus said: Samsung Galaxy S6, Android 7.0 Click to expand... S7 EDGE here (working) klaus said: in the Github page of the original library Click to expand... i saw it is a newer version than the one i wrapped... I lost the source of the lib a few months ago. I rewrote it. Check again with V1.5 (based on the newest release from Github). PD: Seems that there are now more Launcher supported. Attachments ShortcutBadgerV1.5.zip ShortcutBadgerV1.5.zip 27.2 KB · Views: 705 Upvote 0
klaus said: Samsung Galaxy S6, Android 7.0 Click to expand... S7 EDGE here (working) klaus said: in the Github page of the original library Click to expand... i saw it is a newer version than the one i wrapped... I lost the source of the lib a few months ago. I rewrote it. Check again with V1.5 (based on the newest release from Github). PD: Seems that there are now more Launcher supported.
klaus Expert Licensed User Longtime User Dec 8, 2017 #5 It works ! Danke Manfred. Just one difference with the previous version, the IsInitialized property has disapeared. Upvote 0
It works ! Danke Manfred. Just one difference with the previous version, the IsInitialized property has disapeared.
DonManfred Expert Licensed User Longtime User Dec 8, 2017 #6 I think i used a AbsObjectWrapper<object> in the past... I now added the badger as private variable which is set when you initialize it without using AbsObjectWrapper Additionally i added a property to indicate the object is initialized... Attachments ShortcutBadgerV1.51.zip ShortcutBadgerV1.51.zip 27.3 KB · Views: 748 Upvote 0
I think i used a AbsObjectWrapper<object> in the past... I now added the badger as private variable which is set when you initialize it without using AbsObjectWrapper Additionally i added a property to indicate the object is initialized...