Android Studio database update in real time

Android Studio database update in real time

Need to hire an IT company?

Post your project

in 5 minutes for free

Serveira

Android Studio database update in real time

on Android Developers at Dec 17, 2018 16:42

Dear developers,

I'm a novice android studio developer, and so far I've managed to succesfully put together a small project I had in mind.
It's basically an app to monitor client's tabs on the restaurant I work on.

The app itself works, but I'm having a hard time implementing the second part of my project:
The waiter should be able to update the client's order into an online database (either on local network or hosted online), which then would be linked to an Excel file.

It would work as follows:
Waiter takes order and presses button > values updated on Database > values updated on Excel

This Excel file should be constantly updated, for when the client wants to leave we can calculate what he has consumed.

My question is: what would be the best way to achieve this result? So far I've ran into Apache POI, SQLite and MySQL; but none of them seem to be the definitive answer to my problem. Has anyone done something similar yet?

Thank you,
HCL`

Re: Android Studio database update in real time

on Android Developers at Jan 01, 2019 11:45

1.If your app is supported by a a well structured backend server and server can response very well in real time data transfer then I will prefer to use SyncAdapter. Backend server should be able to response very fast and in most of these case servers use web sockets to achieve this.

2.Go for Firebase if you don’t have well structured backend server. Firebase is very fast in response but its of NoSQL data . Structuring of your NoSQL data may required some time to be displayed in interface.Firebase event and listener structure is very good and all devices will be updated with real time data in same time.

Consider you real time data structure ,response time , availability and you can decide. Hope it helps.
This forum thread discusses Android Studio database update in real time. You can join the discussion by clicking on 'Post a reply'. If you are new to Android Developers Forum, you will need to sign up and create a new account.

Android Studio database update in real time related posts on Android Developers Forum

Top UX Mistakes Designers Mostly Avoid

by Fluper Limited on Android Developers

Though mobile app UI/UX design has gained momentum in the market, designers are still not familiar with what practices to adopt while designing an app, and what practices to avoid. Considering the same, here's an infogra...

Android query

by webmax on Android Developers

1. You could load the web content while the WebView is invisible (and maybe display a progress bad over it) and show it if the page is loaded successfully/load "myerrorpage.html" on error.  2. You should be aware that ...

Importance of Big Data for creating Business Apps!

by Consagous Technologies on Android Developers

Informative!  Big Data is really making a difference in the business world. But, another technology which is bringing an equal (if not more) impact on the business sector is Predictive Analytics. Go through this 10...
WhatsApp is designed to let you link a single phone number to the app per device, but users have found ways to run two accounts on one Android mobile phone. Many newer Android smartphones allow you to create multiple use...
Reply on this threadPost a reply
Loading...