Skip to content

Update for pyload-ng, replace Thrift client with REST client #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
### pyLoad Android Client

This is the official Android client for the **pyLoad** Download Manager. You need to have pyLoad running on your pc or server.
This is the official Android client for the **pyLoad-ng** Download Manager. You need to have pyLoad running on your pc or server.
In case you don't already have it, download it from https://pyload.net, its free, open-source and available for many platforms.

Please report any issues with the client here: https://github.com/pyload/pyload-android/issues

In order to use the Android client make sure the newest pyLoad Core with version 0.4.9 and up is running on your system, accessible over the network, the ip/hostname is correct, and the port forwarded if necessary.
In order to use the Android client make sure the newest pyLoad Core with version 0.5 and up is running on your system, accessible over the network, the ip/hostname is correct, and the port forwarded if necessary.

#### Features
- Modern UI (Android 4+ components)
Expand Down
13 changes: 9 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 30
buildToolsVersion "30.0.2"

defaultConfig {
applicationId "org.pyload.android.client"
minSdkVersion 17
minSdkVersion 21
targetSdkVersion 30
}

Expand All @@ -18,13 +17,19 @@ android {
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}

dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.activity:activity:1.3.0'
implementation 'org.slf4j:slf4j-android:1.6.1-RC1'
implementation 'com.squareup.retrofit2:retrofit:2.11.0'
implementation 'com.squareup.retrofit2:converter-gson:2.11.0'
implementation 'com.squareup.retrofit2:converter-scalars:2.11.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
implementation 'io.gsonfire:gson-fire:1.9.0'
}
5 changes: 3 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.pyload.android.client"
android:versionCode="21"
android:versionName="0.3.8">
android:versionCode="22"
android:versionName="0.4.0">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
Expand All @@ -12,6 +12,7 @@
android:name="pyLoadApp"
android:icon="@drawable/ic_launcher"
android:allowBackup="true"
android:usesCleartextTraffic="true"
android:theme="@android:style/Theme.DeviceDefault">
<activity android:name=".pyLoad"
android:label="@string/app_name">
Expand Down
42 changes: 0 additions & 42 deletions app/src/main/java/org/apache/commons/codec/BinaryDecoder.java

This file was deleted.

42 changes: 0 additions & 42 deletions app/src/main/java/org/apache/commons/codec/BinaryEncoder.java

This file was deleted.

126 changes: 0 additions & 126 deletions app/src/main/java/org/apache/commons/codec/CharEncoding.java

This file was deleted.

55 changes: 0 additions & 55 deletions app/src/main/java/org/apache/commons/codec/Decoder.java

This file was deleted.

Loading