I'm having troubles getting the phone number in certain phones with EURO operators, I try with TelephonyManager using getLine1Number() for get the SIM number, that work fine but in order to get a GSM phone number the method return a empty string. So, the question is, how can I get that info without getLine1Number() method?
Any way is valid, just I need take that information and send SMS to user or register using a phone number as username.