This is a forum, not a code bank just to give a code you want. Try something first and if you stuck on something please ask your question more clearly.

Dear Eranga,
Please dont reply like this.
can you please explain what is a forum and what is a code bank?
Gopinath is one of the member, he joined because he can gain some knowledge as well as he can spread.
Before posting his need in THIS forum, he defnetly had done some background work. As a developer im saying , he had done some R&D on that topic.

If you know the solution, Please forward to Gopinath.Other wise please keep quite. May be others can help him.

If you know the solution, Please forward to Gopinath.Other wise please keep quite. May be others can help him.

I guess you don't know what a forum is, and code bank is. Better you should know that comment on others.

Everyone can comment on others questions here, and help him/her to find the solution. But no one here wants just give a code away. If you looking into the code bank, like code project and so on, just download them as use it in your application. But a forum is quite different.

For retrieving mobile number there is two option. But for that you have to configure server and you have to take one 'ShortCode' service. Using this you have to send sms to ShortCode (ex. 46606) with some unique number in encoded form then this shortcode will send your number and that unique number to service. Now using ur appliation you have sent request for checking ur unique number is updated on your server. If ur unique number is now in ur server then server will send corresponding mobile number as a response.