Final Android Code