Going with my theme of breaking Google’s policies, I have written a concurrent video downloader for Android that uses Go routines, Kotlin coroutines and a fantastic Go library to download all video files in the background.
It uses Go/Java call backs to send messages between the Go processes and the Java UI and Common Pool threads.
The full source code is here: https://github.com/wilyarti/video-saver
The apk is here: https://hashtree-public.nyc3.digitaloceanspaces.com/apk/youtube_downloader_1.apk
This app bypasses YouTube ads and saves the files to the phone’s memory. This breaches YouTube’s policies. I provide it for educational purposes only and accept no liability.
To use either paste in the URL and click download or use the “share” feature inside the YouTube app and select “YouTube Video Downloader”.