mirror of
https://github.com/Michatec/Radio.git
synced 2026-01-31 07:20:40 +00:00
Update the libary
- Google Material - Androidx ktx, media3, navigiation, work runtime - Kotlin - new version coming "Purple" - some bug fixes
This commit is contained in:
@@ -4,14 +4,14 @@ apply plugin: 'kotlin-parcelize'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.michatec.radio'
|
namespace 'com.michatec.radio'
|
||||||
compileSdk 34
|
compileSdk 35
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId 'com.michatec.radio'
|
applicationId 'com.michatec.radio'
|
||||||
minSdk 23
|
minSdk 28
|
||||||
targetSdk 34
|
targetSdk 35
|
||||||
versionCode 128
|
versionCode 129
|
||||||
versionName '12.8'
|
versionName '12.9'
|
||||||
resourceConfigurations += ['en', 'de', 'el', 'nl', 'pl', 'ru','uk']
|
resourceConfigurations += ['en', 'de', 'el', 'nl', 'pl', 'ru','uk']
|
||||||
setProperty('archivesBaseName', 'Radio_' + versionName)
|
setProperty('archivesBaseName', 'Radio_' + versionName)
|
||||||
}
|
}
|
||||||
@@ -47,21 +47,21 @@ dependencies {
|
|||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
|
||||||
// Google Stuff //
|
// Google Stuff //
|
||||||
implementation 'com.google.android.material:material:1.10.0'
|
implementation 'com.google.android.material:material:1.12.0'
|
||||||
implementation 'com.google.code.gson:gson:2.10.1'
|
implementation 'com.google.code.gson:gson:2.10.1'
|
||||||
|
|
||||||
// AndroidX Stuff //
|
// AndroidX Stuff //
|
||||||
implementation 'androidx.activity:activity-ktx:1.8.1'
|
implementation 'androidx.activity:activity-ktx:1.10.1'
|
||||||
implementation 'androidx.palette:palette-ktx:1.0.0'
|
implementation 'androidx.palette:palette-ktx:1.0.0'
|
||||||
implementation 'androidx.preference:preference-ktx:1.2.1'
|
implementation 'androidx.preference:preference-ktx:1.2.1'
|
||||||
implementation 'androidx.media:media:1.7.0'
|
implementation 'androidx.media:media:1.7.0'
|
||||||
implementation 'androidx.media3:media3-exoplayer:1.2.0'
|
implementation 'androidx.media3:media3-exoplayer:1.7.1'
|
||||||
implementation 'androidx.media3:media3-exoplayer-hls:1.2.0'
|
implementation 'androidx.media3:media3-exoplayer-hls:1.7.1'
|
||||||
implementation 'androidx.media3:media3-session:1.2.0'
|
implementation 'androidx.media3:media3-session:1.7.1'
|
||||||
implementation 'androidx.media3:media3-datasource-okhttp:1.2.0'
|
implementation 'androidx.media3:media3-datasource-okhttp:1.7.1'
|
||||||
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.5'
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.9.0'
|
||||||
implementation 'androidx.navigation:navigation-ui-ktx:2.7.5'
|
implementation 'androidx.navigation:navigation-ui-ktx:2.9.0'
|
||||||
implementation 'androidx.work:work-runtime-ktx:2.9.0'
|
implementation 'androidx.work:work-runtime-ktx:2.10.1'
|
||||||
|
|
||||||
// Volley HTTP request //
|
// Volley HTTP request //
|
||||||
implementation 'com.android.volley:volley:1.2.1'
|
implementation 'com.android.volley:volley:1.2.1'
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ class PlayerService : MediaLibraryService() {
|
|||||||
|
|
||||||
|
|
||||||
/* Overrides onTaskRemoved from Service */
|
/* Overrides onTaskRemoved from Service */
|
||||||
override fun onTaskRemoved(rootIntent: Intent) {
|
override fun onTaskRemoved(rootIntent: Intent?) {
|
||||||
if (!player.playWhenReady) {
|
if (!player.playWhenReady) {
|
||||||
stopSelf()
|
stopSelf()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -544,7 +544,7 @@ class SettingsFragment : PreferenceFragmentCompat(), YesNoDialog.YesNoDialogList
|
|||||||
val dateFormat = SimpleDateFormat("_yyyy-MM-dd'T'HH_mm", Locale.US)
|
val dateFormat = SimpleDateFormat("_yyyy-MM-dd'T'HH_mm", Locale.US)
|
||||||
timeStamp = dateFormat.format(Date())
|
timeStamp = dateFormat.format(Date())
|
||||||
|
|
||||||
putExtra(Intent.EXTRA_TITLE, "URL_Radio$timeStamp.zip")
|
putExtra(Intent.EXTRA_TITLE, "Radio$timeStamp.zip")
|
||||||
}
|
}
|
||||||
// file gets saved in the ActivityResult
|
// file gets saved in the ActivityResult
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<!-- App Name -->
|
<!-- App Name -->
|
||||||
<string name="app_version_name" translatable="false">\"Sweet\"</string>
|
<string name="app_version_name" translatable="false">\"Purple\"</string>
|
||||||
|
|
||||||
<!-- Accessibility Descriptions -->
|
<!-- Accessibility Descriptions -->
|
||||||
<string name="descr_app_icon">App icon depicting an old radio</string>
|
<string name="descr_app_icon">App icon depicting an old radio</string>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '8.6.1' apply false
|
id 'com.android.application' version '8.6.1' apply false
|
||||||
id 'com.android.library' version '8.6.1' apply false
|
id 'com.android.library' version '8.6.1' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version "1.9.21" apply false
|
id 'org.jetbrains.kotlin.android' version "2.1.0" apply false
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('clean', Delete) {
|
tasks.register('clean', Delete) {
|
||||||
|
|||||||
Reference in New Issue
Block a user