title: how to get country code of phone number in android?
body: <p>I am getting all phone numbers from contact. Then i have checked all numbers using PhoneUtil.parse() method to get the number type. But it gets exception when the phone number is not saved with country code. For example the phone number is like <code>9876512343 or 09876512343</code>  its an indian number. For this number I am getting  parsing exception. If I am doing like this</p>
  
  <pre><code>PhoneNumber numberProto = phoneUtil.parse(phoneNumber, "IN");
  </code></pre>
  
  <p>then its not a problem for that number. But how can i know that number is an indian number, so that i can pass IN in that argument. So if I can get the country code of a given phone number(String) then it can solve my problem.</p>