moved android error handling to its own object
moving android related functions to androidObject