So what i want to do is to build an app, in which, say a user uploads a text message. Now, how can that exact message be retreived in another device, with an internert connection?
I can use a DataBase, but that only allows to store data which can be accessed only by the device that created the paticular database. I want that database to be accessed by all the other devices that use that app, so that they are able to see the message that the person uploaded online. Please help, I will be so Thankful. Cheers!
CodePudding user response:
Host your own database from a server that is always online inside your house. Any computer big or small will most probably do.
Another option is to use a cloud database which is implementation-wise a same thing. For example Oracle provides a free SQL database for you to use: https://www.oracle.com/cloud/free/ .
CodePudding user response:
You can use firebase cloud messaging or firebase database which is a free database hosted on cloud.
If you want to make a chatting app or something like that then i would recommend you to use firebase cloud messaging.