micheleBr Member Licensed User Longtime User Sep 11, 2012 #1 hi ! I am a new user of B4A, I ask a question and need your help: by using "SmsInterceptor", I intercept a particular incoming sms: B4X: Sub smsIncerc_MessageReceived (From As String, Body As String) As Boolean If Body = "909090" Then 'TODO End If End Sub I created a service for this .. is it possible do not display the notification when this specific sms comes in phone? tnx in advance!!
hi ! I am a new user of B4A, I ask a question and need your help: by using "SmsInterceptor", I intercept a particular incoming sms: B4X: Sub smsIncerc_MessageReceived (From As String, Body As String) As Boolean If Body = "909090" Then 'TODO End If End Sub I created a service for this .. is it possible do not display the notification when this specific sms comes in phone? tnx in advance!!
F flyingbag Member Licensed User Longtime User Sep 12, 2012 #2 Yes... If you "return true" from that sub - the message is not displayed If you return false - it is handled just like any other message Upvote 0
Yes... If you "return true" from that sub - the message is not displayed If you return false - it is handled just like any other message