How do I link a button to a website, and do searching on the website?

I have 3 different buttons in my app, Clinic/Hospital, Fire Station and Police Station. How should I setup the blocks for each the button to function like, when button clicked, brings the user to Waze and search for the specific emergency department(Ex: Hospital) nearby?

App:

Blocks:

For starters

image

you should not need to uriEncode

Got it, I deleted uriEncode. Now it shows "Error 601: No corresponding activity was found". I've went through a post with similar question before, and found out maybe LocationSenser is the problem that's causing this error? I do have a LocationSensor in a Map screen, but its necessary to have one in that screen.

I do not know anything about waze, can it handle the url you are sending?

Will it work in a browser, or are you trying to run the waze app?

I am trying to run the app, because only the app can show the different location and distance of what department the user searched, like the picture below. But i've been looking for a method to link a button to an app and can't find a way(It's best to run it on the app), so I am thinking to use the waze URL, and in the website it will ask the user to turn on Waze if the user got the app downloaded.

Is it possible to run this on Waze / Waze website? Or the DataUri can only accept google map?