diff --git a/app/build.gradle b/app/build.gradle index 46e8d09..c8f1c42 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.android.application' android { compileSdkVersion 28 - useLibrary 'org.apache.http.legacy' + useLibrary 'org.apache.http.legacy' defaultConfig { applicationId "uk.org.openseizuredetector" @@ -31,6 +31,7 @@ dependencies { implementation files('libs/mpandroidchartlibrary-2-0-7.jar') implementation 'com.getpebble:pebblekit:3.1.0@aar' // Unit testing dependencies + implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' // Set this dependency if you want to use Mockito testImplementation 'org.mockito:mockito-core:1.10.19' @@ -52,4 +53,4 @@ dependencies { repositories { mavenCentral() maven { url "https://oss.sonatype.org/content/groups/public/" } -} \ No newline at end of file +} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4dc780f..1748161 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,10 +2,8 @@ - - + android:versionName="3.2.0"> + @@ -14,26 +12,23 @@ - - - - - - + + + + + - - - + android:theme="@style/Theme.AppCompat"> + + @@ -45,19 +40,19 @@ android:name=".MainActivity" android:exported="true" android:icon="@drawable/star_of_life_48x48" - android:label="@string/app_name"> + android:label="@string/app_name" /> + android:label="OpenSeizureDetector Preferences" /> + android:name="com.rohitss.uceh.UCEDefaultActivity" + android:process=":error_activity" /> - + + - - - + \ No newline at end of file diff --git a/app/src/main/java/uk/org/openseizuredetector/DBQueryActivity.java b/app/src/main/java/uk/org/openseizuredetector/DBQueryActivity.java new file mode 100644 index 0000000..0727601 --- /dev/null +++ b/app/src/main/java/uk/org/openseizuredetector/DBQueryActivity.java @@ -0,0 +1,13 @@ +package uk.org.openseizuredetector; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; + +public class DBQueryActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_dbquery); + } +} diff --git a/app/src/main/res/layout/activity_dbquery.xml b/app/src/main/res/layout/activity_dbquery.xml new file mode 100644 index 0000000..693abbc --- /dev/null +++ b/app/src/main/res/layout/activity_dbquery.xml @@ -0,0 +1,9 @@ + + + + \ No newline at end of file