Question

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

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!
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.