Software Archive
Read-only legacy content
17061 Discussions

Autoplay audio in webapp

Robert_C_1
Beginner
204 Views

Hi,

I'm developing a webapp with geolocation.

My need is to compare latitude and longitude and start an automatic sound from mobile device if user is in a certain position. Is it possible this one in this condition in a webapp from mobile device?

Thanks

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
204 Views

Really depends on the APIs offered by the mobile browser in which your app is going to run, and on the specific platform. This is why Cordova is such a popular option, it allows you to extend the APIs beyond those that you would get in the browser. There is no easy answer, because it all depends on the platform (Android, iOS, etc.) and the version of that platform and the browser you are using and the version of the browser, etc. I recommend you use Cordova (the XDK creates Cordova apps).

0 Kudos
Reply