-[Statement of Originality](#statement-of-originality)
-[Keywords](#keywords)
-[Abstract](#abstract)
-[Introduction](#introduction)
-[Todo](#todo)
-[Directory Structure](#directory-structure)
## Statement of Originality
I have read and understood the ECS Academic Integrity information and the University’s Academic Integrity Guidance for Students.
I am aware that failure to act following the Regulations Governing Academic Integrity may lead to the imposition of penalties which, for the most serious cases, may include termination of the program.
I consent to the University copying and distributing any or all of my work in any form and using third parties (who may be based outside the EU/EEA) to verify whether my work contains plagiarized material and for quality assurance purposes.
I have acknowledged all sources and identified any content taken from elsewhere.
The use of SleepBetter XB for comparison and images throughout this report was approved by George Muresan, the developer of the application.
I have used the following libraries for my implementation of the project:
- Android Image Cropper by ArtherHub from GitHub [[10](https://github.com/ArthurHub/Android-Image-Cropper)]
- Graph View by jjoe64 from GitHub [[11](https://github.com/jjoe64/GraphView)]
- Compact Calendar View by SundeepK from GitHub [[12](https://github.com/SundeepK/CompactCalendarView)]
- Stitch-Android-SDK by mongodb from GitHub [[13](https://github.com/mongodb/stitch-android-sdk)]
I did all the work myself and have not helped anyone else.
The material in the report is genuine, and I have included all my data and code.
I have not submitted any part of this work for another assessment.
My work did not involve human participants, their cells or data, or animals.
## Keywords
Abbreviation | Description
--- | ---
Box | A collection of experiments
XB | Experiment in a Box (sometimes just experiment)
In5 | InBodied 5
MEECS | Move, Eat, Engage, Cogitate and Sleep
GUI | Graphical User Interface
JSON | Java Script Object Notation
Data Structure | JSON Object (sometimes just structure)
Data Array | An array of data structures
IDE | Integrated Development Environment
## Abstract
Experiments in a Box are five-day long experiments that look at the effects of an activity on one of the five In5 health heuristics. The current process requires the development of a new application each time a new box is created.
This report explains the work done to unify both users and researchers into one application, dubbed the Experiment in a Box Framework, that can run the Experiments in a Box. It also looks to enables researchers to quickly launch novel experiments. This removes the entry barrier into this research domain and allows for a larger volume of research to be produced in this field.
This Framework was created as an Android application. Looking at the SleepBetter Experiment in a Box as a basis, the framework has implemented the same functionality by using free and available libraries for Android.
The Framework was successfully able to recreate the SleepBetter Experiment in a Box natively, however, some of the functionality is still missing. This opens many avenues of future work, including a database restructure, an iOS deployment, and developing a physical device to work alongside the application.
## Introduction
This project is developed by Eamonn Trim, for the third year individual project.
This project is developed by Eamonn Trim, for the third year individual project.
It's purpose is to develop an application that allows for Experiments in a Box (XBs) to be quickly launched from within the application.
It's purpose is to develop an application that allows for Experiments in a Box (XBs) to be quickly launched from within an application.
An XB requires at the bare minimum a set of instructions that a user will follow in order to attempt to improve one area of their life (Movement, Eating, Engaging, Cogitating, or Sleeping [MEECS]).
In addition to this an XB may allow for the collection of data to enable a broader understanding of the society wide patterns that affect these important aspects of everyday life.
## Todo
- [ ] Update Readme purpose with relevant information
- [ ] Bug fix some of the progress code
- [ ] Update the commits
- [ ] Retrieve a list of commits for the appendix
- [ ] Set up a test script
- [ ] Improve Readme with example images etc
## Directory Structure
```Y3Proj
|-- LICENSE [General License agreement for anyone accessing the git repository]
|-- README.md [A readme for explaining the project for the git repository]
|-- XBFramework.iml [A project based dictionairy (including any gradle / project settings files)]
|-- app [The folder that contains all the code for the project]
| |-- app.iml [Another app based dictionairy (only for the code)]
| |-- build [An automatically generated build folder that holds temporary files during the build process]