Code-extract from the Magister Mobile Application Project