Skip to content
Marco Jansen edited this page Jan 6, 2016 · 4 revisions

Model

All the data is stored inside this model. This model uses the singleton pattern, so there is only one instance of this model. This model can be accessed from everywhere in the application by calling Model.getInstance() method.The model contains a list of all bundles and a config object. It also has methods to move bundles from asset folder to storage and getters/setters.

MyConfig

Extends the Config.java from the Celix wrapper library. Adds functionality to setup our standard properties when initializing and a method to retrieve the ip adress of the phone. ( This is used in our standard properties ).