full flow from android to database