{"id":6776,"date":"2020-09-12T04:22:19","date_gmt":"2020-09-11T23:52:19","guid":{"rendered":"https:\/\/hamyargps.com\/blog\/?p=6776"},"modified":"2023-07-25T02:56:38","modified_gmt":"2023-07-24T23:26:38","slug":"source-hide-application-android-programming","status":"publish","type":"post","link":"https:\/\/hamyargps.com\/blog\/source-hide-application-android-programming\/","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0648\u0631\u0633 \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062f\u0631\u0648\u06cc\u062f"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 12pt;\">\u0633\u0644\u0627\u0645 \u062f\u0648\u0633\u062a\u0627\u0646 \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0627\u0645\u0631\u0648\u0632 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u062a\u0627 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627 <strong><span style=\"color: #ff6600;\">\u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0648\u0631\u0633 \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062f\u0631\u0648\u06cc\u062f<\/span><\/strong> \u0622\u0634\u0646\u0627 \u06a9\u0646\u06cc\u0645. \u0627\u0644\u0628\u062a\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0641\u0642\u0637 \u0648\u06cc\u0631\u0648\u0633 \u0646\u0648\u06cc\u0633 \u0647\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u0646\u062f \u0627\u0644\u0628\u062a\u0647 \u062f\u0631 \u06a9\u0627\u0631\u0647\u0627\u06cc \u062f\u06cc\u06af\u0647 \u0647\u0645 \u0645\u06cc\u0634\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u0627\u0645\u0627 \u062f\u0631 \u0647\u0631 \u0635\u0648\u0631\u062a \u06a9\u0627\u0631 \u062e\u0648\u0628\u06cc \u0646\u06cc\u0633\u062a \u0627\u06af\u0631 \u062e\u0648\u0627\u0633\u062a\u06cc\u062f \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u06cc \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f \u06a9\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0646\u062a\u0648\u0646\u0646\u062f \u0622\u0646 \u0631\u0627 \u0628\u0628\u06cc\u0646\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u062f\u0631 \u0627\u062f\u0627\u0645\u0647 \u0628\u0627 \u0645\u0627 \u0647\u0645\u0631\u0627\u0647 \u0628\u0627\u0634\u06cc\u062f.<\/span><\/p>\n<p>[\/vc_column_text][vc_column_text]<span style=\"font-size: 12pt; color: #ff0000;\"><strong>\u0627\u062e\u0637\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0647\u0645<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 12pt;\">\u0647\u0631\u06af\u0648\u0646\u0647 \u0633\u0648\u0621 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong><span style=\"color: #800080;\">\u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0648\u0631\u0633 \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062f\u0631\u0648\u06cc\u062f<\/span><\/strong> \u0628\u0647 \u0639\u0647\u062f\u0647 \u062e\u0648\u062f \u06a9\u0627\u0631\u0628\u0631 \u0645\u06cc \u0628\u0627\u0634\u062f \u0648 \u0645\u0627 \u0647\u06cc\u0686 \u06af\u0648\u0646\u0647 \u067e\u0627\u0633\u062e\u06af\u0648 \u0646\u06cc\u0633\u062a\u06cc\u0645 \u0648 \u0641\u0642\u0637 \u0627\u06cc\u0646 \u06cc\u06a9 \u067e\u0633\u062a \u0622\u0645\u0648\u0632\u0634\u06cc \u0645\u06cc \u0628\u0627\u0634\u062f.<\/span><\/p>\n<p>[\/vc_column_text][vc_column_text]\u0628\u0631\u0627\u06cc \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0627\u0648\u0644 \u0628\u0631\u0646\u0627\u0645\u0647 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f .<\/p>\n<pre class=\"lang:default decode:true \">PackageManager p = getPackageManager();\r\nComponentName componentName = new ComponentName(this, com.apps.MainActivity.class);\r\np.setComponentEnabledSetting(componentName,PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);<\/pre>\n<p>[\/vc_column_text][vc_column_text]<span style=\"font-size: 12pt;\">\u0627\u06cc\u0646 \u06a9\u062f \u0628\u0627\u06cc\u062f \u062f\u0631 \u0627\u06a9\u062a\u06cc\u0648\u06cc\u062a\u06cc \u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 <span style=\"color: #ff6600;\"><strong>Launcher<\/strong><\/span> \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a \u0642\u0631\u0627\u0631 \u0628\u06af\u06cc\u0631\u062f&#8230; \u0628\u0647 \u0637\u0648\u0631 \u0645\u0639\u0645\u0648\u0644 \u0647\u0645\u06cc\u0634\u0647 <strong><span style=\"color: #3366ff;\">MainActvity<\/span><\/strong> \u062f\u0631 \u0647\u0645\u0627\u0646 \u0635\u0641\u062d\u0647 \u0627\u0648\u0644\u06cc\u0646 \u0627\u06a9\u062a\u06cc\u0648\u06cc\u062a\u06cc \u0627\u0633\u062a.<\/span>[\/vc_column_text][vc_column_text]<\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: 12pt;\">\u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0627\u0632 \u06cc\u06a9 \u06a9\u0644\u0627\u0633 \u0628\u0647 \u0646\u0627\u0645 <span style=\"color: #800080;\"><strong>ComponentName<\/strong><\/span> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u06cc\u0645\u060c \u067e\u0633 \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0644\u0627\u0633 \u0628\u0631\u0627\u06cc \u067e\u0646\u0647\u0627\u0646 \u06a9\u0631\u062f\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0627\u0632 \u06cc\u06a9\u06cc \u0627\u0632 <strong><span style=\"color: #800080;\">property<\/span><\/strong> \u0647\u0627\u06cc <span style=\"color: #800080;\">Packgaermanager<\/span> \u06a9\u0647 <span style=\"color: #333399;\">COMPONENT_ENABLED_STATE_DISABLED<\/span> \u0628\u0627\u0634\u062f \u0628\u0631\u0627\u06cc \u067e\u0647\u0646\u0627\u0646 \u06a9\u0631\u062f\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a \u0648 \u062f\u0631 \u0622\u062e\u0631 \u0647\u0645 \u0628\u0631\u0627\u06cc\u0634 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0627\u06cc\u0645 \u062a\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0646\u0628\u0646\u062f\u062f <span style=\"color: #993300;\"><strong>\u06cc\u0639\u0646\u06cc \u0628\u0631\u0646\u0627\u0645\u0647 \u062f\u0631 \u062d\u0627\u0644\u062a \u0627\u062c\u0631\u0627 \u0634\u062f\u0647 \u0628\u0627\u0642\u06cc \u0645\u06cc \u0645\u0627\u0646\u062f<\/strong><\/span> \u0627\u0644\u0628\u062a\u0647 \u062a\u0627 \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u06af\u0648\u0634\u06cc \u062e\u0627\u0645\u0648\u0634 \u0646\u0634\u0648\u062f \u0648 \u06cc\u0627 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0631 <span style=\"color: #008080;\"><strong>kill<\/strong> <\/span>\u0646\u0634\u0648\u062f.<\/span><\/p>\n<p>[\/vc_column_text][vc_column_text]<span style=\"font-size: 12pt;\">\u0648 \u0627\u06af\u0631 \u062e\u0648\u0627\u0633\u062a\u06cc\u062f \u06a9\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u0645\u062e\u0641\u06cc \u0634\u062f\u0647 \u0631\u0627 \u0628\u0627\u0632 \u06af\u0631\u062f\u0627\u0646\u06cc\u062f \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u06a9\u062f \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/span><\/p>\n<pre class=\"lang:default decode:true \">PackageManager p = getPackageManager();\r\nComponentName componentName = new ComponentName(this, com.apps.MainActivity.class);\r\np.setComponentEnabledSetting(componentName, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);<\/pre>\n<p>[\/vc_column_text][vc_column_text]<span style=\"font-size: 12pt;\">\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0647\u0645 \u0647\u0645\u0627\u0646\u0646\u062f \u0628\u0627\u0644\u0627 \u0639\u0645\u0644 \u06a9\u0631\u062f\u06cc\u0645 \u0641\u0642\u0637 \u0628\u062e\u0634 <strong>PackagerManager<\/strong> \u0631\u0627 \u0628\u0631\u0627\u0628\u0631 \u0628\u0627 <strong>COMPONENT_ENABLED_STATE_ENABLED<\/strong> (\u0641\u0639\u0627\u0644 \u0628\u0648\u062f\u0646 \u0628\u0631\u0646\u0627\u0645\u0647 ) \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0627\u06cc\u0645 .<\/span>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-left kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;left&quot;,&quot;id&quot;:&quot;6776&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u0644\u0637\u0641\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u062b\u0628\u062a \u06a9\u0646\u06cc\u062f.&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 \u0627\u0645\u062a\u06cc\u0627\u0632)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0648\u0631\u0633 \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062f\u0631\u0648\u06cc\u062f&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-left: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u0644\u0637\u0641\u0627 \u0627\u0645\u062a\u06cc\u0627\u0632 \u062e\u0648\u062f \u0631\u0627 \u062b\u0628\u062a \u06a9\u0646\u06cc\u062f.<\/span>\n    <\/div>\n    <\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_column_text] \u0633\u0644\u0627\u0645 \u062f\u0648\u0633\u062a\u0627\u0646 \u062f\u0631 \u0622\u0645\u0648\u0632\u0634 \u0627\u0645\u0631\u0648\u0632 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 \u062a\u0627 \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627 \u0622\u0645\u0648\u0632\u0634 \u0648 \u0633\u0648\u0631\u0633 \u0645\u062e\u0641\u06cc \u06a9\u0631\u062f\u0646 \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646 \u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc \u0627\u0646\u062f\u0631\u0648\u06cc\u062f \u0622\u0634\u0646\u0627 \u06a9\u0646\u06cc\u0645. \u0627\u0644\u0628\u062a\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0641\u0642\u0637 \u0648\u06cc\u0631\u0648\u0633 \u0646\u0648\u06cc\u0633 \u0647\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u0646\u062f \u0627\u0644\u0628\u062a\u0647 \u062f\u0631 \u06a9\u0627\u0631\u0647\u0627\u06cc \u062f\u06cc\u06af\u0647 \u0647\u0645 \u0645\u06cc\u0634\u0647 \u0627\u0632 \u0622\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f \u0627\u0645\u0627 \u062f\u0631 \u0647\u0631 \u0635\u0648\u0631\u062a \u06a9\u0627\u0631 \u062e\u0648\u0628\u06cc \u0646\u06cc\u0633\u062a \u0627\u06af\u0631 \u062e\u0648\u0627\u0633\u062a\u06cc\u062f \u0627\u067e\u0644\u06cc\u06a9\u06cc\u0634\u0646\u06cc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6781,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jnews-multi-image_gallery":[],"jnews_single_post":{"source_name":"","source_url":"","via_name":"","via_url":"","override_template":"0","override":[{"template":"1","single_blog_custom":"","parallax":"1","fullscreen":"0","layout":"right-sidebar","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"top","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"0","post_reading_time_wpm":"300","show_zoom_button":"0","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"1","show_popup_post":"1","number_popup_post":"1","show_author_box":"0","show_post_related":"0","show_inline_post_related":"0"}],"override_image_size":"0","image_override":[{"single_post_thumbnail_size":"crop-500","single_post_gallery_size":"crop-500"}],"trending_post":"0","trending_post_position":"meta","trending_post_label":"\u062f\u0631 \u062c\u0631\u06cc\u0627\u0646","sponsored_post":"0","sponsored_post_label":"Sponsored by","sponsored_post_name":"","sponsored_post_url":"","sponsored_post_logo_enable":"0","sponsored_post_logo":"","sponsored_post_desc":""},"jnews_primary_category":{"id":""},"jnews_social_meta":{"fb_title":"","fb_description":"","fb_image":"","twitter_title":"","twitter_description":"","twitter_image":""},"jnews_post_split":{"enable_post_split":"0","post_split":[{"template":"1","tag":"h2","numbering":"asc","mode":"normal"}]},"footnotes":""},"categories":[166],"tags":[],"class_list":["post-6776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-training-and-tricks"],"_links":{"self":[{"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/posts\/6776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/comments?post=6776"}],"version-history":[{"count":0,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/posts\/6776\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/media\/6781"}],"wp:attachment":[{"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/media?parent=6776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/categories?post=6776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hamyargps.com\/blog\/wp-json\/wp\/v2\/tags?post=6776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}