Category: OTP
Adding SMS Verification Like WhatsApp to Android Application Part-II
In continuation with my previous blog Adding SMS Verification Like WhatsApp to Android Application Part-I , 1. Now we will create SMS receiver which will be triggered whenever device receives a SMS. Create a class HttpService.java in service directory. package marutsoft.com.smsverify.service; import android.app.IntentService; import android.content.Intent; import android.util.Log; import android.widget.Toast; import com.android.volley.Request; import com.android.volley.Response; import com.android.volley.VolleyError; import com.android.volley.toolbox.StringRequest; import…
Read More
Adding SMS Verification Like WhatsApp to Android Application Part-I
In my last articles i.e creating-rest-api-to-generate-otp-part-2 and creating-rest-api-to-generate-otp-part-1 you have learnt how to create the REST API to generate the OTP and get it verified through the website. Now we will create an android app for which registration process is going to use this RESR API to get the use registered. In this, I am going to…
Read MoreCreating REST API to generate the OTP -part 2
In continuation with my previous blog Creating-Rest-API-to-generate-otp-part-1, this blog covers the rest of the procedure to generate the OTP. Now we have all the core logic ready. Let’s create an endpoint to register the user. In your project’s root directory, create a file named request_sms.php. In this Code We receive the name, email and mobile number…
Read More