You can use Telephony Manager to read android many of the phone properties, network, sim, data state details etc.

First of all, you have to add permission in android manifest file:

Incoming search terms:

  • android get device country code
  • get device details android
  • network operator id