Reputation: 19
I am newbie to android development.Can anyone please help me.I need to send and receive sms from my app through twilio.When user presses the submit button has to send the password to his mobile number which is filled by the user when he is registering.I dont know where to start.I searched twilio website there are lot of things given.I didnot find the sample code anywhere.So can you guys help me out where I have to begin?
Upvotes: 1
Views: 2015
Reputation: 3434
Hi Twilio Evangelist here.
So, it sounds like you're trying to build a Two Factor Authentication system? There is an example of how to do this with PHP on the Twilio site.
You will need a server application as well as the mobile application. When the user submits a form, this will be sent to your server. Then, you can use the Twilio REST API to send the user an SMS - there are a lot of helper libraries you can use too, if you're using Android you may want to use the Java helper library.
You need to buy a telephone number from Twilio to send the message with, these are form $1/month and available in over 40 countries. You can sign up for free to get started.
Hope this helps!
Upvotes: 1