lamudi-gmbh / android-phone-field

A small library that allows you to create phone fields with corresponding country flags, and validate the phone number using libphonenumber from google.
Apache License 2.0
227 stars 67 forks source link

method to get phone number without country code #2

Open sunnykinger opened 7 years ago

sunnykinger commented 7 years ago

Can there be a method to get the phone number without country code?

GeylaniArca commented 7 years ago

+1

thomasdola commented 7 years ago

+1

saefbadwan commented 7 years ago

+1

saefbadwan commented 7 years ago
            String phoone_code = registration_phone_code.getPhoneNumber().replace( registration_phone_code.getEditText().getText().toString(),"");
            String phonenumber =registration_phone_code.getEditText().getText().toString();
            String fullPhoneNumber = registration_phone_code.getPhoneNumber();