I am currently exporting some of the phone numbers of contacts stored in the Contacts content provider, and I would like to know if something exists to get the 'formated' string for the phone number e.g. instead of xxx-xxx-xxxx => xxxxxxxxxx. for a better DB consistency.
It would be pretty easy with a reg-ex, but i'd like to know if something already exists for this purpose, as the doc. mentions :
public static final String NUMBER - Since: API Level 5
The phone number as the user **entered it**.
Type: TEXT - Constant Value: "number"
which let's me think a standard format exists somewhere ... ? Thanks in advance !