Posts

Showing posts with the label Kotlin MP3 Player Example

Kotlin MP3 Player Example

  First    we add the following permission to the Manifest file <uses-permission android:name = "android.permission.FOREGROUND_SERVICE" /> Then we add the following libraries to Gradle Dependencies implementation ("androidx.media3:media3-exoplayer:1.2.1") implementation ("androidx.media3:media3-ui:1.2.1") implementation ("androidx.media3:media3-common:1.2.1") implementation( "androidx.media3:media3-session:1.2.1") We synchronize them (we SYNC).  We add the following "val" into the Main Activity. val player = ExoPlayer . Builder ( context ). build () val mediaSession = MediaSession . Builder ( context , player ). build () To take this player to a more advanced level We add the following code into the main activity. class PlaybackService : MediaSessionService () {     private var mediaSession : MediaSession ? = null     // Create your Player and MediaSession in the onCreate lifecycle event     override fun...
🎮 POPÜLER ⭐ 4.5

Ultra Blocks

Klasik Bulmaca · Strateji · Zeka Oyunu

Hızlı düşün, akıllıca istifle ve küresel liderlik tablosunda zirveye oyna! Ultra Blocks, klasik arcade bulmaca mantığını modern strateji ve göz alıcı görsel efektlerle birleştiriyor. Blokları sürükleyip yerleştir, tam satırları temizle ve rekorlarını kır!

🏆 Küresel Sıralama PlayFab ile dünyaya meydan oku
🎨 Özelleştirilebilir Tema Neon’dan klasik ahşaba
📱 Her Cihazda Telefon, tablet, TV ve katlanabilir
👑 VIP Kulüp Reklamsız · Sınırsız döndürme
⬇️ Google Play'den Ücretsiz İndir
📦 50 MB · Çevrimdışı oynanabilir 🔒 Veriler şifrelenir