Posts

Showing posts with the label Twilio

Twilio with Android in Kotlin

Image
Overview Twilio is third party service that can be used to receive calls, send SMS, chat, email, IVR and many other services. This service is paid. Add the following steps Add the required dependency in build.gradle (Module) file. implementation "com.squareup.okhttp3:okhttp:4.9.1" Create an XML File <? xml version ="1.0" encoding ="utf-8" ?> <androidx.constraintlayout.widget.ConstraintLayout xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" android :layout_width ="match_parent" android :layout_height ="match_parent" android :padding ="20dp" tools :context =".MainActivity" > <TextView android :id ="@+id/tvPhone" android :layout_width ="wrap_content" and...