{"id":2099,"date":"2023-11-13T18:31:28","date_gmt":"2023-11-13T09:31:28","guid":{"rendered":"http:\/\/batmask.dothome.co.kr\/?p=2099"},"modified":"2023-11-13T18:31:28","modified_gmt":"2023-11-13T09:31:28","slug":"android-intent-%ec%a0%95%eb%a6%ac-1","status":"publish","type":"post","link":"http:\/\/batmask.net\/index.php\/2023\/11\/13\/2099\/","title":{"rendered":"Android : Intent \uc815\ub9ac #1"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">\uba85\uc2dc\uc801 \uc778\ud150\ud2b8(Explicit Intent)<\/h3>\n\n\n\n<p>\uc694\uc998\uc5d4 \ub2e8\uc77c Activity\ub85c \uc571 \uac1c\ubc1c\uc774 \uc8fc\ub85c \uc774\ub8e8\uc5b4\uc9c0\uc9c0\ub9cc, \ucd08\uae30\uc5d0\ub294 \ubaa8\ub450 Activity\ub85c \ub9cc\ub4e4\uc5b4\uc84c\uc5c8\ub2e4. \ud558\ub098\uc758 \uc571\ub0b4\uc5d0\uc11c\ub3c4 Activity\ub97c \ub744\uc6b0\uae30 \uc704\ud574\uc120 startActivity()\ub97c \uc0ac\uc6a9\ud558\ub294\ub370, \uc778\uc790\ub85c Intent\uac1d\uccb4\ub97c \ub118\uaca8\uc92c\ub2e4. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"431\" height=\"293\" src=\"http:\/\/batmask.dothome.co.kr\/wordpress\/wp-content\/uploads\/2023\/11\/activity_intent.png\" alt=\"\" class=\"wp-image-2121\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/activity_intent.png 431w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/activity_intent-300x204.png 300w\" sizes=\"auto, (max-width: 431px) 100vw, 431px\" \/><\/figure>\n<\/div>\n\n\n<p>Activity\ub97c \ub744\uc6b0\ub294 \uc608\uc81c \ucf54\ub4dc\ub97c \ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"kotlin\" class=\"language-kotlin\">val intent = Intent(this, DisplayMessageActivity::class.java).apply {\n        putExtra(EXTRA_MESSAGE, message)\n    }\n    startActivity(intent)<\/code><\/pre>\n\n\n\n<p>Intnet \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\ub294 \uccab\ubc88\uc9f8 \uc778\uc790\ub294 Context\uc774\uace0, \ub450\ubc88\uc9f8\ub294 \ubd88\ub7ec\uc62c Activity\uc758 \ud074\ub798\uc2a4 \uc774\ub984\uc774\ub2e4. &#8220;<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">::class.java<\/mark>&#8221; \ub294 \ubb34\uc5c7\uc77c\uae4c? ::class \ub294 Kotlin\uc5d0\uc11c <a href=\"https:\/\/kotlinlang.org\/api\/latest\/jvm\/stdlib\/kotlin.reflect\/-k-class\/\">KClass<\/a>\ub97c \ub9ac\ud134\ud574\uc8fc\ub294 <a href=\"https:\/\/kotlinlang.org\/docs\/reflection.html#class-references\">reflection \ubb38\ubc95<\/a>\uc774\ub2e4. \uc548\ub4dc\ub85c\uc774\ub4dc Intent\ub294 java class\ub97c \uc778\uc790\ub85c \ubc1b\uae30 \ub54c\ubb38\uc5d0, KClass\ub97c \ubc14\ub85c \ub118\uae38 \uc218 \uc5c6\ub2e4. .java\ub294 KClass\uc5d0\uc11c Java class\ub808\ud37c\ub7f0\uc2a4\ub97c \uc5bb\uc5b4\uc624\ub294 \ubb38\ubc95\uc774\ub2e4.<a href=\"https:\/\/kotlinlang.org\/docs\/reflection.html#class-references\"> Kotlin \uacf5\uc2dd\ubb38\uc11c<\/a>\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \uae30\uc220\ud558\uace0 \uc788\ub2e4.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>On JVM: a Kotlin class reference is not the same as a Java class reference. To obtain a Java class reference, use the&nbsp;<code>.java<\/code>&nbsp;property on a&nbsp;<code>KClass<\/code>&nbsp;instance.<\/p>\n<\/blockquote>\n\n\n\n<p>\uc774\uc640\uac19\uc774, \uc2e4\ud589\ud560 Activity\ub97c \uba85\uc2dc\ud574\uc8fc\ub294 \ubc29\ubc95\uc774 <strong>\uba85\uc2dc\uc801 \uc778\ud150\ud2b8(Explicit Intent)<\/strong>\uc774\ub2e4. Activity\uc678\uc5d0\ub3c4 startService()\ub098 bindService()\ub97c \uc774\uc6a9\ud574 Service\ub97c \uc2e4\ud589\ud560 \uc218\ub3c4 \uc788\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\uc554\uc2dc\uc801 \uc778\ud150\ud2b8(Implicit Intent)<\/h3>\n\n\n\n<p>\uc774\uc640 \ub300\uc870\uc801\uc73c\ub85c, \uc2e4\ud589\ud560 Activity\ub098 Service\ub97c  \uba85\uc2dc\ud558\uc9c0 \uc54a\uace0 \uc57d\uc18d\ub41c Intent\ub97c \ubcf4\ub0b4\uba74, \uc548\ub4dc\ub85c\uc774\ub4dc \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ud574\ub2f9\ud558\ub294 \uc778\ud150\ud2b8\ub97c \uc2e4\ud589\ud560 application\uc744 \uc2e4\ud589\ud574\uc8fc\ub294 \uc0ac\uc6a9\ubc95\uc774 \uc788\ub2e4. \uc774\uac83\uc774 <strong>\uc554\uc2dc\uc801 \uc778\ud150\ud2b8(Implicit Intent)<\/strong> \ub77c\uace0\ud55c\ub2e4. \uc554\uc2dc\uc801 \uc778\ud150\ud2b8\uc758 \uc608\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 text message\ub97c \ubcf4\ub0b4\ub294 \ubc29\ubc95\uc774 \uc788\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"kotlin\" class=\"language-kotlin\">\/\/ Create the text message with a string.\nval sendIntent = Intent().apply {\n    action = Intent.ACTION_SEND\n    putExtra(Intent.EXTRA_TEXT, textMessage)\n    type = \"text\/plain\"\n}\n\n\/\/ Try to invoke the intent.\ntry {\n    startActivity(sendIntent)\n} catch (e: ActivityNotFoundException) {\n    \/\/ Define what your app should do if no activity can handle the intent.\n}<\/code><\/pre>\n\n\n\n<p>Intent\uc5d0 \ud074\ub798\uc2a4\ub97c \uba85\uc2dc\ud558\uc9c0 \uc54a\uc9c0\ub9cc, &#8220;Intent.ACTION_SEND&#8221;\ub77c\ub294 action\uc744 \uc8fc\uace0 \ucd94\uac00 \ub370\uc774\ud130\ub85c &#8220;Intent.EXTRA_TEXT&#8221;\uc5d0 \ubcf4\ub0bc \ud14d\uc2a4\ud2b8 \uba54\uc138\uc9c0\ub97c \ucd94\uac00\ud558\uace0 \uc788\ub2e4. \uadf8\ub9ac\uace0 type\uc744 &#8220;text\/plain&#8221;\uc73c\ub85c \uc9c0\uc815\ud558\uace0 \uc788\ub294\ub370, \uc774 \ub370\uc774\ud130\uac00 \uc5b4\ub5a4 \ub370\uc774\ud130\uc778\uc9c0 \uc54c\ub824\uc8fc\ub294 mime type\uc744 \uc758\ubbf8\ud55c\ub2e4. startActivity()\uc5d0 \uc774 \uc778\ud150\ud2b8\ub97c \uc778\uc790\ub85c \ubcf4\ub0b4\uba74, \uc548\ub4dc\ub85c\uc774\ub4dc \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc801\ud569\ud55c \uc571\uc744 \uc2e4\ud589\ud574 \uc8fc\ub294 \uc2dd\uc774\ub2e4. Intent\uc5d0 \ub2e4\uc591\ud55c \uc635\uc158\uc774 \ub4e4\uc5b4\uac04\uac78 \ubcfc \uc218 \uc788\uc5c8\ub294\ub370, \ucc28\ucc28 \uc54c\uc544\ubcf4\uc790.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\uc778\ud150\ud2b8\uc758 \uc791\ub3d9 \ubc29\uc2dd<\/h3>\n\n\n\n<p> \uc774 \uae30\ubb18\ud558\uae30\ub3c4\ud558\uace0, \uac19\uc740 application\ub0b4\uc758 Activity\ub098 Service\ub97c \ubd80\ub97c \ub54c\ub3c4 \uc774\ub807\uac8c \uc0ac\uc6a9\ud558\ub294\uac8c \uc758\uc544\ud560 \uc218 \uc788\ub294\ub370, \uc774\uac8c \uc548\ub4dc\ub85c\uc774\ub4dc\uc758 \uc124\uacc4\ubc29\uc2dd\uc774\uc5c8\ub2e4.  \uc548\ub4dc\ub85c\uc774\ub4dc\uc758 \ucd08\uae30 \ub514\uc790\uc778\uc5d0\uc11c 4\uac1c\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub85c \uad6c\uc131\uc774 \ub418\uac8c \ub9cc\ub4e4\uc5c8\ub294\ub370, Activity, Service, Content Provider, Broadcast Receiver\uc774\ub2e4. \uc2e4\ud589\ub2e8\uc704\uac00 \ud558\ub098\uc758 \uc5b4\ud50c\ub9ac\ucf00\uc774\uc158\uc73c\ub85c \ubcf4\uae30\ubcf4\ub2e4, \ud558\ub098\uc758 \ucef4\ud3ec\ub10c\ud2b8\ub85c \ubcf4\uc774\ub3c4\ub85d \ud588\uace0, \uc571\uac04\uc758 \uacbd\uacc4\uc5c6\uc774 \uc774 \ucef4\ud3ec\ub10c\ud2b8\uac04 \uc77c\uc885\uc758 \uc6d0\uaca9 \ud1b5\uc2e0 \uc218\ub2e8\uc774 Intent\uc778 \uac83\uc774\ub2e4. \uc571\uac04\uc758 \uacbd\uacc4\ub97c \ub118\uc5b4\uc11c\uae30 \ub54c\ubb38\uc5d0 \uc774\ub7ec\ud55c \uad6c\ud604\uc744 \uc704\ud574 \ub2f9\uc5f0\ud788 \uc548\ub4dc\ub85c\uc774\ub4dc \uc2dc\uc2a4\ud15c\uc774 \uac1c\uc785\ud558\uac8c \ub41c\ub2e4.<\/p>\n\n\n\n<p> \uc774\ub807\uac8c \uc778\ud150\ud2b8\ub97c \ubcf4\ub0b4\uba74 \uc774 \uc778\ud150\ud2b8\ub97c \uc2dc\uc2a4\ud15c\uc774 \ubc1b\uace0, \uc5b4\ub5a4\uac78 \uc2e4\ud589\ud560\uc9c0 \ud310\ub2e8\ud558\uc5ec Activity\ub4e0 Service\ub4e0 BroadcastReceiver\ub4e0 \uc2e4\ud589\ud558\uac8c \ub41c\ub2e4. startActivity()\ub97c \ud1b5\ud574 \ub2e4\ub978 Activity\ub97c \uc2e4\ud589\ud558\ub294 \ubaa8\uc2b5\uc744 \ub3c4\uc2dd\uc801\uc73c\ub85c \ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\ub2e4.  <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"257\" src=\"http:\/\/batmask.dothome.co.kr\/wordpress\/wp-content\/uploads\/2023\/11\/android_implicit_intents_process_flow.png\" alt=\"\" class=\"wp-image-2117\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/android_implicit_intents_process_flow.png 567w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/android_implicit_intents_process_flow-300x136.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/figure>\n<\/div>\n\n\n<ol class=\"wp-block-list\">\n<li>\uc561\ud2f0\ube44\ud2f0\uac00 \uc778\ud150\ud2b8\ub97c \uc0dd\uc131\ud574\uc11c startActivity()\ub97c \ud1b5\ud574 \ubcf4\ub0b8\ub2e4.<\/li>\n\n\n\n<li>\uc548\ub4dc\ub85c\uc774\ub4dc \uc2dc\uc2a4\ud15c\uc774 intent filter\ub97c \ud1b5\ud574 intent\uc5d0 \ub9e4\uce6d\ub418\ub294 \ubaa8\ub4e0 \uc571\ub4e4\uc744 \ucc3e\ub294\ub2e4.<\/li>\n\n\n\n<li>\ub9e4\uce6d\ub418\ub294 Activity\ub97c \ucc3e\uc73c\uba74, \ud574\ub2f9 Activity\ub97c \uc2e4\ud589\ud558\uace0 Intent\ub97c \ub118\uaca8\uc900\ub2e4.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>\uba85\uc2dc\uc801 \uc778\ud150\ud2b8(Explicit Intent)\uc5d0 \ub300\ud574\uc120 \uc2e4\ud589\ud560 \ub300\uc0c1\uc744 \uba85\ud655\ud558\uac8c \uae30\uc220\ud558\uae30 \ub54c\ubb38\uc5d0, \uc704\uc5d0\uc11c \ub9d0\ud558\ub294 Intent filter\ub97c \ud1b5\ud574 intent\uc5d0 \ub9e4\uce6d\ub418\ub294\uac78 \ucc3e\ub294 \uacfc\uc815\uc774 \ud544\uc694\uac00 \uc5c6\ub2e4. \uadf8\ub807\ub2e4\uba74, \uc554\uc2dc\uc801 \uc778\ud150\ud2b8(Implicit Intent)\ub294 \uc774 \uacfc\uc815\uc774 \uc5b4\ub5bb\uac8c \uc9c4\ud589\ub418\ub294\uac78\uae4c? \uc778\ud150\ud2b8\uc5d0\ub294 \ubd80\uac00\uc801\uc778 \uc815\ubcf4\ub97c \ucd94\uac00\ud560 \uc218\uac00 \uc788\ub294\ub370, \uc778\ud150\ud2b8\ub97c \ubc1b\ub294 \uc571 \ucabd\uc5d0\uc11c \uc5b4\ub5a0\ud55c \uc778\ud150\ud2b8\ub97c \ubc1b\uc744\uc9c0 manifest \ud30c\uc77c\uc5d0 intent-filter \uc815\ubcf4\ub97c \ucd94\uac00\ud558\uc5ec \uacb0\uc815\ud55c\ub2e4. \uc2dc\uc2a4\ud15c\uc5d0\uc11c \uc774 manifest\ud30c\uc77c\uc744 \ubcf4\uace0 \ubcf4\ub0b4\ub294 \uc778\ud150\ud2b8\uc5d0 \ud574\ub2f9\ub418\uba74, \uc571\uc744 \uc2e4\ud589\ud558\uac8c \ub41c\ub2e4. \uc774\ub7f0 \uacfc\uc815\uc744 \ubcf4\uae30 \uc704\ud574, \uc6b0\uc120 Intent\uc758 \uad6c\uc131\uc744 \uc54c\uc544\ubcf4\uace0 \ubcf4\ub0b4\uae30 \uc704\ud574 \uc5b4\ub5bb\uac8c \ub9cc\ub4dc\ub294\uc9c0 \uc54c\uc544\ubcf4\uc790.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Building an Intent<\/h4>\n\n\n\n<p>\uc778\ud150\ud2b8\uc5d0\ub294 \uc5ec\ub7ec\uac00\uc9c0 \uc815\ubcf4\uac00 \ub4e4\uc5b4\uac04\ub2e4. \uc2e4\ud589\ud560 \ub300\uc0c1\ub3c4 \ud2b9\uc815\ud574\uc57c\ud558\uace0, \uc804\ub2ec\ud560 \ub370\uc774\ud130 \ub0b4\uc6a9\ub3c4 \ud544\uc694\ud558\uace0. \uba85\uc2dc\uc801\uc778 \uacbd\uc6b0\uc5d4 \ucef4\ud3ec\ub10c\ud2b8 \uc774\ub984\uc744 \uc9c1\uc811 \uc9c0\uc815\ud558\uc9c0\ub9cc, \uc554\uc2dc\uc801\uc778 \uacbd\uc6b0\uc5d4 \uc778\ud150\ud2b8\ub97c \uc804\ub2ec\ud560 \ub300\uc0c1\uc744 \ud544\ud130\ub9c1\ud560 \uc815\ubcf4\ub4e4\ub3c4 \ud544\uc694\ud558\ub2e4. \ucc98\uc74c \uc811\ud560 \ub54c\ub294 \ubcf5\uc7a1\ud558\uace0 \ub09c\ud574\ud558\uac8c \ub290\uaef4\uc84c\uc9c0\ub9cc, \uc65c \ud544\uc694\ud55c\uc9c0 \uc0dd\uac01\ud558\uba74 \uadf8\ub9ac \uc5b4\ub824\uc6b4 \ub0b4\uc6a9\ub4e4\uc740 \uc544\ub2c8\ub2e4. \uc218\ud589\ud560 \ub300\uc0c1\ud2b9\uc815(Component name \ub610\ub294 Class name), \uc554\uc2dc\uc801 \uc778\ud150\ud2b8\uc758 \uacbd\uc6b0 \ub300\uc0c1\ud2b9\uc815\uc744 \uc704\ud55c \ud544\ud130\ub9c1 \uc815\ubcf4(Action, Type, Category), \uc218\ud589\uc5d0 \ud544\uc694\ud55c \ub370\uc774\ud130(Data, Extra), \uc218\ud589\ud558\ub294 Activity\ub97c \ub744\uc6b0\ub294 \ubc29\ubc95(Flags)\uc2dd\uc73c\ub85c \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Component<\/strong><br>\uba85\uc2dc\uc801 \uc778\ud150\ud2b8(Explit Intent)\uc758 \uacbd\uc6b0\uc5d0 \uc0ac\uc6a9\ub41c\ub2e4. \uc554\uc2dc\uc801 \uc778\ud150\ud2b8\uc5d0\ub294 \uc0ac\uc6a9\ub418\uc9c0 \uc54a\ub294\ub2e4. <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#setComponent(android.content.ComponentName)\">setComponent<\/a>(<a href=\"https:\/\/developer.android.com\/reference\/android\/content\/ComponentName\">ComponentName<\/a>)\uc744 \uc774\uc6a9\ud558\uac70\ub098 <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#setClass(android.content.Context,%20java.lang.Class%3C?%3E)\">setClass<\/a>(Context, Class)\ub97c \uc0ac\uc6a9\ud574 \uc9c0\uc815\ud55c\ub2e4. \ub300\ubd80\ubd84 \ud074\ub798\uc2a4\ub97c \uc0ac\uc6a9\ud558\ub294\ub370, Intent \uc0dd\uc131\uc790\uc5d0 \uc778\uc790\ub85c \ub118\uaca8\uc900\ub2e4. <br><\/li>\n\n\n\n<li><strong>Action<\/strong><br>\uc5b4\ub5a4 \ub3d9\uc791\uc744 \uc218\ud589\ud560\uc9c0 \ub9d0\ud574\uc8fc\ub294 \ubb38\uc790\uc5f4\uc774\ub2e4. <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#ACTION_VIEW\">ACTION_VIEW<\/a>, <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#ACTION_SEND\">ACTION_SEND<\/a>\ub4f1\uacfc \uac19\uc774 \uae30\ubcf8\uc801\uc778 \uac83\ub4e4\uc740 Intent \ud074\ub798\uc2a4\uc5d0 \uc815\uc758 \ub418\uc5b4\uc788\ub2e4. \ubb38\uc790\uc5f4\uc774\uae30 \ub54c\ubb38\uc5d0, \uc0ac\uc6a9\uc790\uac00 \uc815\uc758\ud574\uc11c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\ub2e4. \uc5b4\ub5a4 Action\uc774\ub0d0\uc5d0 \ub530\ub77c \ub370\uc774\ud130\uac00 \ub2ec\ub77c\uc9c8\ud150\ub370, \uc774\ub294 \ud574\ub2f9 action\uc5d0 \ub300\ud55c \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc790.<br><\/li>\n\n\n\n<li><strong>Data &amp; Type<\/strong><br>Data\ub294 Action\uc744 \uc218\ud589\ud560 \ub300\uc0c1 \ub370\uc774\ud130\uc5d0 \ub300\ud55c Uri \uac1d\uccb4\ub2e4. \uc608\ub97c \ub4e4\uc5b4 ACTION_EDIT \uc561\uc158\uc774\ub77c\uba74, \ud3b8\uc9d1\ud560 \ub300\uc0c1 \ubb38\uc11c \ud30c\uc77c\uc5d0 \ub300\ud55c \ub808\ud37c\ub7f0\uc2a4 Uri\ub97c \ub118\uaca8\uc8fc\uac8c \ub41c\ub2e4. Type\uc740 \ub370\uc774\ud130\uac00 \uc5b4\ub5a4 \ud615\ud0dc\uc778\uc9c0 \uc54c\ub824\uc8fc\ub294 mime type\uc774\ub2e4. <br> Data\uc640 Type\uc774 \ud56d\uc0c1 \uac19\uc774 \uc4f0\uc774\ub294 \uac83\uc740 \uc544\ub2c8\uba70, Data\ub9cc\uc73c\ub85c \ucda9\ubd84\ud560 \ub54c\ub294 type\uc774 \uc0dd\ub7b5\ub418\uae30\ub3c4 \ud558\uace0, type\ub9cc \uc0ac\uc6a9\ub418\uae30\ub3c4 \ud55c\ub2e4. \uc800 \uc704\uc5d0\uc11c \ubd24\ub358 ACTION_SEND\ub97c \ubcf4\uba74, \ud2b9\ubcc4\ud788 Uri\ub85c \uc9c0\uc815\ud560 \ud30c\uc77c\uc774 \uc5c6\uae30 \ub54c\ubb38\uc5d0, EXTRA_TEXT\uc5d0 \ubb38\uc790\uc5f4\uc774 \ub4e4\uc5b4\uac00\uace0 type\ub9cc &#8220;text\/plain&#8221;\uc73c\ub85c \uc9c0\uc815\ub41c\uac78 \ubcfc \uc218 \uc788\ub2e4.<br><\/li>\n\n\n\n<li><strong>Category<\/strong><br>\uc778\ud150\ud2b8\ub97c \ub2e4\ub8e8\uac8c \ub420 \ub300\uc0c1 \ucef4\ud3ec\ub10c\ud2b8\uc5d0 \ucd94\uac00\ub418\ub294 \uc815\ubcf4\uc774\ub2e4. \ub300\ubd80\ubd84 \ud544\uc694\ub85c \ud558\ub294 \ud56d\ubaa9\uc740 \uc544\ub2c8\uc9c0\ub9cc, \ud2b9\uc815 \ubaa9\uc801\uc73c\ub85c \uc0ac\uc6a9\ub41c\ub2e4. \uc608\ub97c \ub4e4\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \uac83\uc774 \uc788\ub2e4.<br> &#8211; CATEGORY_LAUNCHER : \uc571 \uc2e4\ud589\uc2dc, \ucd5c\ucd08 \uc2e4\ud589\ub418\ub294 Activity. \uc2dc\uc2a4\ud15c \ub7f0\ucc98\uc5d0\uc11c \ub9ac\uc2a4\ud2b8\ub85c \ud45c\uc2dc\ub41c\ub2e4. <br> &#8211; CATEGORY_BROWSABLE : \uc6f9 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c \uc2e4\ud589\ub420 \uc218 \uc788\ub294 Aitivity. \uc608\ub97c\ub4e4\uc5b4, \uc6f9\ud398\uc774\uc9c0\uc5d0\uc11c \uc774\uba54\uc77c \ub9c1\ud06c\ub97c \ud074\ub9ad\ud588\uc744 \ub54c, \uc2e4\ud589\ub418\ub294 Activity\ub294 \uc774 \uce74\ud14c\uace0\ub9ac\ub97c \ud544\uc694\ub85c \ud55c\ub2e4. <br><\/li>\n\n\n\n<li><strong>Extras<\/strong><br> key-value \ud615\ud0dc\uc758 Map \ud615\uc2dd\uc73c\ub85c \ucd94\uac00\uc801\uc778 \ub370\uc774\ud130\ub97c \uc804\ub2ec\ud55c\ub2e4. \ub370\uc774\ud130 \ub0b4\uc6a9\uc740 Action\uc5d0 \ub530\ub77c \ub2ec\ub77c\uc9c0\uba70, \uc0ac\uc6a9\uc790 \uc815\uc758 \ud589\ud0dc\uc5d0 \ub530\ub77c\uc11c \uc784\uc758\ub85c \uc0ac\uc6a9\ub3c4 \uac00\ub2a5\ud558\ub2e4. Bundle\ucc98\ub7fc \uacb0\uad6d, \ubc1b\ub294\ucabd\uc5d0\uc11c \uc5b4\ub5bb\uac8c \ud480\uc5b4\ub0b4\ub294\uc9c0 \uc54c\uc544\uc57c \ud558\ub294 \uac70\ub2c8\uae4c. <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#putExtra(java.lang.String,%20android.os.Bundle)\">putExtra<\/a>()\ud568\uc218\ub97c \ud1b5\ud574 Intent\uc5d0 \ucd94\uac00\ub41c\ub2e4. \ubaa8\ub4e0 \ub370\uc774\ud130\ub97c Bundle\ub85c \ubb36\uc5b4\uc11c <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#putExtras(android.os.Bundle)\">putExtras()<\/a>\ub97c \uc774\uc6a9\ud558\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\ub2e4. \ud45c\uc900\uc73c\ub85c \uc0ac\uc6a9\ub418\ub294 Extra \ub370\uc774\ud130\ub294 Intent \ud074\ub798\uc2a4\uc5d0 EXTRA_* \ud615\ud0dc\ub85c \uc815\uc758\ud574 \ub193\uc558\ub2e4. \uc704\uc5d0\uc11c text message\ub97c \ubcf4\ub0b4\ub294 \uacbd\uc6b0, EXTRA_TEXT\uac00 \uc774\uc5d0 \ud574\ub2f9\ud55c\ub2e4. <br> Bundle\uacfc\ub294 \ub2ec\ub9ac, Parcelable, Serializable \ub370\uc774\ud130\ub294 \ub7f0\ud0c0\uc784 \uc608\uc678\uac00 \ubc1c\uc0dd\ud558\ubbc0\ub85c \uc4f0\uc9c0 \ub9d0\ub77c\uace0 \ub418\uc5b4\uc788\ub2e4. <br><br><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>Caution<\/strong>: Do not use\u00a0<code><a href=\"https:\/\/developer.android.com\/reference\/android\/os\/Parcelable\">Parcelable<\/a><\/code>\u00a0or\u00a0<code><a href=\"https:\/\/developer.android.com\/reference\/java\/io\/Serializable\">Serializable<\/a><\/code>\u00a0data when sending an intent that you expect another app to receive. If an app attempts to access data in a\u00a0<code><a href=\"https:\/\/developer.android.com\/reference\/android\/os\/Bundle\">Bundle<\/a><\/code>\u00a0object but does not have access to the parceled or serialized class, the system raises a\u00a0<code><a href=\"https:\/\/developer.android.com\/reference\/java\/lang\/RuntimeException\">RuntimeException<\/a><\/code>.<br><\/mark><\/li>\n\n\n\n<li><strong>Flags<\/strong><br> Activity\ub97c \uc5b4\ub5bb\uac8c \ub744\uc6b8\uc9c0, \ub744\uc6b4 Activity\uc758 \uc21c\uc11c\ub294 \uc5b4\ub5bb\uac8c \ucc98\ub9ac\ud560\uc9c0 \ub4f1\ub4f1\uc744 \uacb0\uc815\ud558\ub3c4\ub85d \ud574\uc8fc\ub294 \ubd80\ubd84\uc774\ub2e4. <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#setFlags(int)\">setFlags<\/a>(), <a href=\"https:\/\/developer.android.com\/reference\/android\/content\/Intent#addFlags(int)\">addFlags<\/a>() \ub97c \ud1b5\ud574 \uc124\uc815\ud55c\ub2e4. \ubcf4\ud1b5 Activity \uc21c\uc11c \uc2a4\ud0dd\uc744 \ucc98\ub9ac\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ud55c\ub2e4. \uc0b4\ud3b4\ubcf4\uba74, \ub2e4\uc74c\uacfc \uac19\uc740 \uac83\ub4e4\uc774 \uc788\ub2e4. \uac01\uac01 \ube44\ud2b8\ud50c\ub798\uadf8\uc774\ubbc0\ub85c, \ud63c\uc6a9\ud574\uc11c \uc0ac\uc6a9\uc774 \uac00\ub2a5\ud558\ub2e4. <br><br>\uba3c\uc800, Back stack\uacfc task\ub77c\ub294 \uc6a9\uc5b4\ub97c \uac04\ub2e8\ud788 \uc124\uba85\ud558\uaca0\ub2e4. Activity\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \uc2e4\ud589\ud558\ub294 \uc21c\uc11c\ub300\ub85c \uc313\uc774\uac8c \ub41c\ub2e4. \ub610\ud55c, \ub3d9\uc77c\ud55c Activity\ub97c \ucd94\uac00\ub85c \uc2e4\ud589\ud558\uba74, \uac19\uc740 Activity\ub3c4 \uc5ec\ub7ec\uac1c \uc313\uc77c \uc218\ub3c4 \uc788\ub2e4. \uac00\ub839 A Activity\uac00 B Activity\ub97c \uc2dc\uc791\ud558\uba74 A\uc704\uc5d0 B\uac00 \uc62c\ub77c\uac00\uace0, B\uc5d0\uc11c \ub610 B Activity\ub97c \uc2dc\uc791\ud558\uba74 \uadf8\uc704\uc5d0 B\uac00 \ub808\uc774\uc5b4\ucc98\ub7fc \ub610 \uc62c\ub77c\uac04\ub2e4. \uc774\ub7f0\uc2dd\uc73c\ub85c Activity\uc758 \uc2e4\ud589 \uc21c\uc11c\ub300\ub85c \uc313\uc774\ub294\uac8c Back stack\uc774\uace0(Back key \ub20c\ub800\uc744 \ub54c \uc2a4\ud0dd\uc758 pop\ucc98\ub7fc \ub3d9\uc791), \uc774 Activity\ub4e4\uc758 \ubb36\uc74c\uc744 \ud558\ub098\uc758 task\ub77c\uace0 \ud55c\ub2e4. \uc774\ub807\uac8c A->B->B\ub85c \uc313\uc778\uacbd\uc6b0, back key\ub97c \ub20c\ub800\uc744 \ub54c, \uc5ed\uc21c\uc73c\ub85c B->B->A\ub85c \uc704\uc5d0\uc11c \ud558\ub098\uc529 \uc0ac\ub77c\uc9c0\uac8c \ub41c\ub2e4.<br> \ub9cc\uc57d, &#8220;FLAG_ACTIVITY_SINGLE_TOP&#8221; \ud50c\ub798\uadf8\ub97c \uc8fc\uac8c\ub418\uba74, task\ub0b4\uc5d0 \uac19\uc740 Activity\uac00 \uc788\uc744\uacbd\uc6b0, \ud574\ub2f9 Activity\ub97c \ub04c\uc5b4\uc62c\ub824 top\uc5d0 \uc62c\ub824\ub193\uac8c \ub41c\ub2e4. \uc774\uacbd\uc6b0 back key\ub97c \ub204\ub974\uba74 B->A\uc21c\uc73c\ub85c \ub3d9\uc791\ud55c\ub2e4. <br><\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"262\" src=\"http:\/\/batmask.dothome.co.kr\/wordpress\/wp-content\/uploads\/2023\/11\/intent_flags01.jpg\" alt=\"\" class=\"wp-image-2135\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/intent_flags01.jpg 463w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2023\/11\/intent_flags01-300x170.jpg 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/figure>\n<\/div>\n\n\n<p>      \ub9cc\uc57d, &#8220;FLAG_ACTIVITY_NEW_TASK&#8221;\ub97c \uc0ac\uc6a9\ud558\uac8c\ub418\uba74, \uc0c8\ub85c\uc6b4 task\ub97c \uc0dd\uc131\ud574\uc11c Activity\uac00 \ucd94\uac00\ub418\ubbc0\ub85c, \uae30\uc874 Back stack\uacfc\ub294 \ubcc4\ub3c4\ub85c \ub3d9\uc791\ud558\uac8c \ub41c\ub2e4. \uc880 \ub354 \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 <a href=\"https:\/\/developer.android.com\/guide\/components\/activities\/tasks-and-back-stack\">\uacf5\uc2dd \ubb38\uc11c Tasks and the back stack<\/a>\uc744 \ucc38\uc870.<\/p>\n\n\n\n<p>\uc0ac\uc6a9\ub418\ub294 Flag\ub4e4\uc740 \ub9e4\uc6b0 \ub9ce\ub2e4. \uc774 Flag\ub4e4\uc744 \uc801\uc808\ud788 \uc870\ud569\ud574\uc11c \uc0ac\uc6a9\ud574\uc57c \ud558\ub294\ub370, \uc774\uc5d0 \ub300\ud574\uc120 \ubcc4\ub3c4\uc758 \ud3ec\uc2a4\ud305\uc744 \uc791\uc131\ud574\uc57c\ud560 \uac83\uc73c\ub85c \ubcf4\uc778\ub2e4. \uc0ac\uc6a9\ub418\ub294 \uacbd\uc6b0\uc5d0 \uac01\uac01 \uc124\uba85\ud560 \uac83\uc774\ubbc0\ub85c, \uc5ec\uae30\uc120 \uc774\uc815\ub3c4\ub85c \ub118\uc5b4\uac00\uc790. <\/p>\n\n\n\n<p>\uc778\ud150\ud2b8\uc758 \uc18d\uc131\ub4e4\uc740 \uc54c\uc558\uc73c\ub2c8, \ubcf4\ub0b4\ub294 \ucf54\ub4dc\ub97c \uc0b4\ud3b4\ubcf4\uc790.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"kotlin\" class=\"language-kotlin\">val downloadIntent = Intent(this, DownloadService::class.java).apply {\r\n    data = Uri.parse(fileUrl)\r\n}\r\nstartService(downloadIntent)<\/code><\/pre>\n\n\n\n<p>\uc704 \ucf54\ub4dc\ub294 \uc11c\ube44\uc2a4\ub97c \uba85\uc2dc\uc801\uc73c\ub85c \uc2e4\ud589\ud558\ub294 \ubc29\ubc95\uc774\ub2e4. \uc778\ud150\ud2b8\uc758 \uc0dd\uc131\uc790\ub85c \ud074\ub798\uc2a4 \uc774\ub984\uc744 \ub118\uaca8\uc8fc\uace0, data \uc18d\uc131\uc5d0 \ud30c\uc77c\uc758 uri\ub97c \uc9c0\uc815\ud558\uc5ec startService()\ub85c \uc778\ud150\ud2b8\ub97c \uc804\ub2ec\ud558\uace0 \uc788\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"kotlin\" class=\"language-kotlin\">\/\/ Create the text message with a string.\nval sendIntent = Intent().apply {\r\n    action = Intent.ACTION_SEND\r\n    putExtra(Intent.EXTRA_TEXT, textMessage)\r\n    type = \"text\/plain\"\r\n}\n\n\/\/ Try to invoke the intent.\r\ntry {\r\n    startActivity(sendIntent)\r\n} catch (e: ActivityNotFoundException) {\r\n    \/\/ Define what your app should do if no activity can handle the intent.\r\n}<\/code><\/pre>\n\n\n\n<p>\uc55e\uc5d0\uc11c \ubd24\ub358 \uc608\uc81c\uc640 \ub3d9\uc77c\ud55c\ub370, \ub2e4\uc2dc \uc0b4\ud3b4\ubcf4\uc790. \uc554\uc2dc\uc801 \uc778\ud150\ud2b8 \uc608\uc81c\ub85c, Intent()\uc0dd\uc131\uc790\uc5d0\ub294 \uc544\ubb34\ub7f0 \uc778\uc790\ub97c \ub118\uaca8\uc8fc\uc9c0 \uc54a\uace0, action, type, extra\uac12\uc744 \uc124\uc815\ud558\uace0 \uc788\ub2e4. \uc774\ub807\uac8c \ub9cc\ub4e0 \uc778\ud150\ud2b8\ub97c startActivity()\ub97c \ud1b5\ud574 \ub118\uaca8\uc900\ub2e4. <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Receiving an implicit intent<\/h4>\n\n\n\n<p>\uc778\ud150\ud2b8\ub97c \ubc1b\uae30 \uc704\ud574\uc120, \uc2dc\uc2a4\ud15c\uc5d0 \uc5b4\ub5a4 \uc778\ud150\ud2b8\ub97c \ubc1b\uc744\uc9c0 \uc54c\ub824\uc918\uc57c\ud55c\ub2e4. \uadf8\ub7ec\uae30\uc704\ud574\uc120 AndroidManifest.xml\uc5d0 \ubc1b\uc744 \ucef4\ud3ec\ub10c\ud2b8 \ud0dc\uadf8 \uc548\uc5d0\uc11c &lt;intent-filter> \ud56d\ubaa9\uc744 \uc791\uc131\ud558\uba74 \ub41c\ub2e4. \uc608\uc81c\ub97c \ubcf4\uc790.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"kotlin\" class=\"language-kotlin\">&lt;activity android:name=\"ShareActivity\" android:exported=\"false\">\r\n    &lt;intent-filter>\r\n        &lt;action android:name=\"android.intent.action.SEND\"\/>\r\n        &lt;category android:name=\"android.intent.category.DEFAULT\"\/>\r\n        &lt;data android:mimeType=\"text\/plain\"\/>\r\n    &lt;\/intent-filter>\r\n&lt;\/activity><\/code><\/pre>\n\n\n\n<p>\uc704 \uc608\uc81c\ub294 &#8220;ACTION_SEND&#8221; \uc5d0 \ub300\ud55c \uc778\ud150\ud2b8\ub97c \ubc1b\ub294 intent filter\ub97c \uc791\uc131\ud55c \uac83\uc774\ub2e4. &lt;intent-filter>\uc548\uc5d0 &lt;action> \uc774\ub984\uc73c\ub85c &#8220;ACTION_SEND&#8221;\uc5d0 \ub300\ud55c \ubb38\uc790\uc5f4\uc744 \uae30\uc220\ud558\uace0, &lt;data>\uc5d0\uc11c\ub294 mime type\uc744 \uae30\uc220\ud558\uace0 \uc788\ub2e4. &lt;category>\ub294 &#8220;CATEGORY_DEFAULT&#8221;\ub85c \uc815\uc758\ub41c \ubb38\uc790\uc5f4\uc774 \ub4e4\uc5b4\uac14\ub2e4. \uc774\ub807\uac8c \ud558\uba74, action\uc774 &#8220;ACTION_SEND&#8221; \ub85c \ub418\uc5b4\uc788\uace0, data type\uc774 &#8220;text\/plain&#8221;\uc778 \uc778\ud150\ud2b8\ub9cc \ubc1b\uc544\ub4e4\uc774\uac8c \ub41c\ub2e4. \uc554\ubb35\uc801 \uc778\ud150\ud2b8(Implicit Intent)\uc758 \uacbd\uc6b0\uc5d0\ub294 category\ub97c &#8220;CATEGORY_DEFAULT&#8221;\ub85c \uc9c0\uc815\ud574\uc57c\ud55c\ub2e4\uace0 \ud55c\ub2e4. <\/p>\n\n\n\n<p><a href=\"https:\/\/developer.android.com\/guide\/topics\/manifest\/intent-filter-element\">&lt;intent-filter><\/a>\ub97c \uc0b4\ud3b4\ubcf4\uba74 \uc774\uc640\uac19\uc774 \uc138\uac00\uc9c0\ub85c \uc774\ub8e8\uc5b4\uc838\uc788\ub2e4.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.android.com\/guide\/topics\/manifest\/action-element\">&lt;action><\/a> : \ubc1b\uc544\ub4e4\uc77c \uc778\ud150\ud2b8\uc758 action\uc744 \uc9c0\uc815<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.android.com\/guide\/topics\/manifest\/data-element\">&lt;data><\/a> : \ubc1b\uc544\ub4e4\uc77c \uc778\ud150\ud2b8 \ub370\uc774\ud130\uc758 \ud0c0\uc785\uc744 \uc9c0\uc815. scheme, host, port, path, pathPattern, pathPrefix, pathSuffix, pathAdvancedPattern, mimeType \uc744 \uac01\uac01 \uc9c0\uc815\ud560 \uc218 \uc788\ub2e4.<\/li>\n\n\n\n<li><a href=\"https:\/\/developer.android.com\/guide\/topics\/manifest\/category-element\">&lt;category><\/a> : \ubc1b\uc544\ub4e4\uc77c \uc778\ud150\ud2b8\uc758 category\ub97c \uc9c0\uc815. implicit intent\uc758 \uacbd\uc6b0, CATEGORY_DEFAULT\ub85c \uc9c0\uc815\ud574\uc57c\ud55c\ub2e4.<\/li>\n<\/ul>\n\n\n\n<p>\uc911\uc694\ud55c \ubd80\ubd84\uc774 \ub0a8\uc544\uc788\ub294\ub370, \ubc14\ub85c &lt;activity>\ud0dc\uadf8 \uc548\uc5d0 \uc788\ub294 <strong>android:exported<\/strong> \uc18d\uc131\uc774\ub2e4. \uc774\ub984 \uadf8\ub300\ub85c, \ud574\ub2f9 \ucef4\ud3ec\ub10c\ud2b8\ub97c \uc678\ubd80 \uc571\uc774 \uc2e4\ud589\ud560 \uc218 \uc788\ub290\ub0d0\ub97c \uacb0\uc815\ud558\ub294 \uc18d\uc131\uc73c\ub85c true\/false \uac12\uc744 \uc900\ub2e4. intent-filter\ub97c \uc0ac\uc6a9\ud55c\ub2e4\uba74, \uc774 \uac12\uc744 \ubc18\ub4dc\uc2dc \uc9c0\uc815\ud574\uc57c \ud55c\ub2e4. \uaf2d \ud544\uc694\ud55c \uacbd\uc6b0\uac00 \uc544\ub2c8\uba74 \ubcf4\uc548\uc744 \uc704\ud574 false\ub85c \uc9c0\uc815\ud574\uc900\ub2e4. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\uacc4\uc18d \uc774\uc5b4\uc11c&#8230;<\/h3>\n\n\n\n<p>\uac1c\ub7b5\uc801\uc778 \uc778\ud150\ud2b8\uc5d0 \ub300\ud55c \ub0b4\uc6a9\uc744 \uc0b4\ud3b4\ubd24\ub2e4. \ub2e4\uc74c\uc5d0\ub294 <strong>Pending Intent<\/strong>\uc5d0 \ub300\ud574 \ub2e4\ub904\uc57c \ud558\uba70, \uae30\ubcf8\uc801\uc778 Common Intents\ub3c4 \uba87\uac1c \ub2e4\ub8e8\uaca0\ub2e4. \ub108\ubb34 \uae38\uc5b4\uc838\uc11c \uc77c\ub2e8 \uc5ec\uae30\uae4c\uc9c0. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uba85\uc2dc\uc801 \uc778\ud150\ud2b8(Explicit Intent) \uc694\uc998\uc5d4 \ub2e8\uc77c Activity\ub85c \uc571 \uac1c\ubc1c\uc774 \uc8fc\ub85c \uc774\ub8e8\uc5b4\uc9c0\uc9c0\ub9cc, \ucd08\uae30\uc5d0\ub294 \ubaa8\ub450 Activity\ub85c \ub9cc\ub4e4\uc5b4\uc84c\uc5c8\ub2e4. \ud558\ub098\uc758 \uc571\ub0b4\uc5d0\uc11c\ub3c4 Activity\ub97c \ub744\uc6b0\uae30 \uc704\ud574\uc120 startActivity()\ub97c \uc0ac\uc6a9\ud558\ub294\ub370, \uc778\uc790\ub85c Intent\uac1d\uccb4\ub97c \ub118\uaca8\uc92c\ub2e4. Activity\ub97c \ub744\uc6b0\ub294 \uc608\uc81c \ucf54\ub4dc\ub97c \ubcf4\uba74 \ub2e4\uc74c\uacfc \uac19\ub2e4. Intnet \uac1d\uccb4\ub97c \uc0dd\uc131\ud558\ub294 \uccab\ubc88\uc9f8 \uc778\uc790\ub294 Context\uc774\uace0, \ub450\ubc88\uc9f8\ub294 \ubd88\ub7ec\uc62c Activity\uc758 \ud074\ub798\uc2a4 \uc774\ub984\uc774\ub2e4. &#8220;::class.java&#8221; \ub294 \ubb34\uc5c7\uc77c\uae4c? ::class \ub294 Kotlin\uc5d0\uc11c KClass\ub97c \ub9ac\ud134\ud574\uc8fc\ub294 reflection \ubb38\ubc95\uc774\ub2e4. \uc548\ub4dc\ub85c\uc774\ub4dc Intent\ub294 java [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,34],"tags":[186,362,363],"class_list":["post-2099","post","type-post","status-publish","format-standard","hentry","category-android","category-kotlin","tag-android-2","tag-intent","tag-363"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/2099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/comments?post=2099"}],"version-history":[{"count":39,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/2099\/revisions"}],"predecessor-version":[{"id":2148,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/2099\/revisions\/2148"}],"wp:attachment":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/media?parent=2099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/categories?post=2099"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/tags?post=2099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}