I need help from you all in Android mobile number verification process. I have an application, Where the user enters his mobile number. I need to verify that the user has entered his own mobile number and not someone else mobile number in that application. How can i achieve that. Any ideas will be of great help. I am very much confused in how to verify the user input.
looking forward for your replies.
Thanks
A simple way is to send a SMS to that number. And ask for a transmitted token.
You can try sending sms from user's mobile phone to himself and send a code and also save this code in preferences. Ask user to input this code into your application then compare that code with the one that you saved in preferences earlier (original). if both matches, then mobile number varified.
Another way economic way for the platform would be to send a simple SMS from the mobile to the same MSISDN with a random token. If the device receives the token the verification will succeed, otherwise it won't.
When I meant "economic" it is because the customer incurs the expenses of the SMS and not our platform. Thus, we avoid to pay attention to massive or distributed registration attacks and the cost of all those SMS's.
Answer would be very easy. You can try the same logic of Mobile Banking Process. See the Steps,