Android Question Read OTP code from SMS

Anser

Well-Known Member
Licensed User
Longtime User
Hi,

I have seen few apps, that allows user to register from their app and then the app waits for a 4 to 5 digits code via SMS to arrive. Once the SMS arrives, the app reads the code automatically from the SMS and fills the edittext automatically and then proceed with the registration process.

Can anyone point me to the right direction to achieve this. Is this done using SMS interceptor or something else ? Till now I haven't done anything regarding SMS in B4A

Regards
Anser
 

DonManfred

Expert
Licensed User
Longtime User
See first thread in similar threads. Intent filters - Intercepting SMS mesages in the background.
You need to follow this to read a sms which comes in
 
Upvote 0
Top