EditTextで電話番号入力(ハイフン付)

EditText hogeText = (EditText) findViewById(R.id.hogetext);
//入力制限
hogeText.setInputType(InputType.TYPE_CLASS_PHONE);   
//入力制限、PhoneNumberUtils
//android.telephony.PhoneNumberFormattingTextWatcher
hogeText.addTextChangedListener(new PhoneNumberFormattingTextWatcher());

[`evernote` not found]
Pocket
[`yahoo` not found]