Skip to content
Snippets Groups Projects
Commit e7def893 authored by Maximilian Betz's avatar Maximilian Betz
Browse files

updated readme files

parent 76a6a76d
No related branches found
No related tags found
No related merge requests found
Showing
with 18 additions and 40 deletions
# MobileEventLog
A cross plattform project for android and ios to log events offline everywhere and sync them to sensor. Developed with flutter. A short how to use can be found below documentation/README.md
<br />
![Add a new Event](documentation/05_AddEvent_01.JPG)
![Add a new Event](documentation/05_AddEvent.JPG)
<br />
## Concept
......@@ -52,15 +52,10 @@ Feedbackpopups:
Background: #CEEDEB
Text: #57827E
## Overview
- Add Icon to Add, View and Configuration button. Then use uppercase Text.
- Create Logo for App and replace Flutter default Image
- Add Impressum: CC-BY licence
- Add Legal Notice as on sensor.awi.de
## Configuration
- animated Feedbackpopup on first line : "speech bubble" (Download successfull) Show pop up for 2s. "Detail information as is below the collection dropdown menu.
- Collection List Drop Down. Item separation "grey line" + Abbort button. "Highlight "chosen collection" italic or pinned on top. Sort alphabetic.
- Add a selection mode functionality. 1. Own devices (based on e-mail adress as editor on devices), 2. Collections, 3. Mission management based
- https://sandbox.sensor.awi.de/rest/sensors/device/getItemsOfContact/mbetz%40awi.de
......@@ -69,23 +64,18 @@ Text: #57827E
## Add Event
- Show \* next to lable for required fields.
- Event Type /URN Item separation and hightlighting chosen type as in configuration.
- Is a field for end time required here?
- Label with counting up number?
- Deactivate Timestamp field and Now button if GNSS sync active.
- Choose Urns in configuration: Label on Add Event is beeing cleared but GNSS data is not Harmonize.
- GNSS switch next to lat long elevation field. Similar as the NOW field. (Feedback from Dana)
- Sort URN list alphabetic!
- Set in configuration: Label on Add Event is beeing cleared but GNSS data is not. Harmonize this.
- Decide if GNSS switch shall be moved next to lat long fields. Similar to the NOW field.
## View & Events
- "All Events" "Pending Events" on first line above table. Alligned right. 50pix hight distance to table start.
- Multiple lines for one event to reduce width. Alternative: Do not show all event details in table but show them in a separate widget on selection. This could also be the view to edit event details.
- Edit mode (only pending events). Select an event and open event in edit mode with all details (including start and finish time), allow to remove event.
- Feedback "Success" to line above table and below top bar.
- Clone event data from here to Add Event widget.
- Allow to remove pending event(s) or set them to "deleted"
- Feedback popup as in the other widgets.
## Wishlist:
- Allow upload of pictures check interface how to upload with sensor.
- How to log events for a device which does not exist yet? Dummy device in app and assign befor upload?
- How to log events for a device which does not exist yet? Dummy device in app and assign befor upload?
- Collection im Feld auswähle, Collection - Arbeitsgruppenzugehörigkeit.
- URN Dropdown filter by character. ~500 Geräte Verankerungsgeräte. Mission Sub Subcollecction/ Submission z.B. Verankerung oder Eisarbeiten oder Bojen?
- unique labels are desired by PANGAEA. Is adding the MissionName as a prefix to label usfull?
......
documentation/03_MEL_Overview.JPG

34.1 KiB | W: | H:

documentation/03_MEL_Overview.JPG

54 KiB | W: | H:

documentation/03_MEL_Overview.JPG
documentation/03_MEL_Overview.JPG
documentation/03_MEL_Overview.JPG
documentation/03_MEL_Overview.JPG
  • 2-up
  • Swipe
  • Onion skin
documentation/04_Configuration_01.JPG

34.5 KiB

documentation/04_Configuration_02.JPG

40.4 KiB

documentation/04_Configuration_03.JPG

42.4 KiB

documentation/05_AddEvent_01.JPG

46.4 KiB

documentation/06_ViewSync1.JPG

28.4 KiB

documentation/06_ViewSync2.JPG

24.1 KiB

documentation/06_ViewSync3.JPG

30.5 KiB

documentation/06_ViewSync4.JPG

33.1 KiB

documentation/06_ViewSync_3.JPG

54.9 KiB

documentation/06_ViewSync_4.JPG

97.2 KiB

......@@ -17,46 +17,34 @@ Apps Overview page. Add Event is the page to create new events and store them lo
<br />
Click configuration to open the configurations view. Enter your sensor account details and chose the collection with your devices. NOTE: You need to have editor rights for the devices where you want to be able to upload events to.
<br />
![Configuration 1](04_Configuration_01.JPG)
![Configuration 1](04_Configuration.JPG)
<br />
Click on Set. The shown confirmation message indicates that the setup succeeded. An error is shown if you are offline or if your login credentials are incorrect.
<br />
![Configuration 2](04_Configuration_02.JPG)
<br />
You can now add events offline locally. The dump event functionality creates a local json file database dump.
Click on Set. The shown confirmation message indicates that the setup succeeded. An error is shown if you are offline or if your login credentials are incorrect. You can now add events offline locally. The dump event functionality creates a local json file database dump.
This functionality is intended to create event data backups during prolonged field operations without internet access. It is recommended to check and transfer the created json file e.g. via a USB cable to a second device e.g. a laptop.
<br />
![Configuration 2](04_Configuration_03.JPG)
<br />
## Adding Events
Open the Add Event Page. Enter a label, select the event type, select the used device from the dropdown menu. Optionally a description can be added.
<br />
![Add a new Event](05_AddEvent_01.JPG)
![Add a new Event](05_AddEvent.JPG)
<br />
Syncing the time and GNSS data can be disabled by clicking the switch on the bottom of the page. The location data can be modified manually if GNSS is disabled. Click on the add symbol to create the event. It is intended that this page remembers the last added event details for a smooth usability when adding multiple events.
## View & Sync Events
Open the View & Sync Page. It is recommeded to sync created events to sensor.awi.de on a regular basis. By default only "pending" and not yet exported events are shown here. It is possible to show all events including the already exported once by switching the button on the top app bar.
Scroll the table to view all event details. Editing the events here is currently not implemented.
Scroll the table to view all event details.
<br />
![View & Sync 1](06_ViewSync1.JPG)
![View & Sync 1](06_ViewSync_1.JPG)
<br />
Click on 'Sync'. All pending events are beeing uploaded. Success is indicated once all events are uploaded to sensor.awi.de.
<br />
![View & Sync 2](06_ViewSync2.JPG)
![View & Sync 2](06_ViewSync_2.JPG)
<br />
Show all locally created events
Click on 'Sync'. All pending events are beeing uploaded. Success is indicated once all events are uploaded to sensor.awi.de. An error is shown if you don't have editor rights for a certain sensor. In this case go back to sensor and ask the owner of the device (urn) to grant you editor rights.
<br />
![View & Sync 2](06_ViewSync3.JPG)
![View & Sync 3](06_ViewSync_3.JPG)
<br />
The following error is shown if you don't have editor rights for a certain sensor. In this case go back to sensor and ask the owner of the device (urn) to grant you editor rights.
An editing widget opens after a long press on an event row. All event details can be modified.
<br />
![View & Sync 2](06_ViewSync4.JPG)
![Edit Event](06_ViewSync_4.JPG)
<br />
documentation/appstore/Screenshots/1.png

54 KiB

......@@ -5,8 +5,8 @@ import 'package:http/http.dart' as http;
import 'datamodel.dart';
class SensorConnector {
//final String baseUrl = 'https://sandbox.sensor.awi.de/rest/';
final String baseUrl = 'https://sensor.awi.de/rest/';
final String baseUrl = 'https://sandbox.sensor.awi.de/rest/';
//final String baseUrl = 'https://sensor.awi.de/rest/';
final String loginUrl = 'sensors/contacts/login';
final String collectionsUrl = 'sensors/collections/getAllCollections?pointInTime=2018-07-03T12%3A30%3A55.389Z';
final String eventTypesUrl = 'sensors/events/getAllEventTypes';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment