Skip to content

askxionghu/MusicPlayer

 
 

Repository files navigation

Projekt Cloud Piece MusicPlayer

Package Name

  • projekt.cloud.piece.music.player

Maintenance period

  • In long-term

Screenshots

Main Play
Main Play

Supported API

  • Android L - 5.0 (API 21)
  • Android L_MR1 - 5.1 (API 22)
  • Android M - 6.0 (API 23)
  • Android N - 7.0 (API 24)
  • Android N_MR1 - 7.1 (API 25)
  • Android O - 8.0 (API 26)
  • Android O_MR1 - 8.1 (API 27)
  • Android P - 9.0 (API 28)
  • Android Q - 10.0 (API 29)
    • Update SystemUtil.kt: Update Activity.pixelHeight
  • Android R - 11.0 (API 30)
    • SystemUtil.kt: Update deprecated method
  • Android S - 12.0 (API 31)
    • NotificationUtil.kt: Fix "Warning: Missing PendingIntent mutability flag" on Android 12
    • Safer component exporting
      • If your app targets Android 12 or higher and contains activities, services, or broadcast receivers that use intent filters, you must explicitly declare the android:exported attribute for these app components.
      • AndroidManifest.xml: Implement WebService
      • Update and implement android build gradle into 7.0.0
      • Google Document Source: Safer component exporting
    • Add support Android 12.0 SplashScreen
  • Android SL/Sv2 (API 32) [Beta]

Lyric format

  • Time statement before lyric text
  • One line per one line of lyric
  • Format: [mm:ss.ss]Lyric text
  • For example:
    [00:00.50]First lyric text
    [00:01.10]Second lyric text
    

Known Issue

Required Permission

  • android.permission.FOREGROUND_SERVICE
  • android.permission.READ_EXTERNAL_STORAGE
  • android.permission.WAKE_LOCK
  • android.permission.INTERNET
  • android.permission.ACCESS_WIFI_STATE
  • android.permission.MODIFY_AUDIO_SETTINGS
  • android.permission.BLUETOOTH_CONNECT
  • android.permission.MODIFY_AUDIO_SETTINGS
  • android.permission.RECORD_AUDIO
  • android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
  • Permission list can be found at AndroidManifest.xml

Dependencies

  • org.jetbrains.kotlin:kotlin-stdlib
  • org.jetbrains.kotlinx:kotlinx-coroutines-core
  • org.jetbrains.kotlinx:kotlinx-coroutines-android
  • androidx.core:core-ktx
  • androidx.core:core-splashscreen
  • androidx.appcompat:appcompat
  • androidx.constraintlayout:constraintlayout
  • androidx.navigation:navigation-fragment-ktx
  • androidx.navigation:navigation-ui-ktx
  • androidx.lifecycle:lifecycle-livedata-ktx
  • androidx.lifecycle:lifecycle-viewmodel-ktx
  • androidx.media:media
  • androidx.swiperefreshlayout:swiperefreshlayout
  • androidx.preference:preference-ktx
  • androidx.databinding:databinding-compiler-common
  • androidx.room:room-runtime
  • androidx.room:room-compiler
  • androidx.palette:palette-ktx
  • androidx.viewpager:viewpager
  • com.google.android.material:material
  • com.google.android.exoplayer:exoplayer-core
  • com.google.android.exoplayer:exoplayer-hls
  • com.google.code.gson:gson
  • com.github.android:renderscript-intrinsics-replacement-toolkit
  • com.github.1552980358:KtExtension
  • com.github.1552980358:KtExtensionAndroid
  • com.github.1552980358:C2Pinyin
  • com.github.mkaflowski:Media-Style-Palette
  • org.nanohttpd:nanohttpd
  • org.nanohttpd:nanohttpd-websocket
  • com.github.thegrizzlylabs:sardine-android
  • Dependencies detail can be found at project:build.gradle.kts and app:build.gradle.kts

Maintenance Language

  • Kotlin

IDE

  • Intellij Idea
  • Android Studio
Projekt Cloud Piece, including all git submodules are free software:
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

About

A local music player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%