Now, create a method that help you in getting mac address of your android mobile device. In your Android Manifest.xml file add below uses permission, just before tag begin Then, to get MAC Address of any android device you need to add some permission like ACCESS WIFI STATE, INTERNET, ACCESS NETWORK STATE. Select Run or type cmd into the search bar at the bottom of the Start menu to bring up the command prompt. If your device is different than both of these, look for a similar option that says MAC and enable it.
If you use a Samsung device, tap MAC address type and choose Phone MAC.