Android studio mobile app-java

Job ID: 31121717

Budget: €30 – €250 EUR

budget 125
deadline 22/08
A report describing the technologies, the design, the queries used and screenshots must be created too.
In the context of the work you are invited to implement the mobile app of the Policy Service
Protection that users will use to find information about
emergencies as well as tips on what to do in each case. You can
to have as an example, as well as to reuse material from its existing page
civil protection service: https://www.civilprotection.gr/el
The application should support both Greek and English, automatically from its language
device on which it is running. It is recommended to use Navigation Drawer while in the (navigation bar) you will
the following functions must be included:
Home screen
This screen will display content about the organization, structured in
specific sections using modern widgets. This should include:
• General information about the organization
• Photos
• Brief list of news
________________________________________
Page 2
2
Protection Instructions
A screen with instructions on what to do in emergencies per event.
Personal information
On this screen users can save the following items automatically
available when they need to register an emergency: a) city, b) firstname and c)
lastname. Saving will be done locally in the application using sqlite or sharedpreferences
while after saving they will be displayed automatically every time the user enters
this screen.
Event registration
On this screen the user will be able to register an emergency event in the system
calling the relevant REST Service.
The screen will include the necessary forms and fields, will check that everything has
will be completed correctly, and will generate a REST call that will send the information as a JSON,
with the POST method in the following REST service:
https://us-central1-unipi-aps.cloudfunctions.net/emergency_add
Example JSON Request:
{
"city": "Paros",
"firstname": "Andreas",
"lastname": "Menychtas",
"category": "tsunami",
"title": "Tsunami in Paros",
"description": "The tsunami was observed at the north coast of the island"
}
The city, firstname and lastname parameters should load automatically as they already are
personal information stored on the system from the screen.
Note that the category parameter accepts ONLY one of the following values: covid,
earthquake, fire, tsunami, volcano .
The service will answer if the registration was done correctly (HTTP status 200), if it was rejected (HTTP
status 400) or if an error has occurred (HTTP status 500). In all cases you should
the relevant message is displayed to the user.
Example answer:
{
"status": "OK",
"message": "Document inserted.",
"id": "AQHPY1FffXalDlznQ6KO"
}
Event archive
On this screen the user will be able to see the event file in a table. After the entrance
of the user on the screen will load the events with the service call
https://us-central1-unipi-aps.cloudfunctions.net/emergency_list
with the GET method and will be displayed in a table.
________________________________________
Page 3
3
Users will then be able to select a category if they want (the list is the same as
previous screen) and see events in this category only. The call to this
case is formulated as follows:
https://us-central1-unipi-aps.cloudfunctions.net/emergency_list?category=covid
Sample answer (always returns the 10 most recent results):
{
"status": "OK",
"message": "Documents fetched.",
"data": [
{
"lastname": "Menychtas",
"title": "Tsunami in Paros",
"category": "tsunami",
"firstname": "Andreas",
"city": "Paros",
"description": "The tsunami was observed at the north coast of the island",
"date": "2021-08-01T12: 44: 02.399Z",
"id": "AQHPY1FffXalDlznQ6KO"
},
{
"city": "Piraeus",
"title": "Covid Case in UNIPI",
"firstname": "Andreas",
"date": "2021-08-01T12: 42: 09.469Z",
"description": "The incident took place in the department of digital systems",
"lastname": "Menychtas",
"category": "covid",
"id": "62alTfkzTEksoOZsA48V"
}
]
}