incendio Well-Known Member Licensed User Longtime User Sep 19, 2014 #1 Hey guys, I want to prevent vibrate and flash a light on notification. I have this codes B4X: Dim PUB_Nt As Notification PUB_Nt.Initialize PUB_Nt.Icon = "icon" PUB_Nt.SetInfo( "Title","New Notification" , Main) PUB_Nt.Notify(1) PUB_Nt.Light = True PUB_Nt.Vibrate = False On my phone, there is no flash and it still vibrated. Did I missed something to make it work?
Hey guys, I want to prevent vibrate and flash a light on notification. I have this codes B4X: Dim PUB_Nt As Notification PUB_Nt.Initialize PUB_Nt.Icon = "icon" PUB_Nt.SetInfo( "Title","New Notification" , Main) PUB_Nt.Notify(1) PUB_Nt.Light = True PUB_Nt.Vibrate = False On my phone, there is no flash and it still vibrated. Did I missed something to make it work?
barx Well-Known Member Licensed User Longtime User Sep 19, 2014 #2 . Notify has to be the last call Upvote 0
incendio Well-Known Member Licensed User Longtime User Sep 19, 2014 #3 Wow, that was fast, thanks. Ok, vibrate is worked, but light wasn't. Upvote 0
barx Well-Known Member Licensed User Longtime User Sep 19, 2014 #4 Generally the light won't flash if the screen is still alive when the notification is issued. Upvote 0