Obtaining and setting basic data types(String, int) between Database and Android

Posted December 16, 2016 1.8k views

Hello guys,
We are working on an android project about calender which has a due date so close. In that project, we are trying to create calender and by that calender, user can determine a time interval and in that interval, phone gets its silence mode. When the time finishes, phone gets back to non silent mode again. We need to store datas for each user who will register. (Username, password, hours which he/she determined for silence etc). The tutorials in youtube did not work (or we couldn’t). Any suggestions about database-application relation(Like tutorials or beneficial links)?

                                                                                                              Have a nice day!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I would recommend (since you tagged this as PHP) just building a simple system using the php-mysqi module, a standard web server like Apache and passing data via JSON using the php json encoder.

With a time crunch using something like Parse server that provides an android SDK and takes care of a lot of the pieces for you might be another option.

Dreamfactory is another attractive option for a close to turn key solution for this situation.

For me personally, if I had to solve this problem I’d write a small Ruby app using Sinatra to serve the data and act as the API. This would be easier than the PHP option (if you know ruby) but not as easy as the prebuilt options like Parse and Dreamfactory.

by Brennen Bearnes
Parse is a Mobile Backend as a Service platform. In January of 2016, Parse announced that its hosted services would shut down within a year. In order to help its users transition away from the service, Parse has released an open source version of its backend, called Parse Server. This guide supplements the official documentation with instructions for installing the Parse Server module on an Ubuntu 14.04 system, such as a DigitalOcean Droplet.