I am trying to get the user’s phone number but the problem is that I am getting null response
based on my research so far we can get the same by using the object of TelePhony Manager and calling function getLine1Number()
but I am not getting any response,somebody suggested that this is because the service provider is not providing the same in my country I am in India but for blackberry it’s providing the phone number so what could be the possible problem please suggest my whole algo depends on this.
Have you added the permission
to your AndroidManifest.xml file?