How can I format a phone number using PhoneNumberUtils?
E.g.: 1234567890 → (123) 456-7890
1234567890
(123) 456-7890
2020- November
Following worked for me for all version of OS:
PhoneNumberUtils.formatNumber(yourStringPhone,Locale.getDefault().getCountry());