0

This is an iphone example. how can i do this with android. and no i dont want to use a spinner. i want to pass two numbers from my app and have the user select one of the numbers to be dialed.

Moses
  • 49
  • 1
  • 6
  • 2
    Sorry, but AFAIK you will have to render your own UI to allow the user to choose a number, then use that chosen number with `ACTION_DIAL` or `ACTION_CALL`. – CommonsWare Jun 03 '20 at 13:57
  • @CommonsWare there is no other way to achieve this with android. or this feature is unique to iPhone. – Moses Jun 03 '20 at 14:01
  • AFAIK, there is no other way to achieve this on Android. – CommonsWare Jun 03 '20 at 14:05
  • Don't you think that UI is custom build by the app and not the dialer from iOS? If you want to make a call, you send an URL with the number and the system handles it for you, but you have to decide which number to send. I see this behaviour in the contacts app, but it's implemented by the contacts app, no the dialer. A bottom sheet should work fine if you want to emulate the same behaviour – Iulian Popescu Jun 03 '20 at 14:56

0 Answers0