---restore content starts---
In the process of daily writing code, we are more painful is the establishment and use of the database, then today to introduce a third-party data management platform BMONB.
First, we enter Bmob's official website to create an account
Bome Website: http://www.bmob.cn/
Ii. Open Androidstudio Create a new project and Project
build.gradle
add it to the fileBmob的maven仓库地址(添加maven地址必填)。
https://raw.github.com/bmob/bmob-android-sdk/master
Third, in app
the build.gradle
file to add compile依赖文件,可以根据开发者的需要自行选择官方提供了数据存储、文件服务
Push packages, instant Messaging packets, SMS communication packets.
Iv. Configuration Androidmanifest.xml
V. Third Party package has been added
Vi. initializing the Bmob in the OnCreate () method of the activity
Seven, then we go back to Bmob's official website. Create a new application that is equivalent to building a library.
Eight, open the app you created and then click on the left side of the settings will appear the key of the app you created contains the application ID we want to fill in the sixth step of the initialization.
Nine, after all the preparations have been done, let's write a test of the person class which inherits the Bmobobject to write the Get () and set () methods.
Ten, and then we go back to Minactivity to invoke the written person class.
After completing the above steps, we go back to Bmob's website to open the app you've created and you'll see the data you've created, and you can add your own form on the website.
Because I also learned this third-party data management may have some shortcomings, please understand, follow-up I will continue to improve the Android side of the data increase, delete, change, remove.
Data storage in Androidstudio use of third-party data management Bmob