audio - Intel XDK HTML Android app, run in background? -
audio - Intel XDK HTML Android app, run in background? -
so i've created 'sound app' needs run when phone locked.. after min of beingness locked sound cuts out. suggest fix?
the app created out of basic html5, css & js. sound needs go on playing when phone locked.
thanks in advance! :d
you'll need utilize plugin provides background service. in order preserve battery, mobile devices not allow applications go on run 1 time lose focus. after short period of time paused, , if ram required run other apps, might stopped entirely. see pause/resume events little more info: http://cordova.apache.org/docs/en/3.5.0/cordova_events_events.md.html#pause
here's project devgeeks, accomplished cordova developer, regarding background sound on ios: https://github.com/devgeeks/examplehtml5audiostreaming -- also, blog andrew trice may of value, experienced cordova developer: http://www.tricedesigns.com/2012/01/25/low-latency-polyphonic-audio-in-phonegap
you might want search "cordova phonegap app background audio" more solutions.
android audio mobile background intel-xdk
Comments
Post a Comment