8 Commits

Author SHA1 Message Date
pi e3bfe6a89b missed version code 2026-05-01 10:00:32 +02:00
pi 25258d3f5d created icon 2026-05-01 09:57:37 +02:00
pi 0c05ed1c55 added zombi_refrain 2026-04-13 23:24:18 +02:00
pi 2125cefdac added versions number in app/build.gradle.kts 2026-04-13 23:22:19 +02:00
pi 29be5a0e74 tweaked zombi and added refrain only 2026-04-13 23:12:16 +02:00
pi 64e491805c added dwarfs and removed filenameextension 2026-04-13 12:44:13 +02:00
pi e12950c25c neue musik 2026-04-12 10:25:20 +02:00
pi 7552ac1942 neue musik 2026-04-11 13:14:00 +02:00
28 changed files with 27 additions and 5 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ android {
minSdk = 22
targetSdk = 36
versionCode = 1
versionName = "1.0"
versionName = "0.11"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@@ -57,6 +57,6 @@ dependencies {
androidTestImplementation(libs.androidx.compose.ui.test.junit4)
debugImplementation(libs.androidx.compose.ui.tooling)
debugImplementation(libs.androidx.compose.ui.test.manifest)
implementation("androidx.appcompat:appcompat:1.7.0")
implementation("androidx.appcompat:appcompat:1.7.1")
implementation("com.google.android.exoplayer:exoplayer:2.19.1")
}
+3 -1
View File
@@ -6,7 +6,9 @@
android:label="Hairdryer/Dunstabzugshaube"
android:allowBackup="true"
android:supportsRtl="true"
android:theme="@android:style/Theme.Light.NoTitleBar">
android:theme="@android:style/Theme.Light.NoTitleBar"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round">
<activity android:name=".MainActivity"
android:exported="true"
Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

@@ -45,6 +45,12 @@ class MainActivity : Activity() {
copyRawToFiles(R.raw.hairdryer, "hairdryer.ogg", soundFolder)
copyRawToFiles(R.raw.fezforgotten, "fezforgotten.ogg", soundFolder)
copyRawToFiles(R.raw.feuer, "feuer.ogg", soundFolder)
copyRawToFiles(R.raw.dwarfs, "dwarfs.ogg", soundFolder)
copyRawToFiles(R.raw.meeresrauschen, "meeresrauschen.ogg", soundFolder)
copyRawToFiles(R.raw.regen, "regen.ogg", soundFolder)
copyRawToFiles(R.raw.zombi, "zombi.ogg", soundFolder)
copyRawToFiles(R.raw.zombi_refrain, "zombi-refrain.ogg", soundFolder)
val status = findViewById<TextView>(R.id.statusText)
val input = findViewById<EditText>(R.id.timerInput)
@@ -56,7 +62,7 @@ class MainActivity : Activity() {
.sortedWith(compareByDescending<File> { it.name == "hairdryer.ogg" }
.thenBy { it.name })
val names = audioFiles.map { it.name }
val names = audioFiles.map { it.nameWithoutExtension }
val adapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, names)
adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
@@ -124,7 +130,7 @@ class MainActivity : Activity() {
}?.toList() ?: emptyList()
}
// --- Permissions ---
// --- Permissions
/* private fun checkPermissions(): Boolean {
val permission = if (Build.VERSION.SDK_INT >= 33)
android.Manifest.permission.READ_MEDIA_AUDIO
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>