specify position of a device on the map. Fetch locations from database. formatted listview of locations tab.