I'm trying to get the method mentioned here working. So far as I can tell, the user can choose from their existing addresses (not sure where from, maybe contacts?). I've spent hours trying to get it working, but can't. After Address.requestUserAddress()
is called, it just returns an error code straight away to onActivityResult()
, with no picker or dialog shown and no actual results. Anyone got some working code to share?
What I'm trying to achieve is a pre-existing way of allowing the user to select from a list of favourite locations (not apparently possible), with a second best option being to allow the user to select an address from another source, hence trying the method in the first-linked page.