Creation problem Android Application - Java

0

I need to ask a number of questions, for a problem that was imposed on me, regarding the creation of an Android application in Java.

To describe the circumstances, I am creating an app to serve my college football league. The whole "functional" part is created. This app is designed to serve two parts: teachers responsible for league administration who point all the information and coordinate everything, and the students who access this information, namely the classification, markers, results etc ... With the "functional" part I refer to the application for teachers, where Maps are created with the information of the whole league. This part works quite well and everything is stored in several text files on the responsible phone.

Next, I created a simple copy of the teachers' application, which was more presentable, but read only the text files, which was directed at the students. The first question is: Was this a good option, or could it have done otherwise the application for students?

Well, now the problem is this: How can I do it to spread the application, more specifically the text files where the information is stored? Given that I will have to support 200/300 students, what is the easiest way for text files, created from the responsible teachers 'cell phone, to reach students' devices? This is my big problem, since I have never done anything like this with these dimensions.

I would appreciate it if I could get some advice, some idea.

    
asked by anonymous 12.02.2018 / 23:04

1 answer

1

The right and elegant way would be to create a webservice and put it in the cloud. And so, the version of students and teachers could access the information persisted in a database. There are some free cloud services like Heroku and Openshift. You could create a web service soap or web service rest, basically the difference between them is that the web service soap uses only xml for information exchange, while the web service rest uses xml, json and other types.

    
13.02.2018 / 01:26