Example usage for android.telephony PhoneNumberUtils FORMAT_NANP

List of usage examples for android.telephony PhoneNumberUtils FORMAT_NANP

Introduction

In this page you can find the example usage for android.telephony PhoneNumberUtils FORMAT_NANP.

Prototype

int FORMAT_NANP

To view the source code for android.telephony PhoneNumberUtils FORMAT_NANP.

Click Source Link

Document

NANP formatting

Usage

From source file:android.pim.vcard.VCardUtils.java

public static int getPhoneNumberFormat(final int vcardType) {
    if (VCardConfig.isJapaneseDevice(vcardType)) {
        return PhoneNumberUtils.FORMAT_JAPAN;
    } else {/*from w w  w  .  j ava  2  s . c om*/
        return PhoneNumberUtils.FORMAT_NANP;
    }
}