Android Question Notification Vibrate & Flash, doesn't works

incendio

Well-Known Member
Licensed User
Longtime User
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
. Notify has to be the last call
 
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
Generally the light won't flash if the screen is still alive when the notification is issued.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…