Android application that records location in database