You can use Build class to get the information of the device and the operating system details in which your app is running
val
manufacturer = Build.MANUFACTURER val model =
Build.MODEL val version =
Build.VERSION.SDK_INT val
versionRelease = Build.VERSION.RELEASE Log.d( "Device
Information", """manufacturer
$manufacturer model $model version
$version versionRelease
$versionRelease""" ) |
Comments
Post a Comment