Get device’s IMEI in Android app development

Here’s the content of my MainActivity class where I log the IMEI of my test device.

You also need to add this permission to your AndroidManifest.xml file:

Place it inside the <manifest></manifest> tag, but same level as <application></application>.

Source: How to get the device’s IMEI/ESN programmatically in android?

Related Posts:

Posts that may be related to "Get device’s IMEI in Android app development":

Catzie

A Filipino programmer with a variety of interests such as baking, singing, making up silly song/rap lyrics, K-pop, drawing, creating unique dessert flavors, obsessing about finding out how some things works, board games, anime, video games, and forgetting things that usually go in her long list of interests. Running small-time online dessert shops Cookies PH and Catzie's Cakery.

Leave a Reply

Your email address will not be published. Required fields are marked *