{"id":1046,"date":"2021-08-16T12:43:40","date_gmt":"2021-08-16T09:43:40","guid":{"rendered":"https:\/\/droidapps.cf\/?p=1046"},"modified":"2021-08-16T12:43:40","modified_gmt":"2021-08-16T09:43:40","slug":"how-to-disable-dialog-start-recording-or-casting-app-name","status":"publish","type":"post","link":"https:\/\/droidhack.org\/?p=1046","title":{"rendered":"How to disable dialog &#171;Start recording or casting *app name*&#187;"},"content":{"rendered":"<div class=\"pld-like-dislike-wrap pld-template-1\">\n    <div class=\"pld-like-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-like-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"1046\" data-trigger-type=\"like\" data-restriction=\"ip\" data-ip-check=\"0\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-up\"><\/i>\n                    <\/a>\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\n    <a href=\"javascript:void(0);\" class=\"pld-dislike-trigger pld-like-dislike-trigger \" title=\"\" data-post-id=\"1046\" data-trigger-type=\"dislike\" data-ip-check=\"0\" data-restriction=\"ip\" data-user-check=\"1\">\n                        <i class=\"fas fa-thumbs-down\"><\/i>\n                    <\/a>\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\n<\/div><\/div>\n\n<p>When i have started to using &#171;modern&#187; versions of android 10 and higher, I faced the problem of remotely connecting to the phone from another device. If earlier it was possible to confirm permission for recording or broadcasting the screen once, just checking the allow always checkbox, now you need to give permission to access the screen every time.<\/p>\n<p><a href=\"http:\/\/droidapps.cf\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1042 aligncenter\" src=\"http:\/\/droidapps.cf\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-250x500.png\" alt=\"\" width=\"250\" height=\"500\" srcset=\"https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-250x500.png 250w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-440x880.png 440w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-125x250.png 125w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-100x200.png 100w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-147x293.png 147w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI-203x405.png 203w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-113408_System_UI.png 720w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Fortunately i have found one soution. All you need is PC (with any OS), and ADB.<\/p>\n<p>Go to app info (about app section) and find the app package name, for me its com.hecorat.screenrecorder.free<\/p>\n<p><a href=\"http:\/\/droidapps.cf\/wp-content\/uploads\/Screenshot_20210816-114358_Settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1043 aligncenter\" src=\"http:\/\/droidapps.cf\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-250x500.png\" alt=\"\" width=\"250\" height=\"500\" srcset=\"https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-250x500.png 250w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-440x880.png 440w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-125x250.png 125w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-100x200.png 100w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-147x293.png 147w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings-203x405.png 203w, https:\/\/droidhack.org\/wp-content\/uploads\/Screenshot_20210816-114358_Settings.png 720w\" sizes=\"(max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Open console with path to your adb package on PC. Connect the device and type <code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">adb devices<\/code> to start adb server. You need to provide permission on your device after that.<\/p>\n<p>Next command will provide screen recording permission for app. <code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">adb shell appops set com.hecorat.screenrecorder.free PROJECT_MEDIA allow<\/code>, you need to change app package name from <code class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">com.hecorat.screenrecorder.free<\/code> to yours!! And that&#8217;s all!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When i have started to using &#171;modern&#187; versions of android 10 and higher, I faced the problem of remotely connecting to the phone from another device. If earlier it was possible&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/posts\/1046"}],"collection":[{"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/droidhack.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1046"}],"version-history":[{"count":1,"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/posts\/1046\/revisions"}],"predecessor-version":[{"id":1047,"href":"https:\/\/droidhack.org\/index.php?rest_route=\/wp\/v2\/posts\/1046\/revisions\/1047"}],"wp:attachment":[{"href":"https:\/\/droidhack.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/droidhack.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/droidhack.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}