Can i set a (FM)radio in my app?
--
Here are two video tutorials that will show you how with mp3 Web stations:
and also go here: http://seblogapps.blogspot.com/ for additional mp3 advice
--
I have create a web radio, but my issue is:
1) when I change to another screen (screen2 for example) it pause the radio
2) when the screensaver activate it pause again
I am not sure how I can fix them
1) when I change to another screen (screen2 for example) it pause the radio
2) when the screensaver activate it pause again
I am not sure how I can fix them
--
Taifun has several suggestions to keep the device from 'sleeping'
http://puravidaapps.com/countdown.php
countdown.aia
http://puravidaapps.com/countdown.php
countdown.aia
They might help with issue 2, regarding issue 1 the simple solution is to code the app using a single screen.
Sleeping is an issue with AI2. If you want to encourage the development team to work on this issue, star this issue:
https://code.google.com/p/app-inventor-for-android/issues/detail?id=2746
https://code.google.com/p/app-inventor-for-android/issues/detail?id=2746
Visit here frequently, someone may have a solution other than work-arounds.
--
meanwhile you can use Peep's solution, which uses HTML5 audio tags, see here How can i keep my app running in the background when the screen goes to sleep?
See here for more discussion about this
Background music
Background music
--
Here is the code how I create a live streaming (mp3) radio.
The sleep issue I fix it with timer. For the other issue I have tried almost everything and still nothing.
Here is the code how I create a live streaming (mp3) radio.
The sleep issue I fix it with timer. For the other issue I have tried almost everything and still nothing.
to simulate multiple screens, use vertical screen arrangements and set them to visible true/false as needed
--
Tnx for you help! But i want an FM radio, that on every channel can.
Is that possible?
--
Yes. But...
Although you could fix 88.7 to be 'The Rock'. That number represents a different channel in different cities since radio signals are limited in range - so using a number scheme does not seem to apply unless your app allows the user to select a city first.
Also, why ask the user to scroll to a number on a dial when they could just pick the station by name or description from a list?
See > this < demo.
--
댓글 없음:
댓글 쓰기