CShell Chat
Yopiq kanal
Ko'proq ko'rsatish
Mamlakat belgilanmaganToif belgilanmagan
1 415
Obunachilar
Ma'lumot yo'q24 soatlar
Ma'lumot yo'q7 kun
Ma'lumot yo'q30 kun
Postlar arxiv
1 415
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import android.net.Uri
/**
* Open Play Store page for packageName, fallback to https if Play Store app not present.
*/
fun openPlayStoreForUpdate(context: Context, packageName: String) {
try {
val uri = Uri.parse("market://details?id=$packageName")
val goToMarket = Intent(Intent.ACTION_VIEW, uri).apply {
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP)
}
context.startActivity(goToMarket)
} catch (e: ActivityNotFoundException) {
// Play Store app not installed — open in browser
val webUri = Uri.parse("https://play.google.com/store/apps/details?id=$packageName")
val webIntent = Intent(Intent.ACTION_VIEW, webUri).apply {
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TOP)
}
context.startActivity(webIntent)
}
}
1 415
Repost from CShell Mods
Hơn Br được cái là up player có 4 hướng: trái, phải, tiến , lùi và nhiều cn khác nữa
1 415
Chào mừng @Vietlong02 đến với group của CShell Private - Chat !
Hãy giới thiệu về bản thân và tuân thủ quy tắc group.
== LUẬT NHÓM ==
• Không gửi bất cứ thứ gì liên quan tới 18+
• Tôn trọng Admin, tôn trọng mọi người
