From a2601c91d6652ec942bba2e6fb91a584cface153 Mon Sep 17 00:00:00 2001 From: andycheng Date: Sun, 26 Mar 2017 21:33:47 +0800 Subject: [PATCH] Fix online version issue. --- app/build.gradle | 4 ++-- .../java/com/oddsoft/buddhavoice2/view/VoiceListener.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 543e8df..88e8bab 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.oddsoft.buddhavoice2" minSdkVersion 16 targetSdkVersion 21 - versionCode 37 - versionName '2.5.3.032617BV' + versionCode 38 + versionName '2.5.4.032617BV' } buildTypes { release { diff --git a/app/src/main/java/com/oddsoft/buddhavoice2/view/VoiceListener.java b/app/src/main/java/com/oddsoft/buddhavoice2/view/VoiceListener.java index 4f34aed..a1c5d4d 100755 --- a/app/src/main/java/com/oddsoft/buddhavoice2/view/VoiceListener.java +++ b/app/src/main/java/com/oddsoft/buddhavoice2/view/VoiceListener.java @@ -260,7 +260,8 @@ private void playMusic(int itemnumber, String itemname) { //if (onlinePreference.equals("google")) // PATH = "http://sites.google.com/site/androidbuddhavoice/" + mp3 + "?attredirects=0&d=1"; //if (onlinePreference.equals("dropbox")) - PATH = "http://dl.dropbox.com/u/128583/" + mp3; + PATH = "https://dl.dropboxusercontent.com/s/7u8gschi6wksmow/" + mp3; + //PATH = "http://www.filefactory.com/stream/23fccglfek8d/great1.mp3"; } stopMusic(); startMusic(resId);