Android Question

How to download Youtube video in android SD card programaticaly

I have YouTube link "https://www.youtube.com/watch?v=ySuYTKkgIvg"

How can I store this video from YouTube to my SD card ?

I can play video using YouTube player by android YouTube DATA API but don't know how to download it
is any API / code who can help me to do this ?

Answer

Youtube API allows you to search & list videos and obtain the mediaplayer URL, so that you can play videos within your web page.

Look here for downloading video from Youtube

Youtube Video Data API

Youtube Java Data API - Getting Started

It does not allow you to download the byte content of videos - because Google is protecting their own rights and the rights of the content creators.

Youtube Google API Terms of Service

Comments