We need two apps: one for Android, one for iOS.
Both will do exactly the same things:
1. Plays one fixed AAC audio streaming from a Http address
2. Shows a webview with HTML5/Jquery from a server
3. Sends each 60 seconds a post to a server
. A webview, where a website will be showing (80% of the screen)
. A toolbar at the footer (20% of the screen) containing a PLAY/STOP unique button aligned at left,
and a volume bar aligned to the right.
. A fixed AAC stream, coming from Http.
. Must play in background, and use the device resources, as stopping music during incoming calls, etc.
The Http post:
. The app must send to a remote server a data packet via POST, from time to time (each 1 minute), to communicate that the app is alive and connected. If the server is unreachable for any reason, app must try again in 60 seconds.
. In the webview the app must show a content from a fixed Http address.
. Must accept and run HTML5/JS/JQuery content.
. Must be updated/refreshed when the device comes from background or idle, or when a user re-opens the app.