हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
स्क्रीन रीडर की सुविधा पर पाबंदी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android 9 और उससे पहले के वर्शन में, स्क्रीन बफ़र कैप्चर करने की अनुमतियां (READ_FRAME_BUFFER
,
CAPTURE_VIDEO_OUTPUT
, और
CAPTURE_SECURE_VIDEO_OUTPUT
) उन ऐप्लिकेशन को दी जाती थीं जिनके पास या तो हस्ताक्षर या खास अनुमतियां थीं. इससे, स्क्रीन बफ़र को आसानी से कैप्चर करने की सुविधा चालू हो गई है. जैसे, स्क्रीनशॉट लेना या डिवाइस की स्क्रीन पर दिख रहे कॉन्टेंट को रिकॉर्ड करना.
Android 10 में, डिवाइस की स्क्रीन पर दिख रहे कॉन्टेंट को चुपचाप ऐक्सेस करने से रोकने के लिए, खास ऐप्लिकेशन को वीडियो कैप्चर करने की अनुमतियां नहीं दी जाती हैं. उपयोगकर्ता की सहमति के बिना ऐक्सेस करने पर पाबंदी लगी है. साथ ही, यह ऐक्सेस सिर्फ़ उन ऐप्लिकेशन को दिया जाता है जिनके पास हस्ताक्षर की अनुमतियां होती हैं. इस ज़रूरी शर्त का असर उन डिवाइस मैन्युफ़ैक्चरर पर पड़ता है जो इस साइलेंट कैप्चर फ़ंक्शन पर भरोसा करके, ऐक्सेस लेवल की अनुमति वाले ऐप्लिकेशन चलाते हैं.
Android 10 के बाद, अगर आपके पास स्क्रीन बफ़र कैप्चर करने के लिए, सूची में दी गई अनुमतियां नहीं हैं, तो आपका ऐप्लिकेशन उपयोगकर्ता की सहमति के बिना स्क्रीन बफ़र कैप्चर नहीं कर सकता. यह पक्का करने के लिए कि आपके पास ज़रूरी अनुमतियां हैं, अपनी मेनिफ़ेस्ट फ़ाइल में, पहले से दी गई हस्ताक्षर की अनुमतियों को खोजें. जिन ऐप्लिकेशन पर असर पड़ा है उन्हें MediaProjectionManager क्लास पर माइग्रेट करें. यह क्लास, तीसरे पक्ष के किसी भी ऐप्लिकेशन को अनुमतियों के बिना स्क्रीन बफ़र कैप्चर करने की अनुमति देती है. हालांकि, इसके लिए उपयोगकर्ता की सहमति ज़रूरी है. यह फ़्लो एक डायलॉग दिखाता है, जिसमें उपयोगकर्ता को स्क्रीन कैप्चर करने की अनुमति देने के लिए कहा जाता है. Android 10 में, डायलॉग बॉक्स की नई सुविधाओं में ये शामिल हैं:
- कास्ट करें आइकॉन के साथ ज़्यादा असोसिएशन दिखाता है.
- ऐक्सेस किए जा सकने वाले डेटा की संवेदनशीलता के बारे में ज़्यादा जानकारी देता है.
- इससे उपयोगकर्ता, आने वाले समय में डायलॉग को छिपाने से बच जाते हैं: डायलॉग हर बार दिखता है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Restricted screen reading\n\nIn Android 9 and lower, the screen buffer\ncapture permissions (`READ_FRAME_BUFFER`,\n`CAPTURE_VIDEO_OUTPUT`, and\n`CAPTURE_SECURE_VIDEO_OUTPUT`) were granted to apps that\nhad *either* signature or privileged permissions. This\nenabled seamless screen-buffer capturing activities, such as\ntaking screenshots, or recording a device's screen contents.\n\nStarting in Android 10, to prevent\nsilent access to a device's screen contents, video capture\npermissions aren't granted to privileged apps. Access\nwithout user consent is [restricted](https://developer.android.com/about/versions/11/privacy/permissions),\nand granted only to apps that have signature\npermissions. Device manufacturers that run privileged apps relying\non this silent capture functionality are affected by this\nrequirement.\n\nAs of Android 10 if you\ndon't have the listed screen-buffer capture signature permissions, your\napp can't capture screen buffers without user consent. To\nensure you have the permissions you need, search your manifest file\nfor the previously listed signature permissions. Migrate all affected privileged\napps (as found in your search) to the [MediaProjectionManager](https://developer.android.com/reference/android/media/projection/MediaProjectionManager)\nclass, which allows any third party app\nto capture screen buffers without permissions, but with user\nconsent. This flow displays a dialog that prompts the user to\nallow screen capturing when an app initiates it. In Android 10,\nnew features of the dialog include the following:\n\n- Provides more visible associations with the **Cast** icon.\n- Provides more information about the sensitivity of the data that can be accessed.\n- Prevents users from hiding the dialog on future initiations: the dialog shows every time."]]