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
Input dialog for notification sounds?
Moderator: Martin
Re: Input dialog for notification sounds?
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
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
-
- Posts: 31
- Joined: 27 May 2017 11:19
Re: Input dialog for notification sounds?
Nice, will check that out! Thanks!
Re: Input dialog for notification sounds?
Hi Martin
Thanks a lot. Also please give an example how to pick time like this
Thanks a lot. Also please give an example how to pick time like this
No.1 Automation app in play store Automagic Premium
Samsung Galaxy j2 non rooted.
Android 5.1.1
Samsung Galaxy j2 non rooted.
Android 5.1.1
Re: Input dialog for notification sounds?
Pick time and date is already in input Dialog, change the dialog type to Date, Time or Date & Time.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.