Java code from eclipse to test code which needs to go afterwards in the android app