1

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.

Community
  • 1
  • 1
drmrbrewer
  • 11,491
  • 21
  • 85
  • 181
  • // Google Play Services try this dependencies { compile 'com.google.android.gms:play-services:8.4.0' } – Muhammad Waleed May 14 '16 at 09:56
  • I was already using `compile 'com.google.android.gms:play-services-identity:8.4.0'` which I believe just picks out the bit from `play-services` that is needed (e.g. I also have `compile 'com.google.android.gms:play-services-location:8.4.0'`). Still, no address picker or anything is displayed... just goes straight to `onActivityResult()`. In any case, what sort of interface is it? A list of what addresses, from where? I can't even work that out. – drmrbrewer May 14 '16 at 10:32

0 Answers0