मुख्य सामग्री पर जाएँ
Skillpedia
मोबाइल ऐप10k · #11942

projected-hardware

यह क्या करती है

यह स्किल बताती है कि Android ऐप से प्रोजेक्टेड स्मार्ट चश्मों के कैमरा और माइक्रोफ़ोन जैसे हार्डवेयर का उपयोग कैसे करें। इसमें चश्मों की permissions और कनेक्शन का प्रबंधन शामिल है। यह स्मार्ट आईवियर फ़ीचर बनाने वाले Android डेवलपरों के लिए है।

कब इस्तेमाल करें

  • ✓जब आपके ऐप को जुड़े स्मार्ट चश्मों के कैमरे से फ़ोटो लेनी हो।
  • ✓जब आपके ऐप को प्रोजेक्टेड चश्मों से माइक्रोफ़ोन चाहिए और उसकी permission माँगनी हो।
  • ✓जब आपको चश्मों का कनेक्शन संभालना हो और वह टूटने पर संसाधन छोड़ने हों।

Skill का लिंक

https://github.com/android/skills/blob/main/xr/projected-hardware/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/android/skills/blob/main/xr/projected-hardware/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Android ऐप में एक फ़ीचर जोड़िए, जो मेरे जुड़े हुए स्मार्ट चश्मों के कैमरे से फ़ोटो ले।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल प्रोजेक्टेड contexts, permissions और कैमरा कैप्चर के संदर्भ चरणों की ओर इशारा करती है। वह बताती है कि चश्मों का कनेक्शन कैसे जाँचें और उससे जुड़े संसाधन कैसे संभालें।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Prerequisites

  • You must use a compileSdk of 36 or higher.

Connection and lifecycle management

Intelligent eyewear hardware is only accessible while the glasses are connected to the host phone. Monitor connection state and manage resource lifecycles using ProjectedContext. You must read Understand projected activities and projected contexts to understand how to get a projected context and how to manage its lifecycle.

Request glasses hardware permissions

  • Hardware permissions and opt-in : You must read Request hardware permissions to understand how to declare camera and microphone runtime permissions in the Android Manifest file, request runtime permissions in different scenarios, and handle permission results.

Glasses hardware access and capabilities

अक्सर पूछे जाने वाले सवाल

कौन सा compile SDK चाहिए?

प्रोजेक्ट को compileSdk 36 या उससे ऊपर इस्तेमाल करना होगा।

क्या चश्मे डिस्कनेक्ट होने पर हार्डवेयर काम करता है?

नहीं। हार्डवेयर सिर्फ़ तभी उपलब्ध है जब चश्मे फ़ोन से जुड़े हों।

permissions कैसे घोषित होती हैं?

कैमरा और माइक्रोफ़ोन की permissions Android manifest में घोषित होती हैं और रनटाइम पर माँगी जाती हैं।

जानकारी

लेखक का मूल विवरण

Provides instructions and workflows for accessing and managing hardware on Android XR projected devices, such as audio glasses and display glasses. Use this skill when building experiences for intelligent eyewear in an Android app and you need to access device hardware like the camera and microphone, handle glasses-specific runtime permissions, or manage connection lifecycles using projected context.

repo: android/skills

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#11942
लाइसेंस
Apache-2.0
अपडेट की गई
29/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agp-9-upgrade

10k

आपके एजेंट को Android ऐप को Android Gradle Plugin 9 पर ले जाने और उसके breaking changes सुधारने में मदद करती है। मल्टीप्लेटफ़ॉर्म प्रोजेक्ट के लिए नहीं।

कोडिंगमोबाइल ऐप

camerax

10k

आपके एजेंट को CameraX से Android कैमरा फ़ीचर बनाने में मदद करती है, जिसमें वीडियो रिकॉर्डिंग, हार्डवेयर कंट्रोल, ML Kit और Media3 इफ़ेक्ट शामिल हैं।

कोडिंगमोबाइल ऐप

android-for-cars-parked-apps

10k

आपके एजेंट को Android वीडियो, गेम या ब्राउज़र ऐप को Android Auto और Android Automotive पर parked ऐप के रूप में चलाने के लिए ढालने में मदद करती है।

कोडिंगमोबाइल ऐप

appfunctions

10k

आपके एजेंट को Android ऐप के मुख्य काम ढूँढकर उन्हें AppFunctions के रूप में देने में मदद करती है, ताकि AI एजेंट और वॉइस कमांड उन्हें चला सकें।

AI और एजेंटएजेंट

मिलती-जुलती skills