{"id":82733,"date":"2021-07-21T09:00:45","date_gmt":"2021-07-21T03:30:45","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=82733"},"modified":"2024-08-04T20:50:35","modified_gmt":"2024-08-04T15:20:35","slug":"android-phone-calls","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/","title":{"rendered":"Phone Calls Through Android"},"content":{"rendered":"<p>In this article, we will proceed with another exciting topic, i.e., placing phone calls through android. It\u2019s quite an essential feature in Android that allows you to communicate with other people.<\/p>\n<p>By reading this article, you will learn how to implement this feature in your applications. We will cover the necessary steps and best practices to ensure seamless integration. So, let&#8217;s dive in and explore how to enable phone call functionality in your Android apps.<\/p>\n<h3>How to add a calling feature in your Android application?<\/h3>\n<p>To add a calling feature to your applications, you need to use the intents. There are two intent actions that you can use. They are <strong>ACTION_CALL<\/strong> and <strong>ACTION_DIAL.<\/strong><\/p>\n<p>For, <strong>ACTION_CALL<\/strong> you need to follow the below code.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">val intentObject = Intent(Intent.ACTION_CALL)\r\n<\/pre>\n<p>For <strong>ACTION_DIAL,<\/strong> you need to follow the below code.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">val intentObject = Intent(Intent.ACTION_DIAL)<\/pre>\n<p>After you have created the intent, then you need to pass the recipient number as data. So, for this, you can make a URI object. After forming the URI object, just call the data method over the intent. Finally, start the intent to make a call.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/\/now set the data for the intent as the phoneNumber\r\nintentObject.data = Uri.parse(\"tel:\" + phoneNumber)\r\nstartActivity(intentObject)\r\n<\/pre>\n<h3>Calling Scenarios in Android<\/h3>\n<p>There are some common scenarios that we all face while we handle a call. They are as follows:<\/p>\n<p>1. Receive a call<br \/>\n2. Place a call<br \/>\n3. Hang up a call<\/p>\n<p>While handling these scenarios, the system uses <strong>ConnectionService API<\/strong> and also classes from <strong>android.Telecom package.<\/strong> Let\u2019s see each of the scenarios in detail.<\/p>\n<h4>Receive a Call in Android<\/h4>\n<p>Whenever there is an incoming call, the system checks whether or not the device is attending other calls. We call further classify the scenarios below:<\/p>\n<h5>a. Your device is not on any other call.<\/h5>\n<p>In this scenario, the app quickly receives the call, and the safe is then informed to the telecom subsystem. The <strong>addNewIncomingCall()<\/strong> takes the responsibility to inform the telecom about it.<\/p>\n<p>The telecom subsystem is responsible for creating a connection by using the <strong>onCreateIncomingConnection()<\/strong> method.<\/p>\n<p>For displaying the incoming call in the app\u2019s UI, the <strong>onShowIncomingCallUi()<\/strong> method is called.<br \/>\nAfter the user accepts the call the setActive() method is triggered else <strong>setDisconnected()<\/strong> method is triggered.<\/p>\n<h5>b. If already the device has, an ongoing call<\/h5>\n<p>The process of receiving the call is much similar to the above. The only difference here is that the <strong>onShowIncomingCallUi()<\/strong> shows two more options to the user. The user gets an option to reject the previous call and accept or keep the previous call on hold and then accept.<\/p>\n<h4>Place a Call in Android<\/h4>\n<p>Placing calls can be done quickly by the following the below method:<\/p>\n<p><strong>1. By using the default call application.<\/strong><\/p>\n<p><strong>2. By using intent actions like ACTION_DIAL and ACTION_CALL.<\/strong><\/p>\n<h4>Hang up a Call in Android<\/h4>\n<p>While ending a call, the <strong>setDisconnected()<\/strong> method is called. After this, the <strong>destroy()<\/strong> method is called to release the running resources.<\/p>\n<h3>Implementation of Android Event Handling<\/h3>\n<p>So, now we will explain how you can apply the above concepts to build your calling application using below steps:<\/p>\n<p><strong>1:<\/strong> Launch your Android Studio.<\/p>\n<p><strong>2:<\/strong> Select Create a New Project.<\/p>\n<p><strong>3:<\/strong> Select Empty Activity and proceed.<\/p>\n<p><strong>4:<\/strong> Enter your application name. In my case, it\u2019s \u201cTechVidvanCall\u201d Next, select Kotlin from the dropdown. For the API level, select API 22 for now.<\/p>\n<p><strong>5:<\/strong> Now, you need first to add the permission, to make phone calls in your Manifest file.<\/p>\n<p><strong>Code:AndroidManifest.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;manifest xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n    package=\"com.techvidvan.techvidvancall\"&gt;\r\n\r\n    &lt;!--    Add permission to make a phone call--&gt;\r\n    &lt;uses-permission android:name=\"android.permission.CALL_PHONE\"\/&gt;\r\n\r\n    &lt;application\r\n        android:allowBackup=\"true\"\r\n        android:icon=\"@mipmap\/ic_launcher\"\r\n        android:label=\"@string\/app_name\"\r\n        android:roundIcon=\"@mipmap\/ic_launcher_round\"\r\n        android:supportsRtl=\"true\"\r\n        android:theme=\"@style\/Theme.TechVidvanCall\"&gt;\r\n        &lt;activity android:name=\".MainActivity\"&gt;\r\n            &lt;intent-filter&gt;\r\n                &lt;action android:name=\"android.intent.action.MAIN\" \/&gt;\r\n\r\n                &lt;category android:name=\"android.intent.category.LAUNCHER\" \/&gt;\r\n            &lt;\/intent-filter&gt;\r\n        &lt;\/activity&gt;\r\n    &lt;\/application&gt;\r\n\r\n&lt;\/manifest&gt;\r\n<\/pre>\n<p><strong>6:<\/strong> Now go to res &#8212;&gt; layout &#8212;-&gt; and open activity_main.xml. Now here, you need to add one edit text and a button.<\/p>\n<p><strong>Code: activity_main.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;androidx.constraintlayout.widget.ConstraintLayout\r\n    xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\r\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\r\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    android:background=\"@color\/black\"\r\n    tools:context=\".MainActivity\"&gt;\r\n\r\n    &lt;TextView\r\n        android:id=\"@+id\/title\"\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:text=\"Tech Vidvan Calling App\"\r\n        android:textStyle=\"bold\"\r\n        app:layout_constraintVertical_bias=\".08\"\r\n        android:textSize=\"30sp\"\r\n        android:textColor=\"#FF9800\"\r\n        app:layout_constraintBottom_toBottomOf=\"parent\"\r\n        app:layout_constraintLeft_toLeftOf=\"parent\"\r\n        app:layout_constraintRight_toRightOf=\"parent\"\r\n        app:layout_constraintTop_toTopOf=\"parent\" \/&gt;\r\n\r\n    &lt;EditText\r\n        android:id=\"@+id\/edit_phone_number\"\r\n        android:layout_width=\"match_parent\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:layout_margin=\"30dp\"\r\n        android:hint=\"Enter Phone Number\"\r\n        android:inputType=\"phone\"\r\n        android:background=\"@color\/white\"\r\n        android:padding=\"10dp\"\r\n        android:textSize=\"20sp\"\r\n        app:layout_constraintVertical_bias=\".3\"\r\n        app:layout_constraintBottom_toBottomOf=\"parent\"\r\n        app:layout_constraintLeft_toLeftOf=\"parent\"\r\n        app:layout_constraintRight_toRightOf=\"parent\"\r\n        app:layout_constraintTop_toTopOf=\"parent\"\r\n        \/&gt;\r\n\r\n    &lt;Button\r\n        android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:id=\"@+id\/call_button\"\r\n        android:onClick=\"makeCall\"\r\n        android:text=\"Make a call\"\r\n        android:backgroundTint=\"#FF9800\"\r\n        android:textColor=\"@color\/black\"\r\n        android:textStyle=\"bold\"\r\n        app:layout_constraintVertical_bias=\".5\"\r\n        app:layout_constraintHorizontal_bias=\".8\"\r\n        app:layout_constraintBottom_toBottomOf=\"parent\"\r\n        app:layout_constraintLeft_toLeftOf=\"parent\"\r\n        app:layout_constraintRight_toRightOf=\"parent\"\r\n        app:layout_constraintTop_toTopOf=\"parent\"\r\n        \/&gt;\r\n\r\n\r\n&lt;\/androidx.constraintlayout.widget.ConstraintLayout&gt;\r\n<\/pre>\n<p><strong>Step 7:<\/strong> Now go to your MainActivity.kt file and paste the below code.<\/p>\n<p><strong>Code: MainActivity.kt<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">package com.techvidvan.techvidvancall\r\n\r\nimport android.content.Intent\r\nimport android.net.Uri\r\nimport androidx.appcompat.app.AppCompatActivity\r\nimport android.os.Bundle\r\nimport android.view.View\r\nimport android.widget.EditText\r\n\r\nclass MainActivity : AppCompatActivity()\r\n{\r\n    \/\/Declaring Edit Text variable\r\n    lateinit var phone_edit_text:EditText\r\n\r\n    override fun onCreate(savedInstanceState: Bundle?)\r\n    {\r\n        super.onCreate(savedInstanceState)\r\n        setContentView(R.layout.activity_main)\r\n\r\n        \/\/Binding edit text view to the variable\r\n        phone_edit_text = findViewById(R.id.edit_phone_number)\r\n    }\r\n\r\n    fun makeCall(view: View)\r\n    {\r\n        \/\/when the user presses the\r\n        \/\/call button\r\n        var phoneNumber = phone_edit_text.text.toString()\r\n\r\n        \/\/the we need to make an intent\r\n        val intentObject = Intent(Intent.ACTION_DIAL)\r\n        \/\/now set the data for the intent as the phoneNumber\r\n        intentObject.data = Uri.parse(\"tel:\" + phoneNumber)\r\n        startActivity(intentObject)\r\n    }\r\n}\r\n<\/pre>\n<p>Now run your application. The application would look as follows:<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_1-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-82836\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_1-3.jpg\" alt=\"Android Phone Call App\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>Now just enter the number of the person whom you wish to call.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_2-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-82837\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_2-3.jpg\" alt=\"Place call through Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>Now just press the make a call button, and you will be redirected to your phone application.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_3-3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-82838\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/07\/App_output_3-3.jpg\" alt=\"Android Calls\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Through this article, you understood the various methods using which you can place calls. You saw the common scenarios while attending, placing, and ending a call. After that, you saw a way to create your call application. I hope you enjoyed the article and will indeed proceed to create some good apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will proceed with another exciting topic, i.e., placing phone calls through android. It\u2019s quite an essential feature in Android that allows you to communicate with other people. By reading this&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":82835,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2791],"tags":[3813,3814,3815,3816],"class_list":["post-82733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-phone-calls","tag-calling-scenarios-in-android","tag-implementation-of-android-event-handling","tag-place-calls-through-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Phone Calls Through Android - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn the various methods using which you can do phone calls in Android. See scenarios while attending, placing &amp; ending a call with Example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Phone Calls Through Android - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn the various methods using which you can do phone calls in Android. See scenarios while attending, placing &amp; ending a call with Example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-21T03:30:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-04T15:20:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Phone Calls Through Android - TechVidvan","description":"Learn the various methods using which you can do phone calls in Android. See scenarios while attending, placing & ending a call with Example.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/","og_locale":"en_US","og_type":"article","og_title":"Phone Calls Through Android - TechVidvan","og_description":"Learn the various methods using which you can do phone calls in Android. See scenarios while attending, placing & ending a call with Example.","og_url":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-07-21T03:30:45+00:00","article_modified_time":"2024-08-04T15:20:35+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Phone Calls Through Android","datePublished":"2021-07-21T03:30:45+00:00","dateModified":"2024-08-04T15:20:35+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/"},"wordCount":698,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg","keywords":["Android Phone Calls","Calling Scenarios in Android","Implementation of Android Event Handling","Place calls through Android"],"articleSection":["Android Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/","url":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/","name":"Phone Calls Through Android - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg","datePublished":"2021-07-21T03:30:45+00:00","dateModified":"2024-08-04T15:20:35+00:00","description":"Learn the various methods using which you can do phone calls in Android. See scenarios while attending, placing & ending a call with Example.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/07\/Place-Call-Through-Android.jpg","width":1200,"height":628,"caption":"Android Phone Calls"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/android-phone-calls\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Phone Calls Through Android"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=82733"}],"version-history":[{"count":2,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82733\/revisions"}],"predecessor-version":[{"id":447581,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/82733\/revisions\/447581"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/82835"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=82733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=82733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=82733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}