I have extracted the country code from the getphonenumber() which i believe it is correct. FIrst I split with the paranthesis using .split("\\(") or .split("[(]") ; Then I take everything out after the + ;
@Override
       public String getCountryCode() {
           String[] countryCode = contact.getPhoneNumber().trim().split("\\(");
           String countryCode1 = countryCode[0].substring(1);
           return countryCode1;
       }