Permalink
Browse files

Default sharedPreferences

  • Loading branch information...
1 parent eae467d commit 0478a8cef197bbf932cd93f3f44d5f3c1ec2178b @rsaikali committed Sep 23, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 AndroidManifest.xml
  2. +1 −1 bin/AndroidManifest.xml
  3. +3 −3 src/com/saikali/android_skwissh/utils/SkwisshAjaxHelper.java
View
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.saikali.android_skwissh"
- android:versionCode="1"
+ android:versionCode="2"
android:versionName="0.0.1" >
<uses-sdk
View
@@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.saikali.android_skwissh"
- android:versionCode="1"
+ android:versionCode="2"
android:versionName="0.0.1" >
<uses-sdk
@@ -29,9 +29,9 @@
public SkwisshAjaxHelper(Context context) throws UnauthorizedException {
this.sharedPrefs = PreferenceManager.getDefaultSharedPreferences(context.getApplicationContext());
- this.username = this.sharedPrefs.getString("skwissh_username", "");
- this.password = this.sharedPrefs.getString("skwissh_password", "");
- this.base_url = this.sharedPrefs.getString("skwissh_url", "");
+ this.username = this.sharedPrefs.getString("skwissh_username", "test");
+ this.password = this.sharedPrefs.getString("skwissh_password", "test");
+ this.base_url = this.sharedPrefs.getString("skwissh_url", "http://skwissh.com/skwissh");
Log.i(Constants.SKWISSH_TAG, this.base_url);
this.httpclient = new BasicHttpClient();
this.httpclient.addHeader("X-Requested-With", "XMLHttpRequest");

0 comments on commit 0478a8c

Please sign in to comment.