Novice third-party libraries may be very confused, sometimes a few days can not. Then let me take you 10 minutes to do a simple SMS verification!
1. First on the Mob official website Registration account:http://www.mob.com/#/
2. Download SMSSDK class Library package:http://www.mob.com/#/downloadDetail/SMS/android
3. Enter the Mob account background
4. Add an Android app
5. We create a project in Android Studio, under the App project, add the following 4 packages under Libs:
6. Configuring the Build File
7. In the Androidmanifest configuration file, under configuration:
8. Add a button to the XML
9. Write the code in the Java file:
One important note: The Smssdk app key and app secret will be used in the SMSSDK Personal Center:
10. Now that it's done, let's take a look at the effect:
you can see your registered data in the mob background.
The author first wrote articles, the Big God suddenly spit groove, if there is any place to write bad, please advise, we see the next article.
attached Source:Http://pan.baidu.com/s/1pLEbSyn
Android Studio 2.1 Integrates third-party SMS Verification Class library