It is a light weight library to download YouTube video as mp3 files
Created By
How to Download
Gradle:
compile 'com.ajts.androidmads.youtubemp3:youtubemp3:1.0.0'
Maven:
<dependency>
<groupId>com.ajts.androidmads.youtubemp3</groupId>
<artifactId>youtubemp3</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>
How to use this Library:
This Library is used to download mp3 file from youtube video link.
new YTubeMp3Service.Builder(MainActivity.this)
.setDownloadUrl("https://youtu.be/nZDGC-tXCo0")
.setFolderPath(new File(Environment.getExternalStorageDirectory(), "/YTMp3/Downloads").getPath())
.setOnDownloadListener(new YTubeMp3Service.Builder.DownloadListener() {
@Override
public void onSuccess(String savedPath) {
Log.v("exce", savedPath);
progressDialog.dismiss();
}
@Override
public void onDownloadStarted() {
}
@Override
public void onError(Exception e) {
Log.v("exce", e.getMessage());
progressDialog.dismiss();
}
}).build();
Download From Github
Share this
2 comments
commentsI have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think. buy youtube views
ReplyIf you’re looking for quality guest posts to be posted content on top media publications to boost your SEO safely, build brand awareness, and gain natural traffic, you’ve come to the right experts to increase your website findability! Boost your SEO safely!
ReplyPlease Comment about the Posts and Blog