Code for the TestRest Android application