Browser Audio in background - Galaxy S II Q&A, Help & Troubleshooting

I listen to radio broadcasts off of websites a couple times a week. The broadcasts are not available to listen to through any apps. Up until now I have had to keep my browser open while I listen to them which kills my battery because the screen has to remain on. I want to be able to background the browser and turn the screen off while still having the audio play back through my headphones. Is there any way to do this?

cochran.191 said:
I listen to radio broadcasts off of websites a couple times a week. The broadcasts are not available to listen to through any apps. Up until now I have had to keep my browser open while I listen to them which kills my battery because the screen has to remain on. I want to be able to background the browser and turn the screen off while still having the audio play back through my headphones. Is there any way to do this?
Click to expand...
Click to collapse
I Guess this is an iOS only feature
But u can make ur screen as dim as u can , using apps like lux https://play.google.com/store/apps/details?id=com.vito.lux&hl=en

I dim my screen to 20% but it still seems to kill my battery quickly. I did do this with my jailbroken ipod touch but I don't have wifi access at my new job. Is there not an app like backgrounder for android? Or will one of the other browsers (ie. firebox or dolphin) work.
Sent from my SCH-R760 using xda app-developers app

Related

[Q] youtube: problem with multitasking

seriously, and i mean it.. did you guys have trouble multitasking with youtube?
When you buffer anything inside youtube, and you switch to ANY other app for example browser or calendar or whatever, all the buffer you have done, will gone back to zero !! Wtf!
How stupid this is?? And i wonder why nobody has ever noticed this and complained about it somewhere over the net.
Yes, I have even basic problem with youtube. When I switch to another app, why does the video stop playing? Sometimes, I am only interested in the audio!
Osho
Hi, I'm having same prob and I don't think we can do anything to it ;/
Sent from my GT-I9003 using XDA App
oshogg said:
Yes, I have even basic problem with youtube. When I switch to another app, why does the video stop playing? Sometimes, I am only interested in the audio!
Osho
Click to expand...
Click to collapse
you mean the video stops playing but audio still play? I dont think so
denis_sianto said:
you mean the video stops playing but audio still play? I dont think so
Click to expand...
Click to collapse
No, the video can continue to play but in the background. For example, on a PC, if I have youtube video playing in a browser tab, and I switch to another browser tab - the video continues to play back. So, I can at least listen to audio (which is useful for music videos).
Thanks,
Osho
I have this problem and it annoys me, as I have very slow internet,so last thing I need is for it to restart again.
Sent from my GT-P1000 using XDA Premium App
oshogg said:
No, the video can continue to play but in the background. For example, on a PC, if I have youtube video playing in a browser tab, and I switch to another browser tab - the video continues to play back. So, I can at least listen to audio (which is useful for music videos).
Thanks,
Osho
Click to expand...
Click to collapse
Yea, i know that if in pc, you switch to another tab, youtube would still continue buffering. But this did not happen in tab's youtube. If I buffer any video, and then i switched to browser, then switch back again to youtube, all the buffers would have gone to zero.
Are you 100% sure you dont have this problem with your stock youtube app?
vauxhallastra said:
I have this problem and it annoys me, as I have very slow internet,so last thing I need is for it to restart again.
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
Are you talking about p1000 or the new gt with honeycomb?
Don't be fooled into thinking that Android's multitasking is that much more robust than iOS. When you move away from an app, the system sleeps the VM that it is running in to devote clock cycles and memory to your current working application. The only way an app can continue to persist alive in the background is to specifically request to remain alive and working on something with background processes. The YouTube app doesn't do this, so when you move away from it the application sleeps.
The only advantage Android has over iOS in terms of multitasking is the easy ability for an app to run background processes if it so chooses. Fortunately no sane app developer is going to write an app that tries to stay completely active in a non-windowing OS.
sassafras
sassafras_ said:
Don't be fooled into thinking that Android's multitasking is that much more robust than iOS. When you move away from an app, the system sleeps the VM that it is running in to devote clock cycles and memory to your current working application. The only way an app can continue to persist alive in the background is to specifically request to remain alive and working on something with background processes. The YouTube app doesn't do this, so when you move away from it the application sleeps.
The only advantage Android has over iOS in terms of multitasking is the easy ability for an app to run background processes if it so chooses. Fortunately no sane app developer is going to write an app that tries to stay completely active in a non-windowing OS.
sassafras
Click to expand...
Click to collapse
Okay, i know it make sense to not write an app that tries to stay completely active in background. But wouldnt it make sense for an app such as youtube that needs a lot of buffer (since not all country in the world have fast mobile connection), to be partially active in background, such as the buffering ability?
I think that make sense! And i still wonder why wouldnt honeycomb developer realize this .
Sent from my GT-P7500 using XDA App
Be careful, Playbook owners might start feeling smug about their device if they see things like this
Sent from my GT-I9100 using XDA App
I would also like Youtube to be able to play in the background, just like on a PC. Why not? It can't be too hard to programme either.
Swedish national radio, Sveriges Radio, has a good app that allows you to listen to all their programmes and the app runs smoothly in the background while I surf or do other stuff on the tablet. You'll find it at Google Play (former Market) if you're interested.
An other thing that Youtube on Android does not do is to run playlists. Again, why not?
I can't really see the point in removing great features when you develop a new OS. The goal can't really be to make it worse compared to the PC, can it?
labovski said:
An other thing that Youtube on Android does not do is to run playlists. Again, why not?
If your mostly worried about the playlist feature, it works when running stock browser and you are signed in. All you have to do is tap on the bottom-right corner of the video's preveiw image, afterr tapping, the little '+' shows up
Sent from my GT-P7500R using XDA
Click to expand...
Click to collapse
A solution would be using OverSkreen (Browser) and just open youtube in a small window.

[Q] need help with streaming music

Anyone know if there is a way to stream music through stock browser so that it doesn't stop once the screen turns off? Leaving the screen on with lowest brightness setting still drains battery way to fast.
Please tell us what ROM or se firmware you are using along with baseband and if phone is rooted. That way someone else or me can help you better.
Sent from my ATRIX 4G XDA Premium App
I'm using wolf's GB rom version 3.6 bb 71, I'm wondering if a script can be made so that it doesn't shut of music when screen times out.
xperia_x10 said:
I'm using wolf's GB rom version 3.6 bb 71, I'm wondering if a script can be made so that it doesn't shut of music when screen times out.
Click to expand...
Click to collapse
You can either try seeing the screen timeout section has a never time out option or go under settings-applications-development-then hit the stay awake option.
Sent from my ATRIX 4G XDA Premium App
thanx for giving me those suggestions but they don't solve my problem. I don't need the screen to stay on , i need the streaming music to keep playing when the screen times out, like it would happen when you listen to music on the music app. For some reason if you listen to something with an app you can still listen to it when the screen times out , but if its through the browser it stops playing when the screen times out.

Any app that locks the phone but allows Netflix to still play?

I have been googling for about an hour now and the best I have found was this:
http://forum.xda-developers.com/showthread.php?t=1656269
This will lock the screen but not the buttons while watching Netflix and has not been updated in a while.
Basically I have a toddler that likes to watch Netflix on my phone but also likes messing with the buttons so it messes up the Netflix playback and I have to go back and restart it.
There are parental control apps that will restart apps when that happens but I would think there would be an app that would disable touch and buttons while Netflix still plays. I know that several media players will still play video when you lock the phone, so it's possible.
Anybody know of anything?
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
Why not put boxing gloves on the lovely child? I'm just playing.
Damn, that's a good idea!
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
that would be a great app. make sure you change your netflix setting to only run wifi unless you have unlimited data. my son will burn through half my data on netflix if i forget to tunr my wifi on.
oklahemi said:
that would be a great app. make sure you change your netflix setting to only run wifi unless you have unlimited data. my son will burn through half my data on netflix if i forget to tunr my wifi on.
Click to expand...
Click to collapse
It would be a great app. I still have unlimited data that isn't really unlimited thanks to the 5gb cap.
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
I've wanted something like this for a while. In general, I would love to be able to play on movie on my app of choice and keep my my son from using any of the buttons. Having some sort of finger swipe gesture to exit the "lock" would seem like a logical choice for such an app.
Has anybody ever found a way of doing this? It works on iPhones so it surely must be possible on androod

[Q] The best way to stream music from youtube in background on any android device

Hi,
I have been a silent reader/observer of xda forums for a long time now and I thank everyone of the awesome developers out there for giving such good ROMs.
I've been meaning to ask this question for a long time but I was delaying it hoping I can get an answer for it myself. But today after spending close to 5 hrs on this with no answer I decided to ask it here.
I'm a music fan and I'd like to listen to it on my phone as well. I have an HTC One XL with the latest Viper ROM.
I have tried the following options.
1. Downloaded numerous apps (PVStar, NextVid and the likes). Some worked but not to my satisfaction. They're either very laggy or buggy or have unattractive UI to use.
2. Visited sites like youtify.com and tried on various browsers. (Chrome, firefox, UC, Dolphin, Opera etc.) hoping it won't stop playing audio when switched to another app or screen locked. On chrome and all the others it just stops playing audio when you switch to another app. On firefox it works but when screen is locked, audio becomes choppy (app's priority gets lower I think slowly). I tried to search for apps which can keep an app's priority higher but in no vain.
3. I also tried to find alternatives to Youtube like grooveshark app but it just keeps crashing whenever other apps are launched. I also tried Radio apps like TuneIn radio or pandora but you can't search for specific songs there.
P.S: Also some YouTube videos are specifically blocked by Google itself to not stream it to other apps/sites I think. How can we avoid this?
So, basically my problem is I need to be able to search and stream Youtube videos (Preferably have my own saved playlists) on my android phone while the screen is locked or in background while accessing other apps. (I know google is trying to bring 'play in background' feature to YouTube app itself but we can't create playlists there if I'm not wrong). Please suggest me a solution.
Thanks.
http://www.makeuseof.com/tag/play-youtube-videos-background-even-screen/
or
http://forum.xda-developers.com/showthread.php?t=2213945
es0tericcha0s said:
http://www.makeuseof.com/tag/play-youtube-videos-background-even-screen/
or
http://forum.xda-developers.com/showthread.php?t=2213945
Click to expand...
Click to collapse
Thanks for a lot for the links. Tried both but the first one (Viral) is not so stable. It crashes often and a pain to use. However the second option (Modded youtube APK) seems to be the best option. I can have my own playlists saved in my youtube account and play them using this modded youtube app. The music will continue to play even when screen is locked but the app must be in the foreground. The moment you switch to another app or press home button or even pressing "back" within youtube, it stops.
It's a solution I can live with for now, but I would love to have something which can run even when in background. Suggestions welcome.
Thanks.
[BUMP] Any youtube modded APK?
Trying to bump up this as I wasn't able to find a modded youtube APK which can continue to run in background (i.e. even after pressing home button and accessing other apps). Right now the modded APK only allows screen to be locked but the app should remain in foreground.
And the youtube APK also doesn't play all files in playlist. It plays just one file that we select and stops after that even though there are other items in the playlist.

App crashes

So I know I shouldn't expect much from the hardware site of the phone, but even when I just do easy multitasking like if I'm in facebook for a while and the swap over to snapchat via the multitask menu, it usually has shut down snapchat by itself so the app has to restart? Same thing happens with almost every app.
Also with spotify for example if I have to other apps running and swap a little between them in the end spotify will force close, this has not happened to me on any other device not even on my galaxy nexus.
So does this happen to others than me? I mean a light use of multitask it can't handle...
Other than that I sure do love this phone
Also how can it be when I turn up for the volume playing a YouTube video, listening to spotify, Google play music and so on, it pauses the video/song? Check through all settings can't seem to find anything.
Sent from my LG-D620 using XDA Premium 4 mobile app

Categories

Resources