Page 1 of 1

Input dialog for notification sounds?

Posted: 01 Jun 2018 17:27
by Christofer
I'm making a setup flow where I'd like to ask the user, in an input dialog, to chose one of the default notifications/ringtones installed on the phone. The sound is later to be played in a flow. The ideal solution would be to show the notification/ringtone menu that you can get from the action "Sound". Is this possible?

//Christofer

Re: Input dialog for notification sounds?

Posted: 03 Jun 2018 14:04
by Martin
Hi,

That's possible using action Start Activity. Here's an example:
Ringtone Picker Example

I'll add it to the example section of Start Activity in the next update.

You can play the sound using action Sound with Sound Type: File and File: {ringtone_uri}

Regards,
Martin

Re: Input dialog for notification sounds?

Posted: 07 Jun 2018 21:06
by Christofer
Nice, will check that out! Thanks!

Re: Input dialog for notification sounds?

Posted: 08 Jun 2018 03:04
by Rafi4
Hi Martin
Thanks a lot. Also please give an example how to pick time like this

Re: Input dialog for notification sounds?

Posted: 08 Jun 2018 15:51
by Desmanto
Pick time and date is already in input Dialog, change the dialog type to Date, Time or Date & Time.