{"id":11825,"date":"2023-11-28T20:45:03","date_gmt":"2023-11-28T17:45:03","guid":{"rendered":"https:\/\/wikidollar.net\/11825\/android-14-has-a-native\/"},"modified":"2023-11-28T20:45:04","modified_gmt":"2023-11-28T17:45:04","slug":"android-14-has-a-native","status":"publish","type":"post","link":"https:\/\/wikidollar.net\/?p=11825","title":{"rendered":"Android 14 has a native screenshot detection system and apps are finally using it"},"content":{"rendered":"<p>Android 14 has a native screenshot detection system and apps are finally using it\u060c<\/p>\n<div>\n<p>Ephemeral messaging apps like Snapchat have long relied on screenshot detection to prevent users from permanently recording conversations and media.  While these applications have developed their own methods for detecting screenshots, Android 14 now offers a native API for this purpose.<\/p>\n<p>As reported <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.androidpolice.com\/android-14-screenshot-detected-toast\/\" class=\"external\">AndroidFont<\/a>German shopping app OTTO became an early adopter <span>Android 14<\/span>The screenshot detection API.  When a user takes a screenshot in the OTTO <a class=\"wpil_keyword_link\" href=\"https:\/\/wikidollar.net\/tag\/app\/\"   title=\"app\" data-wpil-keyword-link=\"linked\">app<\/a>, a toast message is displayed to inform them that their action has been detected.  Developers can then implement various actions based on this notification.<\/p>\n<div>\n<div id=\"gallery-0b1818f2-c82a-45d6-888f-8e20aef61fdf\" class=\"single-image-container  image-c\" style=\"width:500px;max-width:100%\">\n<div class=\"gallery-item\">\n<picture style=\"padding-top: 199.4%\"><source media=\"(max-width: 350px)\" ><source media=\"(min-width: 351px) and (max-width: 500px)\" ><source media=\"(min-width: 501px) and (max-width: 800px)\" ><img decoding=\"async\" src=\"https:\/\/wikidollar.net\/wp-content\/uploads\/2023\/11\/Android-14-has-a-native-screenshot-detection-system-and-apps.jpg\" alt=\"New Android 14 screenshot detection toast notification |  Source - Android Developers - Android 14 has a native screenshot detection system and apps are finally using it\"\/><\/source><\/source><\/source><\/picture>\n<\/div>\n<p>New Android 14 screenshot detection toast notification |  Source \u2013 Android Developers<\/p>\n<\/div>\n<\/div>\n<p>It is important to note that the application is only informed about the screenshot action and not the actual content of the screen.  It&#8217;s up to the app developer to determine what was on the screen when the screenshot was taken.<\/p>\n<div>App developers can then take various actions, such as notifying the other party in a messaging app that a screenshot has been captured. <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/developer.android.com\/about\/versions\/14\/features\/screenshot-detection#:~:text=took%20a%20screenshot.-,Supported%20use%20cases,combination%20of%20hardware%20button%20presses.\" class=\"external\">Description of Google<\/a> of the screenshot detection API is as follows:<\/p>\n<div class=\"quote quote-auto nolinks\" style=\"width: 100.0%\">\n<p>To create a more standardized screenshot detection experience, Android 14 introduces a privacy-preserving screenshot detection API.  This API allows apps to record reminders by activity.  These callbacks are invoked and the user is notified when they take a screenshot while this activity is visible.<\/p>\n<\/div>\n<p>However, this API is not a perfect solution for all ways of taking a screenshot, as the API can only detect screenshots taken using the hardware button combination.  Those who want to take a stealth screenshot without the API detecting it, can still do so using the &#8220;Recents&#8221; task switcher screen by swiping up and holding, using ADB or using a root screenshot app.<\/p><\/div>\n<div>However, apps can still use older APIs for tighter control, allowing them to block screenshot functionality altogether.  These legacy APIs can be seen at work in some banking and <a class=\"wpil_keyword_link\" href=\"https:\/\/wikidollar.net\/tag\/video\/\"   title=\"video\" data-wpil-keyword-link=\"linked\">video<\/a> streaming applications to protect sensitive data or copyrighted content.<\/div>\n<p>The official Android API for screenshot detection simplifies the process for app developers, eliminating the need for custom workarounds like those used by Snapchat.  However, users should continue to exercise caution when taking screenshots of conversations and other sensitive content, as the other party may be notified \u2013 or simply use common sense when taking screenshots. This is about taking screenshots of private content.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Android 14 has a native screenshot detection system and apps are finally using it\u060c Ephemeral messaging apps like Snapchat have long relied on screenshot detection to prevent users from permanently recording conversations and media. While these applications have developed their own methods for detecting screenshots, Android 14 now offers a native API for this purpose. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11826,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[396,106,2955,1864,1934,5749,967],"class_list":["post-11825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-android","tag-apps","tag-detection","tag-finally","tag-native","tag-screenshot","tag-system"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/posts\/11825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wikidollar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11825"}],"version-history":[{"count":1,"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/posts\/11825\/revisions"}],"predecessor-version":[{"id":11827,"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/posts\/11825\/revisions\/11827"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wikidollar.net\/index.php?rest_route=\/wp\/v2\/media\/11826"}],"wp:attachment":[{"href":"https:\/\/wikidollar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wikidollar.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wikidollar.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}