{"id":84527,"date":"2021-09-14T09:00:05","date_gmt":"2021-09-14T03:30:05","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=84527"},"modified":"2024-08-05T22:21:17","modified_gmt":"2024-08-05T16:51:17","slug":"android-menu","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/android-menu\/","title":{"rendered":"Android Menu &#8211; Types, Implementation and Examples"},"content":{"rendered":"<p>In this article, we will explore an exciting topic called Android Menu. Menus are a crucial part of any application\u2019s user interface, enhancing the interactivity and overall user experience. Without a menu, your app might feel less intuitive and engaging. An Android Menu provides users with a list of options to choose from, guiding them to perform various actions seamlessly.<\/p>\n<p>For instance, imagine you are using a tourism app. The menu might contain options like Trains, Flights, Hotels, Support, and more. By selecting any of these options, users can quickly navigate to the relevant section and perform the desired actions. Menus make it easier for users to access the features they need, making the app more user-friendly and efficient. So, let&#8217;s dive into the different types of menus and how to implement them in your Android app.<\/p>\n<h3>Types of Android Menu<\/h3>\n<p>Let us explore the three types of menu provided by Android:<\/p>\n<h4>1. Android Options Menu<\/h4>\n<p>The options menu is usually present in the action bar. You can find several options listed in the options menu through which you can make a selection.<\/p>\n<p>For example,<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/01_options_menu.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84746\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/01_options_menu.jpg\" alt=\"Android Menu Options\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h4>2. Android Popup Menu<\/h4>\n<p>Popup Menu is a menu that appears over your view and covers your view. Below you can find an example of the same.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/02_PopUp_Menu.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84747\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/02_PopUp_Menu.jpg\" alt=\"Android Pop Up Menu\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h4>3. Android Contextual Menu<\/h4>\n<p>Contextual Menu appears when you long-press over a view element. Its position is not fixed and usually appears just beside the element you did a long press.<\/p>\n<p>For example,<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/03_Contextual_menu.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84748\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/03_Contextual_menu.jpg\" alt=\"Android Contextual Menu\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h3>Defining a Menu in XML<\/h3>\n<p>Android provides you with a feature to style your menu according to your needs. Let\u2019s see a few things which would help you to design the menu layout.<\/p>\n<p>You first need to create a menu directory in the res directory. After that, create a file called sample_menu.xml file in your menu directory.<\/p>\n<p>Below you can find some of the essential elements of the menu.<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>&lt;element&gt;<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">&lt;menu&gt;<\/span><\/td>\n<td>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">This is the root element of your sample_menu.xml file<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It contains several options inside it.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It can contain several other elements.<\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">&lt;items&gt;<\/span><\/td>\n<td>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Item tag is used to define the options present in your menu.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Inside the item tag, you can have another menu tag to create a submenu.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The &lt;item&gt; can\u2019t exist alone, it should be present inside a &lt;menu&gt; tag.<\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">&lt;group&gt;\u00a0<\/span><\/td>\n<td>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">You can use it to create sections in your menu.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It allows you to group menu items with similar functionalities or properties.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">It is an optional element but yet a useful one.\u00a0<\/span><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>To make the above points clear, you can go through the below example.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;menu xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/new_group\"\r\n        android:title=\"New Group\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/new_broad\"\r\n        android:title=\"New Broadcast\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/search\"\r\n        android:title=\"Search\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/settings\"\r\n        android:title=\"Settings\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/account\"\r\n        android:title=\"Account\" \/&gt;\r\n&lt;\/menu&gt;\r\n<\/pre>\n<h3>Attributes involved in Android Menu<\/h3>\n<p>Like any other UI element, even the menu has some attributes to style it and provide additional functionalities. These attributes are applied to the &lt;item&gt; element.<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>Attribute Name<\/b><\/td>\n<td><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">android:id<\/span><\/td>\n<td><span style=\"font-weight: 400;\">It is used to identify the menu item uniquely.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">android:icon<\/span><\/td>\n<td><span style=\"font-weight: 400;\">If you wish to show an icon as your item then you can use the icon attribute.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">android:title<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Whatever be the name of your option needs to be provided using the title attribute.\u00a0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">android:showAsAction<\/span><\/td>\n<td><span style=\"font-weight: 400;\">Using the showAsAction attribute, you need to specify when and where the option should be visible.\u00a0<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Implementation of Menu in Android<\/h3>\n<p>The implementation of the Android Menu is quite simple and just requires a bit of knowledge of XML. I hope you are clear with the above points and are ready to implement them in your Android Studio.<\/p>\n<p><strong>Step 1:<\/strong> Start your Android Studio, select a new project, and then provide your application with a name.<\/p>\n<p><strong>Step 2:<\/strong> Now, create a menu directory in your res directory. In this folder, create a file named sample_menu.xml and paste the below code there.<\/p>\n<p><strong>Code: sample_menu.xml<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\r\n&lt;menu xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/new_group\"\r\n        android:title=\"New Group\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/new_broad\"\r\n        android:title=\"New Broadcast\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/search\"\r\n        android:title=\"Search\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/settings\"\r\n        android:title=\"Settings\" \/&gt;\r\n    &lt;item\r\n        android:id=\"@+id\/account\"\r\n        android:title=\"Account\" \/&gt;\r\n&lt;\/menu&gt;\r\n<\/pre>\n<p><strong>Step 3:<\/strong> Now go back to your MainActivity.kt file and paste the code below.<\/p>\n<p><strong>Code: MainActivity.kt<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">package com.techvidvan.techvidvanmenu\r\n\r\nimport androidx.appcompat.app.AppCompatActivity\r\nimport android.os.Bundle\r\nimport android.view.Menu\r\nimport android.view.MenuInflater\r\nimport android.view.MenuItem\r\nimport android.widget.Toast\r\n\r\nclass MainActivity : AppCompatActivity()\r\n{\r\n    \/\/Kotlin Code to create options menu in android\r\n    override fun onCreate(savedInstanceState: Bundle?) {\r\n        super.onCreate(savedInstanceState)\r\n        setContentView(R.layout.activity_main)\r\n    }\r\n\r\n    \/\/Overriding the onCreateOptionsMenu\r\n    override fun onCreateOptionsMenu(menu: Menu): Boolean {\r\n        \/\/Creating an object of MenuInflater\r\n        val inflater: MenuInflater = menuInflater\r\n        \/\/Calling the sample menu using inflater\r\n        inflater.inflate(R.menu.sample_menu, menu)\r\n        return true\r\n    }\r\n\r\n    override fun onOptionsItemSelected(item: MenuItem): Boolean {\r\n        \/\/ Handle item selection\r\n        return when (item.itemId) {\r\n            \/\/If the user chooses New Group\r\n            R.id.new_group -&gt; {\r\n                Toast.makeText(this@MainActivity, \"You Chose New Group\", Toast.LENGTH_LONG).show()\r\n                true\r\n            }\r\n            \/\/If the user chooses New Broadcast\r\n            R.id.new_broad -&gt; {\r\n                Toast.makeText(this@MainActivity, \"You Chose New Broadcast\", Toast.LENGTH_LONG).show()\r\n                true\r\n            }\r\n            \/\/If the user chooses Search option\r\n            R.id.search -&gt; {\r\n                Toast.makeText(this@MainActivity, \"You Chose Search\", Toast.LENGTH_LONG).show()\r\n                true\r\n            }\r\n            \/\/If the user chooses Settings Option\r\n            R.id.settings -&gt; {\r\n                Toast.makeText(this@MainActivity, \"You Chose Settings\", Toast.LENGTH_LONG).show()\r\n                true\r\n            }\r\n            \/\/If the user chooses Account option\r\n            R.id.account -&gt; {\r\n                Toast.makeText(this@MainActivity, \"You Chose Account\", Toast.LENGTH_LONG).show()\r\n                true\r\n            }\r\n\r\n            else -&gt; super.onOptionsItemSelected(item)\r\n        }\r\n    }\r\n}\r\n<\/pre>\n<p>Now build your application and then run it on your device or emulator.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_1-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84749\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_1-5.jpg\" alt=\"Android Menu\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>You can notice the three dots present in the action bar; just click on them.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_2-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84750\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_2-5.jpg\" alt=\"Android menu Output\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<p>You can see an available list of options. Now select the New Group option here, and you would see a toast on your screen.<\/p>\n<p><a href=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_3-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-84751\" src=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/sites\/2\/2021\/08\/App_Output_3-4.jpg\" alt=\"Menu in Android\" width=\"1080\" height=\"2280\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>Through this article, you came across Menu in Android. You saw several types of menus present in Android, along with a suitable example. Later on, you saw how you could define and style your menu. Finally, you saw an implementation of the Android Menu in a few simple steps. I hope you enjoyed the article and would develop more such menus for your apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will explore an exciting topic called Android Menu. Menus are a crucial part of any application\u2019s user interface, enhancing the interactivity and overall user experience. Without a menu, your app&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":84745,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2791],"tags":[4234],"class_list":["post-84527","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","tag-android-menu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Android Menu - Types, Implementation and Examples - TechVidvan<\/title>\n<meta name=\"description\" content=\"Learn about Menu in Android with its implementation. See the types of menus in Android with example. Learn to define and style your menu.\" \/>\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-menu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android Menu - Types, Implementation and Examples - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Learn about Menu in Android with its implementation. See the types of menus in Android with example. Learn to define and style your menu.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/android-menu\/\" \/>\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-09-14T03:30:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-05T16:51:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.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=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android Menu - Types, Implementation and Examples - TechVidvan","description":"Learn about Menu in Android with its implementation. See the types of menus in Android with example. Learn to define and style your menu.","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-menu\/","og_locale":"en_US","og_type":"article","og_title":"Android Menu - Types, Implementation and Examples - TechVidvan","og_description":"Learn about Menu in Android with its implementation. See the types of menus in Android with example. Learn to define and style your menu.","og_url":"https:\/\/techvidvan.com\/tutorials\/android-menu\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-09-14T03:30:05+00:00","article_modified_time":"2024-08-05T16:51:17+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.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":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Android Menu &#8211; Types, Implementation and Examples","datePublished":"2021-09-14T03:30:05+00:00","dateModified":"2024-08-05T16:51:17+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/"},"wordCount":773,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.jpg","keywords":["Android Menu"],"articleSection":["Android Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/android-menu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/","url":"https:\/\/techvidvan.com\/tutorials\/android-menu\/","name":"Android Menu - Types, Implementation and Examples - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.jpg","datePublished":"2021-09-14T03:30:05+00:00","dateModified":"2024-08-05T16:51:17+00:00","description":"Learn about Menu in Android with its implementation. See the types of menus in Android with example. Learn to define and style your menu.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/android-menu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/08\/Android_Menu.jpg","width":1200,"height":628,"caption":"Android Menu"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/android-menu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Android Menu &#8211; Types, Implementation and Examples"}]},{"@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\/84527","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=84527"}],"version-history":[{"count":1,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/84527\/revisions"}],"predecessor-version":[{"id":447615,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/84527\/revisions\/447615"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/84745"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=84527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=84527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=84527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}