R Robert_Poland Member Licensed User Aug 8, 2016 #1 Hi I noticed that after upgrading to Android 6 do not work notification settings if anything is known about this? my code notif.Initialize notif.Icon = "icon" notif.SetInfo("xxx", "xxx", Me) notif.Sound = False notif.Vibrate = False notif.Light = False THX
Hi I noticed that after upgrading to Android 6 do not work notification settings if anything is known about this? my code notif.Initialize notif.Icon = "icon" notif.SetInfo("xxx", "xxx", Me) notif.Sound = False notif.Vibrate = False notif.Light = False THX
KMatle Expert Licensed User Longtime User Aug 8, 2016 #2 There's a B4X: notif.Notify(1) missing which shouldn't have worked before, too without it. Upvote 0
R Robert_Poland Member Licensed User Aug 8, 2016 #3 but unfortunately it did not help maybe I'm doing something wrong but in my android 5 settings work (Or possibly you give me an example settings to disable such. Vibra) Upvote 0
but unfortunately it did not help maybe I'm doing something wrong but in my android 5 settings work (Or possibly you give me an example settings to disable such. Vibra)
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2016 #4 Please try to reproduce it in a small project and upload it. Upvote 0
R Robert_Poland Member Licensed User Aug 8, 2016 #5 OK Attachments test_notif.zip 26.1 KB · Views: 193 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2016 #6 You need to call notif.SetInfo before you call Notify. Upvote 0
R Robert_Poland Member Licensed User Aug 9, 2016 #7 Can you give me an example because something did not go Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2016 #8 B4X: Sub Activity_Create(FirstTime As Boolean) Dim n As Notification n.Initialize n.Icon = "icon" n.SetInfo("title", "body", Me) n.Notify(1) End Sub Upvote 0
B4X: Sub Activity_Create(FirstTime As Boolean) Dim n As Notification n.Initialize n.Icon = "icon" n.SetInfo("title", "body", Me) n.Notify(1) End Sub