Every app developer that needs to show data between app users, have come to a situation where he need to have a centralized database between all his apps to sync the data. The trouble is that the app developers have hardly any skills with web development technologies or the web api. What actually you need in this situation is a server side layer which lets you communicate with your database.
How it works?
Android App ->(data)-> Server Side Scripting -> Database
In the above model, data could be in any format such as JSON or XML. The server side scripting could be in PHP, ASP.NET, Java, Ruby on Rail, Python etc.
Keeping your database directly accessible from the internet and saving database passwords inside of the app, probably is not the safest solution. The additional server side layer adds complexity to your project, as it needs you to learn a whole lot of things. The best way is to collaborate with a PHP or ASP.NET developer to get the server side logic done. But that would be share your profit too.
Recently I have came accross a website, that can let you do this thing without the need of a developer. https://www.dreamfactory.com/ that is Dream Factory framework create a bunch full of REST based API out of your database automatically giving you the power to control your database from the mobile app directly without the need of a server side technology. I am not sure how successfully or safe this is, but as its open source you can definitely give it a try.
How it works?
Android App ->(data)-> Server Side Scripting -> Database
In the above model, data could be in any format such as JSON or XML. The server side scripting could be in PHP, ASP.NET, Java, Ruby on Rail, Python etc.
Keeping your database directly accessible from the internet and saving database passwords inside of the app, probably is not the safest solution. The additional server side layer adds complexity to your project, as it needs you to learn a whole lot of things. The best way is to collaborate with a PHP or ASP.NET developer to get the server side logic done. But that would be share your profit too.
Recently I have came accross a website, that can let you do this thing without the need of a developer. https://www.dreamfactory.com/ that is Dream Factory framework create a bunch full of REST based API out of your database automatically giving you the power to control your database from the mobile app directly without the need of a server side technology. I am not sure how successfully or safe this is, but as its open source you can definitely give it a try.