Javatpoint Logo
Javatpoint Logo

Android TelephonyManager Tutorial

The android.telephony.TelephonyManager class provides information about the telephony services such as subscriber id, sim serial number, phone network type etc. Moreover, you can determine the phone state etc.

Android TelephonyManager Example

Let's see the simple example of TelephonyManager that prints information of the telephony services.


Drag one textview from the pallete, now the xml file will look like this.

File: activity_main.xml

Activity class

Now, write the code to display the information about the telephony services.



You need to provide READ_PHONE_STATE permission in the AndroidManifest.xml file.

File: AndroidManifest.xml


android telephony manager example output 1

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA