This code will help in saving data(database) in the device and in the localhost,you can edit more for your project.cheers Remember in the localhost you should have a database to contain this,i can make a code for it if you what,or you can create direct using the same properties of data that will be inserted