diff --git a/.notes/compile-webrtc-library-android.txt b/.notes/compile-webrtc-library-android.txt new file mode 100644 index 0000000..d6fd37e --- /dev/null +++ b/.notes/compile-webrtc-library-android.txt @@ -0,0 +1,5 @@ +https://github.com/mail2chromium/Compile_WebRTC_Library_For_Android +https://github.com/mail2chromium/Android_Realtime_Communication_Using_WebRTC +https://github.com/mail2chromium/Compile_WebRTC_Library_For_Android +https://github.com/mail2chromium/Android-Audio-Processing-Using-WebRTC +https://github.com/mail2chromium/Android-Native-Development-For-WebRTC diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 15806b3..528bb86 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,7 +2,6 @@ - @@ -16,14 +15,14 @@ android:allowBackup="true" android:dataExtractionRules="@xml/data_extraction_rules" android:fullBackupContent="@xml/backup_rules" - android:icon="@mipmap/ic_launcher" + android:icon="@mipmap/wittrail_logo_back" android:label="@string/app_name" - android:roundIcon="@mipmap/ic_launcher_round" + android:roundIcon="@mipmap/wittrail_logo_back" android:supportsRtl="true" android:theme="@style/Theme.WittrailAndroid" tools:targetApi="31"> diff --git a/app/src/main/java/com/urkob/wittrail_android/RecordingService.kt b/app/src/main/java/com/urkob/wittrail_android/CameraXRecordingService.kt similarity index 99% rename from app/src/main/java/com/urkob/wittrail_android/RecordingService.kt rename to app/src/main/java/com/urkob/wittrail_android/CameraXRecordingService.kt index 948c50c..40753cb 100644 --- a/app/src/main/java/com/urkob/wittrail_android/RecordingService.kt +++ b/app/src/main/java/com/urkob/wittrail_android/CameraXRecordingService.kt @@ -30,7 +30,7 @@ import java.util.concurrent.ExecutorService import java.util.concurrent.Executors -class RecordingService : LifecycleService() { +class CameraXRecordingService : LifecycleService() { private lateinit var cameraProviderFuture: ListenableFuture private val tag = "RecordingService" private val fileNameFormat = "yyyy-MM-dd-HH-mm-ss-SSS" diff --git a/app/src/main/java/com/urkob/wittrail_android/MainActivity.kt b/app/src/main/java/com/urkob/wittrail_android/MainActivity.kt index 4d4e526..7a2ff56 100644 --- a/app/src/main/java/com/urkob/wittrail_android/MainActivity.kt +++ b/app/src/main/java/com/urkob/wittrail_android/MainActivity.kt @@ -122,8 +122,8 @@ class MainActivity : AppCompatActivity() { @RequiresApi(Build.VERSION_CODES.O) private fun startRecordingService(useFrontCamera: Boolean) { Log.e("main", "startRecordingService") - val serviceIntent = Intent(this, RecordingService::class.java).apply { - action = RecordingService.ACTION_START_RECORDING + val serviceIntent = Intent(this, CameraXRecordingService::class.java).apply { + action = CameraXRecordingService.ACTION_START_RECORDING putExtra("useFrontCamera", useFrontCamera) } startForegroundService(serviceIntent) @@ -131,7 +131,7 @@ class MainActivity : AppCompatActivity() { private fun stopRecordingService() { Log.e("main", "stopRecordingService") - val serviceIntent = Intent(this, RecordingService::class.java) + val serviceIntent = Intent(this, CameraXRecordingService::class.java) stopService(serviceIntent) } diff --git a/app/src/main/res/drawable/wittrail_logo.xml b/app/src/main/res/drawable/wittrail_logo.xml new file mode 100644 index 0000000..0d63395 --- /dev/null +++ b/app/src/main/res/drawable/wittrail_logo.xml @@ -0,0 +1,3060 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/wittrail_logo_back_background.xml b/app/src/main/res/drawable/wittrail_logo_back_background.xml new file mode 100644 index 0000000..ca3826a --- /dev/null +++ b/app/src/main/res/drawable/wittrail_logo_back_background.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/wittrail_logo_back_foreground.xml b/app/src/main/res/drawable/wittrail_logo_back_foreground.xml new file mode 100644 index 0000000..2b7fbac --- /dev/null +++ b/app/src/main/res/drawable/wittrail_logo_back_foreground.xml @@ -0,0 +1,3017 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/wittrail_logo_background.xml b/app/src/main/res/drawable/wittrail_logo_background.xml new file mode 100644 index 0000000..0195c31 --- /dev/null +++ b/app/src/main/res/drawable/wittrail_logo_background.xml @@ -0,0 +1,3012 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/drawable/wittrail_logo_foreground.xml b/app/src/main/res/drawable/wittrail_logo_foreground.xml new file mode 100644 index 0000000..070c1f0 --- /dev/null +++ b/app/src/main/res/drawable/wittrail_logo_foreground.xml @@ -0,0 +1,3065 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/wittrail_logo.xml b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo.xml new file mode 100644 index 0000000..c3ce5e8 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back.xml b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back.xml new file mode 100644 index 0000000..6b2a8e8 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back_round.xml b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back_round.xml new file mode 100644 index 0000000..6b2a8e8 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_back_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_round.xml b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_round.xml new file mode 100644 index 0000000..c3ce5e8 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/wittrail_logo_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/wittrail_logo.webp b/app/src/main/res/mipmap-hdpi/wittrail_logo.webp new file mode 100644 index 0000000..fe7c54b Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/wittrail_logo.webp differ diff --git a/app/src/main/res/mipmap-hdpi/wittrail_logo_back.webp b/app/src/main/res/mipmap-hdpi/wittrail_logo_back.webp new file mode 100644 index 0000000..b665892 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/wittrail_logo_back.webp differ diff --git a/app/src/main/res/mipmap-hdpi/wittrail_logo_back_round.webp b/app/src/main/res/mipmap-hdpi/wittrail_logo_back_round.webp new file mode 100644 index 0000000..428fe3f Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/wittrail_logo_back_round.webp differ diff --git a/app/src/main/res/mipmap-hdpi/wittrail_logo_round.webp b/app/src/main/res/mipmap-hdpi/wittrail_logo_round.webp new file mode 100644 index 0000000..bd182c7 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/wittrail_logo_round.webp differ diff --git a/app/src/main/res/mipmap-mdpi/wittrail_logo.webp b/app/src/main/res/mipmap-mdpi/wittrail_logo.webp new file mode 100644 index 0000000..46e971d Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/wittrail_logo.webp differ diff --git a/app/src/main/res/mipmap-mdpi/wittrail_logo_back.webp b/app/src/main/res/mipmap-mdpi/wittrail_logo_back.webp new file mode 100644 index 0000000..0dd4625 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/wittrail_logo_back.webp differ diff --git a/app/src/main/res/mipmap-mdpi/wittrail_logo_back_round.webp b/app/src/main/res/mipmap-mdpi/wittrail_logo_back_round.webp new file mode 100644 index 0000000..ce61dac Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/wittrail_logo_back_round.webp differ diff --git a/app/src/main/res/mipmap-mdpi/wittrail_logo_round.webp b/app/src/main/res/mipmap-mdpi/wittrail_logo_round.webp new file mode 100644 index 0000000..d988ace Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/wittrail_logo_round.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/wittrail_logo.webp b/app/src/main/res/mipmap-xhdpi/wittrail_logo.webp new file mode 100644 index 0000000..0bbe1b9 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/wittrail_logo.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/wittrail_logo_back.webp b/app/src/main/res/mipmap-xhdpi/wittrail_logo_back.webp new file mode 100644 index 0000000..c74295a Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/wittrail_logo_back.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/wittrail_logo_back_round.webp b/app/src/main/res/mipmap-xhdpi/wittrail_logo_back_round.webp new file mode 100644 index 0000000..bc50039 Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/wittrail_logo_back_round.webp differ diff --git a/app/src/main/res/mipmap-xhdpi/wittrail_logo_round.webp b/app/src/main/res/mipmap-xhdpi/wittrail_logo_round.webp new file mode 100644 index 0000000..84b3b3f Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/wittrail_logo_round.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/wittrail_logo.webp b/app/src/main/res/mipmap-xxhdpi/wittrail_logo.webp new file mode 100644 index 0000000..7f23c45 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/wittrail_logo.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back.webp b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back.webp new file mode 100644 index 0000000..5c22e9c Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back_round.webp b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back_round.webp new file mode 100644 index 0000000..9a9b2ee Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_back_round.webp differ diff --git a/app/src/main/res/mipmap-xxhdpi/wittrail_logo_round.webp b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_round.webp new file mode 100644 index 0000000..ef07f26 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/wittrail_logo_round.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/wittrail_logo.webp b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo.webp new file mode 100644 index 0000000..a3a9233 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back.webp b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back.webp new file mode 100644 index 0000000..2edf1d4 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back_round.webp b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back_round.webp new file mode 100644 index 0000000..0fcbbf9 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_back_round.webp differ diff --git a/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_round.webp b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_round.webp new file mode 100644 index 0000000..c87cb1b Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/wittrail_logo_round.webp differ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1164429..b4f0bc1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - Wittrail-Android + Wittrail \ No newline at end of file diff --git a/app/src/main/wittrail_logo-playstore.png b/app/src/main/wittrail_logo-playstore.png new file mode 100644 index 0000000..cc2ec39 Binary files /dev/null and b/app/src/main/wittrail_logo-playstore.png differ diff --git a/app/src/main/wittrail_logo_back-playstore.png b/app/src/main/wittrail_logo_back-playstore.png new file mode 100644 index 0000000..55507be Binary files /dev/null and b/app/src/main/wittrail_logo_back-playstore.png differ