Fixed mistake in default datasource - was 'undefined' - made default 'Pebble'

This commit is contained in:
Graham Jones
2016-01-16 20:06:44 +00:00
parent be7814c9b8
commit ac76c9626c
3 changed files with 3 additions and 3 deletions

BIN
app/app-release-2.0b.apk Normal file

Binary file not shown.

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.org.openseizuredetector" package="uk.org.openseizuredetector"
android:versionCode="17" android:versionCode="18"
android:versionName="2.0a" > android:versionName="2.0b" >
<uses-sdk android:minSdkVersion="14" /> <uses-sdk android:minSdkVersion="14" />

View File

@@ -111,7 +111,7 @@ public class StartupActivity extends Activity {
// Display the DataSource name // Display the DataSource name
SharedPreferences SP = PreferenceManager SharedPreferences SP = PreferenceManager
.getDefaultSharedPreferences(getBaseContext());; .getDefaultSharedPreferences(getBaseContext());;
String dataSourceName = SP.getString("DataSource","undefined"); String dataSourceName = SP.getString("DataSource","Pebble");
TextView tv = (TextView)findViewById(R.id.dataSourceTextView); TextView tv = (TextView)findViewById(R.id.dataSourceTextView);
tv.setText("DataSource = "+dataSourceName); tv.setText("DataSource = "+dataSourceName);