Android is not multitaskig ? no simultaneously running apps - Android Software/Hacking General [Developers Only]

Hi,
I got both Asus Transformer with Honeycomb 3.2 and Galaxy S2 with 2.3.4
Neither of them is multitasking ?? I can't listen to the music and e.g. read
emails or use any other app. Going to emails will stop music, youtube etc..
It rather 'parks' apps and not runs nor stop them.
With both of devices running on dual core CPUs this is quite disappointing.
Is there a way, a flag or setting somewhere in the OS to enable real multitasking ?
Thanks

when you switch from one application to another, are you using the back button or home button? the back button ends your application while the home button leaves your application as it is

Thanks,
I see now the stock audio player works in background when using home button.
Youtube doesn't. some apps seem to be privileged to run in background and other are not.

smartin said:
Thanks,
I see now the stock audio player works in background when using home button.
Youtube doesn't. some apps seem to be privileged to run in background and other are not.
Click to expand...
Click to collapse
not exactly. I mean, it doesn't make sense to have a video running in the background right?
Sent from my LG-P500 using XDA Premium App

sweetnsour said:
the back button ends your application while the home button leaves your application as it is
Click to expand...
Click to collapse
Not exactly. It all depends on the application - apps have full control over a back button, it can't kill them. But many apps exit themselves on back button.
smartin said:
Youtube doesn't. some apps seem to be privileged to run in background and other are not.
Click to expand...
Click to collapse
Youtube doesn't because Google has implemented it that way. Most of users don't want to play videos in the background, so Youtube app automatically stops playback when going background.

sweetnsour said:
not exactly. I mean, it doesn't make sense to have a video running in the background right?
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
It makes perfect sense. I usually have music videos running in the background. It awesome and im disappoied that my asus tf101 running honeycomb 3.2 doesn't allow me to run awesome music in the background. rage!

Why don'y you convert it to mp3?
or, if you want to keep it, I think Meridian Media Player can play video files as mp3.

There is so many songs that are on youtube and there are some cool playlists too. i spose its kinda like a cloud but a universal cloud at that. This docking keyboard is sooooooo slow and the cursor keeps jumping to the browser http: Plus why when i hit spacebar does the input do irregular things. For example: when using youtube i cannot use spacebar on docking board i have to use onscreen keyboard. so annoying. Sorry asus tf101 honeycomb but you may be a dudddd or i this particular tf101 needs taking back and replacing.
sorry for bad english in above text but yea keyboard is playing up.

Related

[Q] Browser multi tasking

Sometimes whilst surfing the net i like to listen to Youtube while using another webpage to surf at the same time,trying to do this on my Asus but it shuts down the sound immediatley.
Is there a workaround available for me to listen to Youtube while surfing?
I assume you're using the stock broswer, and switching tabs? That's weird - and unfortunate - behaviour, as I like to do the same thing (though I haven't got my Transformer just yet).
Did you try maybe using the youtube app while browsing with the browser? It probably won't work, but it is worth a shot.
I don't have my TF in front of me, but did you try using youtube in browser instead of the app? I know the app sound shuts off, but its worth a try.
Yeah i've tried both ways and also tried using Firefox and Dolphin browsers but they all cut the sound out when you open up another tab.
Hasn't anybody else experienced this?​
I have. I watch a lot of Flash live streaming (StarCraft 2 live streams), and every time I want to check IRC, I have to close the browser, which causes the Flash process to freeze. The same thing applies to the YouTube app. This is by design, and I cannot think of any way to fix it.
Really unfortunate, tbh.
rogmar said:
Hasn't anybody else experienced this?​
Click to expand...
Click to collapse
Yes, i have as well. The tablet doesn't do true multitasking as would a desktop pc. You can't have two tabs open that are actually streaming information at the same time.
I like to play music from one tab and work in another just like you, and the TF won't do this. It's like with the ipad or iphone, they don't actually multitask, they sort of freeze your apps until you open them again.
yea. noticed that yesterday...
sucks.
opened youtube to listen to a song, opened a second tab for guitartabs..
when i switched to the tabs..sound muted.
wtf transformer. transform your ass into a good buy..lol
turbulent28 said:
yea. noticed that yesterday...
sucks.
opened youtube to listen to a song, opened a second tab for guitartabs..
when i switched to the tabs..sound muted.
wtf transformer. transform your ass into a good buy..lol
Click to expand...
Click to collapse
I don't believe its a transformer thing, thats Honeycomb.
Well if pandora can stream music in he background it is the apps doing. The developer designed the app that way so the app will not eat the batt and the cpu cycles when left open.
Otherwise a user would need to remember to close youtube correctly with an exit button or suffer a dead batt or slow tab.
Sent from my SPH-D700 using XDA Premium App
As previously mentioned, this is by design. I don't think that will change. These devices are meant to conserve power while giving good performance. Why waste it decoding video when it is not being watched? The device does do true multitasking so a browser of this nature is certainly possible. Music will play in the background just not video.
The flash layer hibernates when it's no longer in the foreground. It's by design.
kumarshah said:
I don't believe its a transformer thing, thats Honeycomb.
Click to expand...
Click to collapse
Ya, its battery management.
Ask in dev forum if someone can make an app to play youtube in background.
There is a post in the Xoom forums where is works with a particular browser and HC 3.1. http://forum.xda-developers.com/showpost.php?p=13916886&postcount=68
I was streaming the "This is my Next Podcast" in a browser tab (Dolphin Browser HD) switching between tabs and apps with no problems yesterday. Maybe it's a settings issue, though I never made any significant changes so I don't know what it would be. I do use a desktop user agent... hmm, I'll try it again to make sure it wasn't an anomoly.
Sent from my Transformer TF101 using Tapatalk
Yep, doing it right now. Running .13 w/ Dolphin HD Browser.
Sent from my Transformer TF101 using Tapatalk
It must just depend on the player, some flash content may just be a no go.
Sent from my Transformer TF101 using Tapatalk
Skype works
I can confirm that xformer can multi-task no problem, but seems to be dependent on the app. E.g. Skype works fine. I can have a video call going in the background, the other party can see me and we can keep talking, while I can go to home screen, fire up the browser and start surfing. Does not work for Youtube. via the app or the browser's built-in. In fact the browser (built-in) itself seems incapable, i.e. anything running on the browser shuts down, if the task is switched away. This also applies to tabs, i.e. if I fire up two tabs at the same time loading content, only the tab on focus continues to load, while the other ones go on a "paused" state. I haven't checked with Opera Mobile (flash is dead slow on any browser other than the built-in one), so I hardly use Opera Mobile.
I think pandora works in the bg as well. But I wasn't able to get the music player going on the background. I haven't tried Amazon mp3 player in the bg yet.
My2c.

Music (through browser) while sleeping?

Are there any mods or apps that allow you to select which programs you would like to run in the background?
I like using dolphin hd browser to listen to music through different websites but when my phone goes to sleep it cuts them off from playing.
any ideas?
thanks
chris
are you sure the website doesn't have an app?
sorry about the not so good reply.
clk5068 said:
Are there any mods or apps that allow you to select which programs you would like to run in the background?
I like using dolphin hd browser to listen to music through different websites but when my phone goes to sleep it cuts them off from playing.
any ideas?
thanks
chris
Click to expand...
Click to collapse
Use Miren Browser
Doesn't juice defender have some settings like that? May give it a try.
Sent from my SCH-I510 using XDA Premium App
First. This thread needs to be in general.
2nd. It makes more sense to use the android app associated with the website for streaming media. There are multiple apps that support shoutcast. There is the digitally imported app for streaming techno and trance. There is also slacker and Pandora. All of these Apps will stream audio while phone is in sleep mode.
Sent from my SCH-I510 using XDA App

[Q] Listening music and watching YouTube.

Hi could someone tell me how I can listen music and watch YouTube at some time because when press play yt or Spotify second app stops play. And second how I can make split screen with 2 different apps don't see option for this only when using Gmail and click link. And last thing I am using swift key and if try to type in multi Windows apps keyboard starts hiding, so need close apps when typing
neomesjasz said:
Hi could someone tell me how I can listen music and watch YouTube at some time because when press play yt or Spotify second app stops play.
Click to expand...
Click to collapse
I can have Youtube and N7player playing at the same time without issue, so long as I keep the Youtube app as the top active app. Leaving it pauzes it. The Youtube app is apparently not capable of playing in the background. (Or I just haven't enabled that. I never use Youtube. Or Spotify. Or Deezer. Or any other streaming service.)
And second how I can make split screen with 2 different apps don't see option for this only when using Gmail and click link.
Click to expand...
Click to collapse
Drag the notification bar down with two fingers. Turn Multwindow on (if it's already on, leave it on.). Close the notification bar.
Hold the Back key (right softkey) or swipe from the right edge. This'll open the sidebar. From there, drag the icons onto the screen.
You can open up to 4 windows simultaneously.
And last thing I am using swift key and if try to type in multi Windows apps keyboard starts hiding, so need close apps when typing
Click to expand...
Click to collapse
Swiftkey has never supported MultiWindow. They mention it in their FAQ.

How to enable YouTube playback in background ?

Coming from an iPhone 7 Plus, I used the feature of YouTube playing in the background on a daily basis.
On Android I start playing a news clip or song then tab out to my web browser or stop watch, or any other app, and the media goes off.
How do I keep YouTube playing the background ?
The only way on YouTube app is by having YouTube Red subscription. It's a feature for red on Android. Others could point something out but from what I've checked and seen when using YouTube is by YouTube Red.
Sent from my Samsung SM-G955U using XDA Labs
Not sure that its possible without root and xposed. Xposed hasn't been updated to work with Nougat yet though and that could still be some time away unfortunately. Might just have to live with it as is for the time being.
Thanks for the replies. I recall on previous Android phones that are rooted I used that Xposed module. But Xposed isn't compatible with Android N and the S8+ is locked down no root anyways for me.
Dang, that's unfortunate. YouTube Red might be your best bet then. Depends on how much you want it and whether you're willing to pay a monthly subscription to get it I suppose.
Sometimes I use the multi window feature to watch YouTube videos while using another app. It is a bit of a pain though if you just want audio as the minimum window size is still 1/3 of the screen.
I've tried a few apps that claim to play YouTube videos in the background but none of them worked very well.
There a app call OG YouTube somewhere in xda that have playback.
Try swapping top corning down to make the screen smaller. You can still hear and see the video and also move the smaller screen anywhere you want.
Use Firefox browser. It let's you play YouTube in background or screen off
Sent from my SM-G955U using Tapatalk
Zorachus said:
Coming from an iPhone 7 Plus, I used the feature of YouTube playing in the background on a daily basis.
On Android I start playing a news clip or song then tab out to my web browser or stop watch, or any other app, and the media goes off.
How do I keep YouTube playing the background ?
Click to expand...
Click to collapse
Can you explain how it works on iOS? It seems crazy to me that YouTube requires you to pay a monthly subscription fee for background play on Android, but offers it for free on iOS.
If you mean playing within a web browser, and then going to another tab of the browser, I think Firefox for Android allows you to do that. If, instead, you mean the YouTube app itself, then you need YouTube red or some other (probably unsanctioned) method.
d_phekt said:
Use Firefox browser. It let's you play YouTube in background or screen off
Sent from my SM-G955U using Tapatalk
Click to expand...
Click to collapse
I just install Firefox started to play a YouTube video and then back to the home screen but the music turned off
eyc said:
Can you explain how it works on iOS? It seems crazy to me that YouTube requires you to pay a monthly subscription fee for background play on Android, but offers it for free on iOS.
If you mean playing within a web browser, and then going to another tab of the browser, I think Firefox for Android allows you to do that. If, instead, you mean the YouTube app itself, then you need YouTube red or some other (probably unsanctioned) method.
Click to expand...
Click to collapse
On my iPhone 7 Plus, I was using some program called 'ProTube' on stock iOS, not jailbreak or anything;
https://itunes.apple.com/us/app/protube-for-youtube/id931201696?mt=8
I could start a video, and then move to do something else, and it would remain playing in the background until I manually closed it down. I get so used to it, and really liked it, now it's a shock not to have something like it on Android.
Basic11 said:
There a app call OG YouTube somewhere in xda that have playback.
Click to expand...
Click to collapse
Yep you have to download the APK. They stopped support so the latest APK would be the last one you can use.
So you have to search XDA as the website took down the download links for OGYoutube.
The app still works without problems and should be a while until YouTube updates something to make it obsolete.
The lat update is OGYoutube 3.5.
Only thing is that you won't have the crop to fit. If in case you used it.
Sent from my Samsung SM-G955U using XDA Labs
Zorachus said:
I just install Firefox started to play a YouTube video and then back to the home screen but the music turned off
Click to expand...
Click to collapse
I couldn't get it to work at first either. Try going to options in Firefox and check "Request desktop site". After doing that I was able to return to the home screen with the audio still playing in the background. It seems to work with the screen off as well! :good:
Go to Youtube app, play video then turn off screen with the power button (just a click). Video will pause. Click on power button again and youll see time on top. Swipe the time left or right and youll see the youtube play button . Click play and it should work. It will not work any other way if you want to text or call or be on your phone but it will if you want to hear music and conserve battery. This is on my S8+ .....PS make sure your Pandora or any other music app is off.
ann0nymous said:
Go to Youtube app, play video then turn off screen with the power button (just a click). Video will pause. Click on power button again and youll see time on top. Swipe the time left or right and youll see the youtube play button . Click play and it should work. It will not work any other way if you want to text or call or be on your phone but it will if you want to hear music and conserve battery. This is on my S8+ .....PS make sure your Pandora or any other music app is off.
Click to expand...
Click to collapse
This didn't work for me. I saw the play for YouTube but it doesn't do anything.
•Uninstall YouTube.
•Download the magisk module from @Anova's Origin
https://drive.google.com/open?id=0B8lY7pYQ4GSzQVdJR09QcEtfalU
•Open Magisk, go to 'modules' and click the yellow + sign at the bottom. Select iYTBP 12.19.56 arm64 - Magisk.zip and choose 'open'
Reboot and enjoy ;]
dynospectrum said:
•Uninstall YouTube.
•Download the magisk module from @Anova's Origin
https://drive.google.com/open?id=0B8lY7pYQ4GSzQVdJR09QcEtfalU
•Open Magisk, go to 'modules' and click the yellow + sign at the bottom. Select iYTBP 12.19.56 arm64 - Magisk.zip and choose 'open'
Reboot and enjoy ;]
Click to expand...
Click to collapse
You can't do this on snapdragon versions, which is what op has.
You have to choose desktop mode in the Firefox browser. I know how you feel I switched from iPhone as well
og youtube works like a charm

[No Root] Youtube Background (Trick)

Hello ,The trick works on the galaxy s8 and s8 +, with any official youtube version.
To be able to do the youtube trick in the background without root, do the following:
● Open the application in the normal way.
● Select the video of your choice.
● leave the video playback.
● Go to the beginning, without closing the multitasking.
□ Here are two options to activate youtube in the background:
1-Through the play button of the headphones that we have connected to the phone.
● Close the default music player on your phone, since it is activated; When you press the play button on the headphones, the music player will be activated and youtube will not be activated.
2-Lock the screen and move the clock widget to the left, the youtube widget appears on the play button and ready; This option works without headphones or headphones.
◇Important never close youtube in multitasking.
□Luck ^-^.
Issei Aono 17 said:
Hello ,The trick works on the galaxy s8 and s8 +, with any official youtube version.
To be able to do the youtube trick in the background without root, do the following:
● Open the application in the normal way.
● Select the video of your choice.
● leave the video playback.
● Go to the beginning, without closing the multitasking.
□ Here are two options to activate youtube in the background:
1-Through the play button of the headphones that we have connected to the phone.
● Close the default music player on your phone, since it is activated; When you press the play button on the headphones, the music player will be activated and youtube will not be activated.
2-Lock the screen and move the clock widget to the left, the youtube widget appears on the play button and ready; This option works without headphones or headphones.
◇Important never close youtube in multitasking.
□Luck ^-^.
Click to expand...
Click to collapse
Or you can just use an app called NewPipe
Sent from my SM-G930F using Tapatalk
yamato047 said:
Or you can just use an app called NewPipe
Click to expand...
Click to collapse
Yes (⌒‿⌒), but it is more comfortable, do it this way, than downloading another app .
Issei Aono 17 said:
Yes (⌒‿⌒), but it is more comfortable, do it this way, than downloading another app .
Click to expand...
Click to collapse
Not really, app is very lightweight and is way mkre convenient to use without relying on any bugs in the system. It also lets you download the videos in multiple qualities.
Sent from my SM-G930F using Tapatalk
Issei Aono 17 said:
Hello ,The trick works on the galaxy s8 and s8 +, with any official youtube version.
To be able to do the youtube trick in the background without root, do the following:
● Open the application in the normal way.
● Select the video of your choice.
● leave the video playback.
● Go to the beginning, without closing the multitasking.
□ Here are two options to activate youtube in the background:
1-Through the play button of the headphones that we have connected to the phone.
● Close the default music player on your phone, since it is activated; When you press the play button on the headphones, the music player will be activated and youtube will not be activated.
2-Lock the screen and move the clock widget to the left, the youtube widget appears on the play button and ready; This option works without headphones or headphones.
◇Important never close youtube in multitasking.
□Luck ^-^.
Click to expand...
Click to collapse
Thanks that was useful
Sent from my SM-G955F using Tapatalk
yamato047 said:
Not really, app is very lightweight and is way mkre convenient to use without relying on any bugs in the system. It also lets you download the videos in multiple qualities.
Click to expand...
Click to collapse
I will try the application thanks .
yamato047 said:
Not really, app is very lightweight and is way mkre convenient to use without relying on any bugs in the system. It also lets you download the videos in multiple qualities.
Sent from my SM-G930F using Tapatalk
Click to expand...
Click to collapse
This is not a bug. It has been there ever since the Galaxy S6 It's also there on Windows Phone and on the latest iOS ^^ It's a basic feature that is enabled in the exact way on all major smartphone OS'
tuk1maar said:
This is not a bug. It has been there ever since the Galaxy S6 It's also there on Windows Phone and on the latest iOS ^^ It's a basic feature that is enabled in the exact way on all major smartphone OS'
Click to expand...
Click to collapse
Never used this on my s6
Sent from my SM-G955F using Tapatalk
tuk1maar said:
This is not a bug. It has been there ever since the Galaxy S6 It's also there on Windows Phone and on the latest iOS ^^ It's a basic feature that is enabled in the exact way on all major smartphone OS'
Click to expand...
Click to collapse
If it wasn't a bug, why would Google make it a paid option included in youtube red subscription? Windows phone doesnt even have an official app for youtube so developers have implented it into their apps long before it was a thing on Android. I havent had an iOS device but a friend of mine confirms that the official youtube app doesnt support background play either so he has to use either Safari or some third party app.
Sent from my SM-G930F using Tapatalk
why not youtube red. i havent paid for youtube red since it started. they always offer 4 month of googlemusic which include youtube red. just switch to different email. i have 3 gmail and i have been rotating everytime one expires. it says is for new user but if uhavent use the same email for over 6 month it will let u reuse it
YouTube red is not available in most countries.
It doesn't work on latest update S8 stock ROM...EU

Categories

Resources