Android Firebase separate data by device - android

I have an Android app connected to Firebase and I was wondering if it is possible to have the data saved separated by device, so that saving data on one device will not appear on another device with the same app. Is this possible without the implementation of authentication and different accounts?

Related

Implementation of data flow between devices?

A similar question was asked How to send data from one android device to another?
However their scope of data pass is between android devices.
And so to extend that question, I wanted to know ways of connecting two completely separate devices like ECG device to apps (Android or IOS).
For example, AliveCor allows to send reading of external device to their mobile app.
So what ways do we have apart from Bluetooth or TCP/IP?
You have essentially listed all reasonable means that are used nowadays. You can either transfer data via bluetooth, using your own/3rd party hosted webservices like firebase or direct tcp/ip connection. TCP/IP probably being the hardest, bluetooth being 2nd hardest and webservice being the easiest but yet requiring both devices to be online. The implementation is however totally your responsibility (with web you would either add user registration and sync user data to all signed in devices, or if sync is one time thing, you could upload data to your server, issue a expiring token, which if entered in other device allow it to download that data).
Another way is NFC(Near field communication). You can transmit data when phone(with NFC) is near to another device (with NFC). Also,
For example, AliveCor allows to send reading of external device to their mobile app.
this app use NFC for transmitting data.
From permissions ( google play AliveCor Kardia app)
Also read the information about this system on https://www.alivecor.com/faq/
https://books.google.com.ua/books?id=H-JRAwAAQBAJ&lpg=PA41&ots=EV9Qy61sjY&dq=nfc%20data%20transfer%20ECG&hl=uk&pg=PA41#v=onepage&q=nfc%20data%20transfer%20ECG&f=false

Two Android apps + web app sharing one Firebase db

I have 2 android apps and a web app catering two user groups,
android app + web app for mostly writing data to the database
another android app for retrieving these data
I need my applications connected to the same database, I want to know whether this is possible with Firebase and is considered valid.
I've seen older posts with workarounds but I need to know whether the new Firebase version supports this out of the box.
This is my first time trying to integrate Firebase into one of my projects therefore some guidance on achieving this task would be really useful.
Thanks!
As long as I can remember Firebase supported this even before the "new Firebase 2.0". Following just an excerpt taken of the Realtime Database feature list:
A cloud-hosted NoSQL database. Data is stored as JSON, synced across
connected devices in milliseconds, and available when your app goes
offline.
Accessible directly from client SDKs, or from your server with the REST API
tl;dr
That's totally possible with Firebase.

how to access android app database centerally

In a normal android app ,we can code and create a sqlite database for an android app,But when we are putting this app on play store and multiple users are using that app, then how can we provide same kind of data to all users as database(sqlite) we made is only to that user in his phone.
I am new to android programming so not sure how to maintain a centralized database.
If you want centralized data for all users of your app, regardless of the device, then you'll need to use a cloud type API (e.g. web app backend accessed via REST API). Anything you put in a SQLite database on the device will only be accessible by that app on that specific device and for that specific person. On Android devices with multiple people, such as a tablet with multiple profiles, each person gets a separate instance of your app and data.

Delphi mobile app - store data across new mobile phones

Is there any standardized way in Delphi mobile apps for storing/syncing app data across mobile phones for Android + iOS?
Here is my siuation:
Currently I ship some data with my apps and new data is downloaded to cache. This works well, also when users download new versions.
However, now I need to store data inputted by the user... Thus data needs to be persistent... And ideally it should survive mobile changes, e.g. from ios to android or at east when upgrading from e.g. iphone5 to iphone6. I rather not host user data myself on my own servers. It it also important that it is cost free.
So I am looking at what is necessary for:
App/user data survives upgrading Android phone keeping Google Play account.
App/user data survives upgrading iphone keeping Apple iTunes account.
App/user data when user changes mobile platform.
I guess a combination of these solutions will be necessary:
Using a cloud service tied to each separate plaform (i.e. iCloud for iPhone users)
Make an import/export function to a data folder the user manually can backup when switching from e.g. Android o iPhone or the other way
The minimal but fully acceptable solution would be an easy way to export/import a data file. That data file could then e.g. be stored in any service where it could be retrievd from later?
The amount of data will not be a whole lot. Each user has his/hers own data. If the user uses multiple devices it will be up to the user to export/import/sync data in a way that makes senses.

Is it possible to access mysql database with android app on a laptop via bluetooth?

Suppose I am developing an android app that performs login and register functionalities. Now I want to test it through mobile device (running app on mobile and trying to access the xampp server database from mobile via bluetooth, storing new users profiles and retrieving old ones) so just for information purpose I want to ask if it is possible, if so then tell me in a short description that how we can do this.

Categories

Resources