diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..1606d61 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided this notice is +# preserved. This file is offered as-is, without any warranty. +# Names of contributors must not be used to endorse or promote products +# derived from this file without specific prior written permission. + +# EditorConfig +# http://EditorConfig.org + +# top-most EditorConfig file +root = true + +# LF end-of-line, insert an empty new line and UTF-8 +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 4 +continuation_indent_size = 8 + +[*.xml] +continuation_indent_size = 4 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4cd1c5e --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +*.iml +*.aab +.gradle +/local.properties +/.idea/ +.DS_Store +/build +/captures +keystore.jks +keystore.properties diff --git a/README.md b/README.md index 1c18b55..c4460cb 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# Simple-Voice-Recorder \ No newline at end of file +# Simple Voice Recorder diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/app/.gitignore @@ -0,0 +1 @@ +/build diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 0000000..b3ebbb6 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,42 @@ +apply plugin: 'com.android.application' +apply plugin: 'kotlin-android' +apply plugin: 'kotlin-android-extensions' + +android { + compileSdkVersion 29 + buildToolsVersion "29.0.3" + + defaultConfig { + applicationId "com.simplemobiletools.voicerecorder" + minSdkVersion 21 + targetSdkVersion 29 + versionCode 1 + versionName "5.0.0" + multiDexEnabled true + setProperty("archivesBaseName", "voice-recorder") + vectorDrawables.useSupportLibrary = true + } + + buildTypes { + debug { + applicationIdSuffix ".debug" + } + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } + + sourceSets { + main.java.srcDirs += 'src/main/kotlin' + } + + lintOptions { + checkReleaseBuilds false + abortOnError false + } +} + +dependencies { + implementation 'com.simplemobiletools:commons:5.23.17' +} diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..e69de29 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..e9871ba --- /dev/null +++ b/app/src/main/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/App.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/App.kt new file mode 100644 index 0000000..6184e59 --- /dev/null +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/App.kt @@ -0,0 +1,11 @@ +package com.simplemobiletools.voicerecorder + +import android.app.Application +import com.simplemobiletools.commons.extensions.checkUseEnglish + +class App : Application() { + override fun onCreate() { + super.onCreate() + checkUseEnglish() + } +} diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt new file mode 100644 index 0000000..9c80761 --- /dev/null +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt @@ -0,0 +1,15 @@ +package com.simplemobiletools.voicerecorder.activities + +import android.os.Bundle +import androidx.appcompat.app.AppCompatActivity +import com.simplemobiletools.commons.extensions.appLaunched +import com.simplemobiletools.voicerecorder.BuildConfig +import com.simplemobiletools.voicerecorder.R + +class MainActivity : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_main) + appLaunched(BuildConfig.APPLICATION_ID) + } +} diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/SplashActivity.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/SplashActivity.kt new file mode 100644 index 0000000..abc4095 --- /dev/null +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/SplashActivity.kt @@ -0,0 +1,11 @@ +package com.simplemobiletools.voicerecorder.activities + +import android.content.Intent +import com.simplemobiletools.commons.activities.BaseSplashActivity + +class SplashActivity : BaseSplashActivity() { + override fun initActivity() { + startActivity(Intent(this, MainActivity::class.java)) + finish() + } +} diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml new file mode 100644 index 0000000..2b068d1 --- /dev/null +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml new file mode 100644 index 0000000..07d5da9 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_background.xml @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100644 index 0000000..ab80dae --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 0000000..eca70cf --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..a571e60 Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..c41dd28 Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..6dba46d Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..15ac681 Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..f25a419 Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml new file mode 100644 index 0000000..d781ec5 --- /dev/null +++ b/app/src/main/res/values/colors.xml @@ -0,0 +1,4 @@ + + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..d349698 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + Simple Voice Recorder + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..0be5041 --- /dev/null +++ b/app/src/main/res/values/styles.xml @@ -0,0 +1,5 @@ + + +