javascript - How to show alert with sound on Website by sending some data/flag from Android app -


i working on app in having 1 button named help, on click of button send notification website page, user alert sound. android developer , having basic knowledge in php guidance php experts.

what think achieving feature :-

1) creating 1 web service , passing data/flag app web service.

2) web service send data page somehow , using data can show alert sound.

question :-

i know how pass data using web service app web service. don;t know how can show alert web service on website user can see , playing sound. , play until user click on ok or other button provided on site.

please forgive me if question looks poor not in writing. clear achieve don't have knowledge of how using php, great if can guide me , me little bit can @ least proceed further.

to need resource downloaded on device. don't think can stream it. it's not recomanded anyway. in php send json key "play_file": 1 or "play_file": "sound.mp3"

use android documentation further info.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -