Android code sample: general info

Get manufacturer, model and OS version of your Android devices

android.os.Build provide various information about the current build the devices, extracted from system properties. here is a simple example to get the manufacturer and model of the device, and the version of the Android. Java code: package com.blogs…

Get the height of status bar

Example to get the height of status bar, in size of pixel. package com.blogspot.android_er.androidgetstatusbarheight; import android.content.res.Resources; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widge…

Load More
That is All