andy02 andy02 - 1 year ago 142
Android Question

How to set OTP automatically on edittext read from the message

Server sends an OTP and it also shows on my android monitor(by using log.) but the problem I face it doesnt set on my edittext automatically, My App should be able to automatically read the OTP sent by the server. How can I achieve this? Any help or guidance in this regard would be highly appreciated.

Answer Source

check this site here is example how to get otp automatically

Also please don't forget to make static to your EditText from your Activity/Fragment

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download