{"id":36955,"date":"2024-11-01T09:53:37","date_gmt":"2024-11-01T09:53:37","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=36955"},"modified":"2024-11-01T11:42:51","modified_gmt":"2024-11-01T11:42:51","slug":"course-creating-a-battery-information-app-in-kotlin-android-app-development","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/36955\/","title":{"rendered":"course, Creating a Battery Information App in Kotlin Android App Development"},"content":{"rendered":"<p><body><\/p>\n<p>Recently, as the importance of mobile app development has increased, many developers are learning to develop apps on the Android platform. This course will explain in detail how to create a simple app that displays battery information using Kotlin. This course will be a great opportunity to understand the basic concepts of Kotlin and to identify the essential elements needed for Android app development.<\/p>\n<h2>1. Setting Up the Development Environment<\/h2>\n<p>To start Android app development, you first need to install the necessary tools. The commonly used IDE is <strong>Android Studio<\/strong>. Android Studio supports development with Kotlin and includes a powerful code editor and debugging tools.<\/p>\n<ol>\n<li>Download and install Android Studio: Download and install the latest version from the <a href=\"https:\/\/developer.android.com\/studio\" target=\"_blank\" rel=\"noopener\">official Android Studio website<\/a>.<\/li>\n<li>Install SDK and Emulator: The first time you run Android Studio, you will be prompted to install the SDK (SDK Manager) and Emulator. This process is mandatory.<\/li>\n<li>Check Kotlin Plugin: Android Studio supports Kotlin by default, but check and update the plugin if necessary.<\/li>\n<\/ol>\n<h2>2. Creating a New Project<\/h2>\n<p>Creating a new project in Android Studio is straightforward.<\/p>\n<ol>\n<li>Open Android Studio and select <strong>Start a new Android Studio project<\/strong>.<\/li>\n<li>Choose <strong>Empty Activity<\/strong> as the project template.<\/li>\n<li>Set the project name to <strong>BatteryInfoApp<\/strong>, and designate the package name as <strong>com.example.batteryinfo<\/strong>.<\/li>\n<li>Select Kotlin and set the minimum SDK to API 21 (Lollipop).<\/li>\n<li>Finally, click <strong>Finish<\/strong> to create the project.<\/li>\n<\/ol>\n<h2>3. Understanding the App Structure<\/h2>\n<p>Android apps generally consist of components such as Activity, Fragment, and Service. In this example, we will use <strong>MainActivity<\/strong> as the main activity to display battery information.<\/p>\n<p>When the project is created, the <strong>app\/src\/main\/java\/com\/example\/batteryinfo\/MainActivity.kt<\/strong> file and <strong>app\/src\/main\/res\/layout\/activity_main.xml<\/strong> file will be generated.<\/p>\n<h2>4. Reading Battery Information<\/h2>\n<p>In Android, you can read battery information using system services and BroadcastReceiver. We will use <strong>BatteryManager<\/strong> and <strong>BroadcastReceiver<\/strong> to retrieve battery information.<\/p>\n<h3>4.1. Writing the Code<\/h3>\n<p>First, we will define the layout to display battery information. Modify the <strong>activity_main.xml<\/strong> file to add a TextView that shows battery status and percentage.<\/p>\n<pre>\n    &lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n    &lt;RelativeLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"match_parent\"&gt;\n\n        &lt;TextView\n            android:id=\"@+id\/battery_percentage\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_centerInParent=\"true\"\n            android:textSize=\"24sp\"\n            android:text=\"Battery: 0%\"\n            android:padding=\"16dp\"\/&gt;\n\n        &lt;TextView\n            android:id=\"@+id\/battery_status\"\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:layout_below=\"@id\/battery_percentage\"\n            android:layout_centerHorizontal=\"true\"\n            android:textSize=\"18sp\"\n            android:text=\"Status: Unknown\"\/&gt;\n\n    &lt;\/RelativeLayout&gt;\n    <\/pre>\n<p>Now, we will modify the <strong>MainActivity.kt<\/strong> file to add the logic for reading battery information. Write the code as shown below.<\/p>\n<pre>\n    package com.example.batteryinfo\n\n    import android.content.BroadcastReceiver\n    import android.content.Context\n    import android.content.Intent\n    import android.content.IntentFilter\n    import android.os.BatteryManager\n    import androidx.appcompat.app.AppCompatActivity\n    import android.os.Bundle\n    import android.widget.TextView\n\n    class MainActivity : AppCompatActivity() {\n\n        private lateinit var batteryPercentage: TextView\n        private lateinit var batteryStatus: TextView\n\n        override fun onCreate(savedInstanceState: Bundle?) {\n            super.onCreate(savedInstanceState)\n            setContentView(R.layout.activity_main)\n\n            batteryPercentage = findViewById(R.id.battery_percentage)\n            batteryStatus = findViewById(R.id.battery_status)\n\n            val batteryStatusIntent = registerReceiver(null, IntentFilter(Intent.ACTION_BATTERY_CHANGED))\n            val batteryLevel = batteryStatusIntent?.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) ?: -1\n            val batteryScale = batteryStatusIntent?.getIntExtra(BatteryManager.EXTRA_SCALE, -1) ?: -1\n            val batteryPercent = (batteryLevel \/ batteryScale.toFloat() * 100).toInt()\n\n            batteryPercentage.text = \"Battery: $batteryPercent%\"\n\n            when (batteryStatusIntent?.getIntExtra(BatteryManager.EXTRA_STATUS, -1)) {\n                BatteryManager.BATTERY_STATUS_CHARGING -&gt; {\n                    batteryStatus.text = \"Status: Charging\"\n                }\n                BatteryManager.BATTERY_STATUS_DISCHARGING -&gt; {\n                    batteryStatus.text = \"Status: Discharging\"\n                }\n                BatteryManager.BATTERY_STATUS_FULL -&gt; {\n                    batteryStatus.text = \"Status: Full\"\n                }\n                else -&gt; {\n                    batteryStatus.text = \"Status: Unknown\"\n                }\n            }\n        }\n    }\n    <\/pre>\n<h3>4.2. Explanation<\/h3>\n<p>In the above code, we are reading the battery status and percentage through <strong>BatteryManager<\/strong>. The battery status is checked via <strong>BatteryManager.EXTRA_STATUS<\/strong>, and the percentage is calculated through the battery level and scale. Subsequently, this information is displayed in the TextView.<\/p>\n<h2>5. Running and Testing the App<\/h2>\n<p>Now that the app is ready, let&#8217;s run it on a real device or emulator. You can run the app by clicking the <strong>Run<\/strong> button in the upper menu of Android Studio or pressing <strong>Shift + F10<\/strong>. When the app runs on the emulator, the battery status and percentage will be displayed on the screen.<\/p>\n<h2>6. Implementing Additional Features<\/h2>\n<p>After creating the basic battery information app, let&#8217;s consider a few additional features that can be implemented.<\/p>\n<h3>6.1. Detecting Battery Changes<\/h3>\n<p>It is also possible to detect changes in battery status and update the UI accordingly. To do this, you will need to use a <strong>BroadcastReceiver<\/strong> to receive battery status change events and update the UI. The following code can be added.<\/p>\n<pre>\n    private val batteryReceiver = object : BroadcastReceiver() {\n        override fun onReceive(context: Context?, intent: Intent?) {\n            val level = intent?.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) ?: -1\n            val scale = intent?.getIntExtra(BatteryManager.EXTRA_SCALE, -1) ?: -1\n            val batteryPercent = (level \/ scale.toFloat() * 100).toInt()\n\n            batteryPercentage.text = \"Battery: $batteryPercent%\"\n            when (intent?.getIntExtra(BatteryManager.EXTRA_STATUS, -1)) {\n                BatteryManager.BATTERY_STATUS_CHARGING -&gt; {\n                    batteryStatus.text = \"Status: Charging\"\n                }\n                BatteryManager.BATTERY_STATUS_DISCHARGING -&gt; {\n                    batteryStatus.text = \"Status: Discharging\"\n                }\n                BatteryManager.BATTERY_STATUS_FULL -&gt; {\n                    batteryStatus.text = \"Status: Full\"\n                }\n                else -&gt; {\n                    batteryStatus.text = \"Status: Unknown\"\n                }\n            }\n        }\n    }\n\n    override fun onStart() {\n        super.onStart()\n        val filter = IntentFilter(Intent.ACTION_BATTERY_CHANGED)\n        registerReceiver(batteryReceiver, filter)\n    }\n\n    override fun onStop() {\n        super.onStop()\n        unregisterReceiver(batteryReceiver)\n    }\n    <\/pre>\n<h3>6.2. Improving UI Design<\/h3>\n<p>Based on the basic layout, you can add battery icons or graphs to make the UI more intuitive. Adding various design elements with user experience (UX) in mind is also a good direction.<\/p>\n<h2>7. Conclusion<\/h2>\n<p>In this course, we created a simple battery information app using Kotlin. We learned the basic method of reading battery information and will be able to grow as an app developer by adding various features in the future. We encourage continuous interest and learning in Android app development. Try to create your own great apps through various tools and frameworks!<\/p>\n<h2>8. References<\/h2>\n<ul>\n<li><a href=\"https:\/\/developer.android.com\/reference\/android\/os\/BatteryManager\" target=\"_blank\" rel=\"noopener\">Official BatteryManager Documentation<\/a><\/li>\n<li><a href=\"https:\/\/developer.android.com\/training\/basics\/firstapp\/index.html\" target=\"_blank\" rel=\"noopener\">Creating Your First Android App<\/a><\/li>\n<li><a href=\"https:\/\/kotlinlang.org\/docs\/home.html\" target=\"_blank\" rel=\"noopener\">Official Kotlin Documentation<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, as the importance of mobile app development has increased, many developers are learning to develop apps on the Android platform. This course will explain in detail how to create a simple app that displays battery information using Kotlin. This course will be a great opportunity to understand the basic concepts of Kotlin and to &hellip; <a href=\"https:\/\/atmokpo.com\/w\/36955\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;course, Creating a Battery Information App in Kotlin Android App Development&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[143],"tags":[],"class_list":["post-36955","post","type-post","status-publish","format-standard","hentry","category-kotlin-android-app-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/36955\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Recently, as the importance of mobile app development has increased, many developers are learning to develop apps on the Android platform. This course will explain in detail how to create a simple app that displays battery information using Kotlin. This course will be a great opportunity to understand the basic concepts of Kotlin and to &hellip; \ub354 \ubcf4\uae30 &quot;course, Creating a Battery Information App in Kotlin Android App Development&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/36955\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:53:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:42:51+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"course, Creating a Battery Information App in Kotlin Android App Development\",\"datePublished\":\"2024-11-01T09:53:37+00:00\",\"dateModified\":\"2024-11-01T11:42:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/\"},\"wordCount\":652,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Kotlin Android app development\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/\",\"url\":\"https:\/\/atmokpo.com\/w\/36955\/\",\"name\":\"course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:53:37+00:00\",\"dateModified\":\"2024-11-01T11:42:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/36955\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/36955\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"course, Creating a Battery Information App in Kotlin Android App Development\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/36955\/","og_locale":"ko_KR","og_type":"article","og_title":"course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Recently, as the importance of mobile app development has increased, many developers are learning to develop apps on the Android platform. This course will explain in detail how to create a simple app that displays battery information using Kotlin. This course will be a great opportunity to understand the basic concepts of Kotlin and to &hellip; \ub354 \ubcf4\uae30 \"course, Creating a Battery Information App in Kotlin Android App Development\"","og_url":"https:\/\/atmokpo.com\/w\/36955\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:53:37+00:00","article_modified_time":"2024-11-01T11:42:51+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/36955\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/36955\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"course, Creating a Battery Information App in Kotlin Android App Development","datePublished":"2024-11-01T09:53:37+00:00","dateModified":"2024-11-01T11:42:51+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/36955\/"},"wordCount":652,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Kotlin Android app development"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/36955\/","url":"https:\/\/atmokpo.com\/w\/36955\/","name":"course, Creating a Battery Information App in Kotlin Android App Development - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:53:37+00:00","dateModified":"2024-11-01T11:42:51+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/36955\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/36955\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/36955\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"course, Creating a Battery Information App in Kotlin Android App Development"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=36955"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36955\/revisions"}],"predecessor-version":[{"id":36956,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/36955\/revisions\/36956"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=36955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=36955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=36955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}