Android SMS verification
Developer platform address used https://www.mob.com/
Click on the product center in the upper right corner
Enter developer mode
Create an application.
Fill in the application information, the picture can be free, the APP name can be written according to your needs.
After filling in, you can view the key and secret. After
creating the application, you can configure it in your own project. Read the development document and
remember that this is placed in the grade (Project Project). ) Is not (Module)
This is placed under grade (Module), the specific location is as follows, if the wrong location is synchronized, an error will be reported
The code of the core api document, the specific structure is as follows.
setcode is a specific method to implement SMS verification.
Call this method directly in the oncreate method. After
starting the project, the UI interface of SMS verification will be displayed directly. The default SMS verification interface and our daily SMS verification is basically the same