Sunday, January 20, 2019

Android: Youtube background/screen-off player

Features to seek:
- background/screen-off play
- download audio/video without log in
UPDATE: the winner is YMUSIC

Top Best YouTube App Alternatives for Android 5 Apr, 2019

How to YT on Android in 2019
With these three apps you will turn your phone into a media powerhouse.
Main player - YouTube Vanced https://vanced.app/
Download videos or audio - NewPipe https://newpipe.schabi.org/
Play just the audio from videos - YMusic https://ymusic.io/

Related
---------
Can someone explain what exactly is microg? 
The Free software part of Android is [AOSP](https://source.android.com/), above that most phones sold in the market (except in China) come with Google's Play Services preinstalled (not to be confused with Play Store).
Play Services is a proprietary layer that gives programmer easy access to Google's services like location based on Wi-Fi or a centralized system for notifications (when Whatsapp notifies you about a new message, that information has gone through Google's servers) and other things.
You don't need to use it to program an Android App, but since Play Services is ubiquitous many developers give it for granted and program in a way that their Apps become dependent of this proprietary layer, so a person that prefers not to use this in their phone (often for privacy) might not be able to use some features or some Apps that promise to be Android compatible. This can happen even with some Free Apps from [F-droid](https://f-droid.org/).
To solve this issue MicroG was created, it tricks the Apps and makes them think that Play Services is available, and provides them the requested functionality by other means, either by using Free libraries that do the same job, or by giving access to alternative services, like Mozilla's location service for example. Sometimes there is no suitable alternative and MicroG allows you to grant access to the Apps to certain services offered by Google, this is optional.
Installing it is not easy because it needs to become part of the system, it's much easier to use a ROM that already has it preinstalled, like [LineageOS for MicroG](https://lineage.microg.org/) (a fork of LineageOS with MicroG preinstalled). Once installed you don't need to do anything but putting the settings to your liking.
If you don't have Play Services you probably don't have Play Store either, it wouldn't make much sense, people that use MicroG usually prefer Free Software Apps from [F-Droid](https://f-droid.org/) and if for some reason they need/want an App only available in Play Store they use an alternative like [Yalp Store](https://f-droid.org/en/packages/com.github.yeriomin.yalpstore/), which downloads the apks directly from Play Store's servers and keeps track of upgrades automatically for you.



No comments:

Post a Comment