For those who want to create a movie and video app This is a useful library. No need to look at ads You can download the link directly and download the link directly Show live with your own player? You can use it as you see fit. Currently ten sites are:
- 1. Google Drive
- 2. DailyMotion
- 3. Google Photos
- 4. Mp4Upload [OK 06/04/2022]
- 5. Facebook [OK 06/04/2022]
- 6. Mediafire [OK 06/04/2022]
- 7. Ok.Ru
- 8. VK [OK 06/04/2022]
- 9. Twitter [OK 06/04/2022]
- 10.
Youtube - 11. SolidFiles [OK 06/04/2022]
- 12. Vidoza
- 13. UptoStream
- 14. SendVid [OK 06/04/2022]
- 15. FanSubs [OK 06/04/2022]
- 16. Uptobox
- 17. FEmbed [OK 06/04/2022]
- 18. FileRio
- 19. MegaUp
- 20. GoUnlimited [OK 06/04/2022]
- 21. CocoScope
- 22. VidBM
- 23. Vlare
- 24. pStream
- 25. Vivo.sx
- 26. VideoBin
- 27. BitTube
- 28. 4Shared
- 29. StreamTape [OK 06/04/2022]
- 30. Vudeo
- 31. ZippyShare [OK 07/04/2022]
- 32. MixDrop
- 33. MegaNZ
- 34. YourUpload
- 35. GoCDN
- 36. StreamSB [OK 01/07/2022]
All of these sites provide direct links to ads without the need to view ads. We will add other free video uploading sites :) So you do not need to buy a host for the Video Sharing App;)
From the first ** build.gradle (project) **
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" } //Add this
}}
Then from ** build.gradle (app) **
dependencies {
implementation 'com.github.eme22:xGetter:3.2.15'
}
For Android Studio users, please Sync Now **. If you are an AIDE user, please save and download. **Note. You need to have internet enabled **
In ** AndroidManifest.xml **
<application .....
android:usesCleartextTraffic="true">
You need to add
Then from the Activity you want to call
LowCostVideo xGetter = new LowCostVideo(this);
xGetter.onFinish(new LowCostVideo.OnTaskCompleted() {
@Override
public void onTaskCompleted(ArrayList<XModel> vidURL, boolean multiple_quality) {
if (multiple_quality){ //This video you can choose qualities
for (XModel model : vidURL){
String url = model.getUrl();
String cookie = model.getCookie(); //If google drive video you need to set cookie for play or download
}
}else {//If single
String url = vidURL.get(0).getUrl();
}
}
@Override
public void onError() {
//Error
}
});
Because Okhttp3 is used ** proguard-rules.pro ** is required.
# JSR 305 annotations are for embedding nullability information.
-dontwarn javax.annotation.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
-dontwarn org.codehaus.mojo.animal_sniffer.*
# OkHttp platform used only on JVM and when Conscrypt dependency is available.
-dontwarn okhttp3.internal.platform.ConscryptPlatform
Easy to use :)
- Example APK => https://drive.google.com/file/d/1LQCJLuYkSqyd35q49QjvsDvGhBZxUv-X/view?usp=sharing
- Repo => https://github.com/eme22/xGetter/
#HtetzNaing #XGetter #2022