Browse Source

Embed latest app and search module version indicator directly in the repo.

pull/256/head
Eric Kok 10 years ago
parent
commit
a8dad0aac3
  1. 4
      app/build.gradle
  2. 4
      app/src/main/java/org/transdroid/core/service/AppUpdateService.java
  3. 1
      latest-app.html
  4. 1
      latest-search.html

4
app/build.gradle

@ -8,8 +8,8 @@ android { @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 22
versionCode 221
versionName '2.5.1'
versionCode 222
versionName '2.5.2'
}
buildTypes {
release {

4
app/src/main/java/org/transdroid/core/service/AppUpdateService.java

@ -50,8 +50,8 @@ import android.net.Uri; @@ -50,8 +50,8 @@ import android.net.Uri;
@EService
public class AppUpdateService extends IntentService {
private static final String LATEST_URL_APP = "http://www.transdroid.org/update/latest-app.php";
private static final String LATEST_URL_SEARCH = "http://www.transdroid.org/update/latest-search.php";
private static final String LATEST_URL_APP = "https://raw.githubusercontent.com/erickok/transdroid/master/latest-app.html";
private static final String LATEST_URL_SEARCH = "https://raw.githubusercontent.com/erickok/transdroid/master/latest-search.php";
private static final String DOWNLOAD_URL_APP = "http://www.transdroid.org/latest";
private static final String DOWNLOAD_URL_SEARCH = "http://www.transdroid.org/latest-search";

1
latest-app.html

@ -0,0 +1 @@ @@ -0,0 +1 @@
222|2.5.2

1
latest-search.html

@ -0,0 +1 @@ @@ -0,0 +1 @@
24|3.2
Loading…
Cancel
Save