Get sim number in android programmatically -


i want verify user cell number same sim number used in device during registration in android application.

how sim number in app compare user entered number?

if impossible other verification process?

 code can find sim number if number saved our phone   directory or can never find sim number in case.   telephonymanager telephonymanager = (telephonymanager)   getsystemservice(context.telephony_service);     mobile number = telephonymanager.getline1number();   impossible device has saved sim number   can possible. otp verification process best , please enter   number , otp verify. 

Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -