aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-24 09:00:06 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-24 09:00:06 -0700
commit6a67a4713421d1565953e59140f23240346c3526 (patch)
treea479852cee1433cf948198924c85fcb7a217931b /subsonic-android/src/github
parente0aa0774ae962afdcfbfe4cd40d3c77aa55c61fb (diff)
downloaddsub-6a67a4713421d1565953e59140f23240346c3526.tar.gz
dsub-6a67a4713421d1565953e59140f23240346c3526.tar.bz2
dsub-6a67a4713421d1565953e59140f23240346c3526.zip
Fix first run case
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
index 059db330..d1c22fea 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
@@ -262,6 +262,11 @@ public class MainActivity extends SubsonicActivity {
if (!prefs.contains(Constants.PREFERENCES_KEY_OFFLINE)) {
SharedPreferences.Editor editor = prefs.edit();
editor.putBoolean(Constants.PREFERENCES_KEY_OFFLINE, false);
+
+ editor.putString(Constants.PREFERENCES_KEY_SERVER_NAME + 1, "Demo Server");
+ editor.putString(Constants.PREFERENCES_KEY_SERVER_URL + 1, "http://demo.subsonic.org");
+ editor.putString(Constants.PREFERENCES_KEY_USERNAME + 1, "android-guest");
+ editor.putString(Constants.PREFERENCES_KEY_PASSWORD + 1, "guest");
editor.putInt(Constants.PREFERENCES_KEY_SERVER_INSTANCE, 1);
editor.commit();
}