Android class homework