반응형
1. Device Brand
import android.os.Build
val deviceBrand = Build.BRAND
2. Device Manufacturer
import android.os.Build
val deviceManufacturer = Build.MANUFACTURER
3. Device Model Name
import android.os.Build
val deviceModel = Build.MODEL
4. Device ID
import android.provider.Settings
val deviceId = Settings.secure.getString(context.contentResolver, Settings.Secure.ANDROID_ID)
5. Android OS Version
import android.os.Build
val deviceOsVersion = Build.VERSION.RELEASE
6. Android SDK Version
import android.os.Build
val deviceSdkVersion = Build.VERSION.SDK_INT
반응형
'Android Developer' 카테고리의 다른 글
RadarChartView 직접 만들기 : 3. Custom Drawing (0) | 2022.10.14 |
---|---|
RadarChartView 직접 만들기 : 2. Creating a View Class (0) | 2022.10.12 |
RadarChartView 직접 만들기 : 1. CustomView Overview (0) | 2022.08.18 |
Android Zoom Video SDK : 3. Essential Guides (2) (0) | 2022.08.10 |
Android Zoom Video SDK : 2. Essential Guides (1) (0) | 2022.08.05 |