diff --git a/ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/res/layouts/fragments/layout/fragment_plot.xml b/ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/res/layouts/fragments/layout/fragment_plot.xml index 8faef336..0c451c45 100644 --- a/ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/res/layouts/fragments/layout/fragment_plot.xml +++ b/ShimmerAndroidInstrumentDriver/ShimmerAndroidInstrumentDriver/src/main/res/layouts/fragments/layout/fragment_plot.xml @@ -3,7 +3,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="com.shimmerresearch.shimmerserviceexample.PlotFragment" + tools:context="com.shimmerresearch.shimmercapture.PlotFragment" android:orientation="vertical"> diff --git a/ShimmerAndroidInstrumentDriver/build.gradle b/ShimmerAndroidInstrumentDriver/build.gradle index 44b021d4..3042963a 100644 --- a/ShimmerAndroidInstrumentDriver/build.gradle +++ b/ShimmerAndroidInstrumentDriver/build.gradle @@ -39,11 +39,11 @@ allprojects { */ username = project.findProperty("gpr.usr") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") - /* should the above not work key in your username and password directly e.g. - username = "username" - password = "password" + /* should the above not work key in your username and password directly e.g. + username = "username" + password = "password" DO NOT commit your username and password - */ + */ } } maven { @@ -59,11 +59,11 @@ allprojects { */ username = project.findProperty("gpr.usr") ?: System.getenv("USERNAME") password = project.findProperty("gpr.key") ?: System.getenv("TOKEN") - /* should the above not work key in your username and password directly e.g. - username = "username" - password = "password" + /* should the above not work key in your username and password directly e.g. + username = "username" + password = "password" DO NOT commit your username and password - */ + */ } } mavenCentral() @@ -78,7 +78,7 @@ allprojects { implementation 'java3d:vecmath:1.3.1' implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.github.Jasonchenlijian:FastBle:2.4.0' - implementation (group: 'com.shimmerresearch', name: 'shimmerbluetoothmanager', version:'0.11.0_beta'){ + implementation (group: 'com.shimmerresearch', name: 'shimmerbluetoothmanager', version:'0.11.1_beta'){ // excluding org.json which is provided by Android exclude group: 'io.netty' @@ -86,7 +86,7 @@ allprojects { exclude group: 'org.apache.commons.math' } - implementation (group: 'com.shimmerresearch', name: 'shimmerdriver', version:'0.11.0_beta'){ + implementation (group: 'com.shimmerresearch', name: 'shimmerdriver', version:'0.11.1_beta'){ // excluding org.json which is provided by Android exclude group: 'io.netty' diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/build.gradle b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/build.gradle index 92142fb8..1a323ef4 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/build.gradle +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 33 + compileSdkVersion 34 defaultConfig { - applicationId "com.shimmerresearch.shimmerserviceexample" + applicationId "com.shimmersensing.shimmerconnect" minSdkVersion 14 - targetSdkVersion 33 - versionCode 1 - versionName "1.0" + targetSdkVersion 34 + versionCode 27 + versionName "27.0" multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmerserviceexample/ExampleInstrumentedTest.java b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmercapture/ExampleInstrumentedTest.java similarity index 93% rename from ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmerserviceexample/ExampleInstrumentedTest.java rename to ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmercapture/ExampleInstrumentedTest.java index c37aeb9f..12c048b7 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmerserviceexample/ExampleInstrumentedTest.java +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/androidTest/java/com/shimmerresearch/shimmercapture/ExampleInstrumentedTest.java @@ -1,4 +1,4 @@ -package com.shimmerresearch.shimmerserviceexample; +package com.shimmerresearch.shimmercapture; import android.content.Context; import android.support.test.InstrumentationRegistry; diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/AndroidManifest.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/AndroidManifest.xml index 1e2a222d..d4d142ca 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/AndroidManifest.xml +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ + package="com.shimmerresearch.shimmercapture"> - diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/ic_launcher-playstore.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/ic_launcher-playstore.png new file mode 100644 index 00000000..25a8db5a Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/ic_launcher-playstore.png differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmerserviceexample/MainActivity.java b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmercapture/MainActivity.java similarity index 95% rename from ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmerserviceexample/MainActivity.java rename to ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmercapture/MainActivity.java index e3ef2272..a80f574d 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmerserviceexample/MainActivity.java +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/java/com/shimmerresearch/shimmercapture/MainActivity.java @@ -1,4 +1,4 @@ -package com.shimmerresearch.shimmerserviceexample; +package com.shimmerresearch.shimmercapture; import android.Manifest; @@ -90,6 +90,12 @@ public class MainActivity extends AppCompatActivity implements ConnectedShimmers final static String LOG_TAG = "Shimmer"; final static String SERVICE_TAG = "ShimmerService"; final static int REQUEST_CONNECT_SHIMMER = 2; + public static APP_RELEASE_TYPE appReleaseType = APP_RELEASE_TYPE.PUBLIC; + public enum APP_RELEASE_TYPE{ + INTERNAL, + PUBLIC, + TESTING + } ShimmerDialogConfigurations dialog; BluetoothAdapter btAdapter; @@ -114,6 +120,37 @@ public class MainActivity extends AppCompatActivity implements ConnectedShimmers @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + AlertDialog.Builder alertDialog = new AlertDialog.Builder(this); + //alertDialog.setTitle("Device Info"); + alertDialog.setMessage("Shimmer Capture App collect Location data to enable Bluetooth devices scanning on Android versions 11 and lower even when the app is closed or not in use."); + alertDialog.setCancelable(false); + alertDialog.setPositiveButton("OK", new DialogInterface.OnClickListener() { + @Override + public void onClick(DialogInterface dialog, int which) { + requestPermissions(); + } + }); + alertDialog.show(); + + //Check if Bluetooth is enabled + /*if (!btAdapter.isEnabled()) { + int REQUEST_ENABLE_BT = 1; + Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); + startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT); + } + else {*/ + + //} + + +/* + if(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE )!= PackageManager.PERMISSION_GRANTED) { + requestPermissions(new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, + PERMISSIONS_REQUEST_WRITE_STORAGE); + }*/ + } + + public void requestPermissions(){ int permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.BLUETOOTH_CONNECT); boolean permissionGranted = true; @@ -125,6 +162,7 @@ protected void onCreate(Bundle savedInstanceState) { if (permissionCheck != PackageManager.PERMISSION_GRANTED) { permissionGranted = false; } + permissionCheck = ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION); if (permissionCheck != PackageManager.PERMISSION_GRANTED) { permissionGranted = false; @@ -152,25 +190,7 @@ protected void onCreate(Bundle savedInstanceState) { mViewPager.setOffscreenPageLimit(5); //Ensure none of the fragments has their view destroyed when off-screen btAdapter = BluetoothAdapter.getDefaultAdapter(); dialog = new ShimmerDialogConfigurations(); - - //Check if Bluetooth is enabled - /*if (!btAdapter.isEnabled()) { - int REQUEST_ENABLE_BT = 1; - Intent enableBtIntent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); - startActivityForResult(enableBtIntent, REQUEST_ENABLE_BT); - } - else {*/ - - //} - - -/* - if(checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE )!= PackageManager.PERMISSION_GRANTED) { - requestPermissions(new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, - PERMISSIONS_REQUEST_WRITE_STORAGE); - }*/ } - @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater = getMenuInflater(); @@ -201,8 +221,11 @@ protected void startServiceandBTManager(){ @Override public boolean onPrepareOptionsMenu(Menu menu) { - if(mService != null){ - menu.findItem(R.id.connect_device).setEnabled(mService.getListOfConnectedDevices().isEmpty()); + + if(appReleaseType.equals(APP_RELEASE_TYPE.PUBLIC)){ + if(mService != null){ + menu.findItem(R.id.connect_device).setEnabled(mService.getListOfConnectedDevices().isEmpty()); + } } MenuItem item1 = menu.findItem(R.id.data_sync); MenuItem item2 = menu.findItem(R.id.disable_logging); @@ -214,6 +237,7 @@ public boolean onPrepareOptionsMenu(Menu menu) { MenuItem item8 = menu.findItem(R.id.start_sd_logging); MenuItem item9 = menu.findItem(R.id.stop_sd_logging); MenuItem item10 = menu.findItem(R.id.device_info); + MenuItem item11 = menu.findItem(R.id.privacy_policy); if(selectedDeviceAddress != null){ ShimmerDevice device = mService.getShimmer(selectedDeviceAddress); if(device instanceof VerisenseDevice) { @@ -227,6 +251,7 @@ public boolean onPrepareOptionsMenu(Menu menu) { item8.setVisible(false); item9.setVisible(false); item10.setVisible(false); + item11.setVisible(false); if (((VerisenseDevice)device).isRecordingEnabled()){ item2.setTitle("Disable Logging"); return true; @@ -241,6 +266,7 @@ public boolean onPrepareOptionsMenu(Menu menu) { item8.setVisible(true); item9.setVisible(true); item10.setVisible(true); + item11.setVisible(true); } } item1.setVisible(false); @@ -506,6 +532,10 @@ public void onClick(DialogInterface dialog, int id) { alertDialog.setMessage("Shimmer Version: "+shimmerVersion + "\n\nFirmware Version: "+FWName); alertDialog.show(); + return true; + case R.id.privacy_policy: + startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse("https://www.shimmersensing.com/privacy/"))); + return true; default: return super.onOptionsItemSelected(item); @@ -531,8 +561,9 @@ public void onServiceConnected(ComponentName className, IBinder service) { Log.d(SERVICE_TAG, "Shimmer Service Bound"); //if there is a device connected display it on the fragment - connectedShimmersListFragment.buildShimmersConnectedListView(mService.getListOfConnectedDevices(), getApplicationContext()); - + if(connectedShimmersListFragment!=null) { + connectedShimmersListFragment.buildShimmersConnectedListView(mService.getListOfConnectedDevices(), getApplicationContext()); + } } public void onServiceDisconnected(ComponentName className) { @@ -620,8 +651,11 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (deviceName.contains(VerisenseDevice.VERISENSE_PREFIX)){ } else { - showBtTypeConnectionOption(); - + if(appReleaseType.equals(APP_RELEASE_TYPE.PUBLIC)){ + preferredBtType = ShimmerBluetoothManagerAndroid.BT_TYPE.BT_CLASSIC; + }else{ + showBtTypeConnectionOption(); + } } mService.connectShimmer(macAdd,deviceName,preferredBtType,this); //Connect to the selected device, and set context to show progress dialog when pairing //mService.connectShimmer(macAdd,this); //Connect to the selected device, and set context to show progress dialog when pairing @@ -640,7 +674,6 @@ public class SectionsPagerAdapter1 extends FragmentStatePagerAdapter { public SectionsPagerAdapter1(FragmentManager fm) { super(fm); - dataSyncFragment = DataSyncFragment.newInstance(); connectedShimmersListFragment = ConnectedShimmersListFragment.newInstance(); sensorsEnabledFragment = SensorsEnabledFragment.newInstance(null, null); deviceConfigFragment = DeviceConfigFragment.newInstance(); @@ -652,7 +685,10 @@ public SectionsPagerAdapter1(FragmentManager fm) { add(deviceConfigFragment, "Device Configuration"); add(plotFragment, "Plot"); add(signalsToPlotFragment, "Signals to Plot"); - add(dataSyncFragment, "Verisense Sync"); + if(!(appReleaseType.equals(APP_RELEASE_TYPE.PUBLIC))){ + dataSyncFragment = DataSyncFragment.newInstance(); + add(dataSyncFragment, "Verisense Sync"); + } } @Override diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/layout/activity_main.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/layout/activity_main.xml index 134845a1..cbc2ef82 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/layout/activity_main.xml +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/layout/activity_main.xml @@ -4,7 +4,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - tools:context="com.shimmerresearch.shimmerserviceexample.MainActivity" + tools:context="com.shimmerresearch.shimmercapture.MainActivity" android:orientation="vertical" android:id="@+id/content_frame"> diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/menu/menu.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/menu/menu.xml index a84d2bb2..30cecf60 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/menu/menu.xml +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/menu/menu.xml @@ -44,4 +44,6 @@ android:id="@+id/stop_sd_logging"> + \ No newline at end of file diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index cde69bcc..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..0f4e8941 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..350c5381 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.png deleted file mode 100644 index 9a078e3e..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..ed11c257 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index c133a0cb..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..335c17fe Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..157677ac Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.png deleted file mode 100644 index efc028a6..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..41f0abd6 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index bfa42f0e..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..9baf1394 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..574d3709 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.png deleted file mode 100644 index 3af2608a..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..f8c4838a Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 324e72cd..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..2e9758de Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..53237414 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png deleted file mode 100644 index 9bec2e62..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..7b299987 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index aee44e13..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..44bed95a Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..93435fc8 Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png deleted file mode 100644 index 34947cd6..00000000 Binary files a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..33c59d8f Binary files /dev/null and b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/ic_launcher_background.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 00000000..c5d5899f --- /dev/null +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/strings.xml b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/strings.xml index 89a94de0..b165a5d3 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/strings.xml +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/main/res/values/strings.xml @@ -1,5 +1,5 @@ - Shimmer Service Example + Shimmer Capture Connect a Shimmer Disconnect Shimmer Start streaming diff --git a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmerserviceexample/ExampleUnitTest.java b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmercapture/ExampleUnitTest.java similarity index 87% rename from ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmerserviceexample/ExampleUnitTest.java rename to ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmercapture/ExampleUnitTest.java index e1f397ee..242fddc9 100644 --- a/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmerserviceexample/ExampleUnitTest.java +++ b/ShimmerAndroidInstrumentDriver/shimmerServiceExample/src/test/java/com/shimmerresearch/shimmercapture/ExampleUnitTest.java @@ -1,4 +1,4 @@ -package com.shimmerresearch.shimmerserviceexample; +package com.shimmerresearch.shimmercapture; import org.junit.Test;