Android Question Not handle sms receive

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Hi.
I use sms interceptor.
B4X:
 Sub sms1_MessageReceived (From As String, Body As String) As Boolean
    Return True
end sub
in up code Return True not working and sms show in inbox
what's problem?
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,

Which Android version is it please ? Since KitKat, only the default SMS app can cancel the SMS received.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
STARTING from KitKat (and all newer versions) only the DEFAULT SMS APP are allowed to read the SMSs
It should work on older Versions if you have set the needed permissions.
 
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
STARTING from KitKat (and all newer versions) only the DEFAULT SMS APP are allowed to read the SMSs
It should work on older Versions if you have set the needed permissions.
I'm sorry i have a question:
If in new version android i set default my app to receive sms,but how android detect sms for show it?(my app goal is receive sms and save it)
 
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Ok.I have a idea.I send activation code to sim card and user enter activation code in form of course if not support intercept sms.
 
Upvote 0
Top