अपने मीडिया ऐप्लिकेशन में Android Auto की सुविधा जोड़ना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
आपको अपने ऐप्लिकेशन के मेनिफ़ेस्ट में कुछ बदलाव करने होंगे, ताकि Android Auto आपके ऐप्लिकेशन की मीडिया ब्राउज़र सेवा को ढूंढ सके और उसके साथ इंटरैक्ट कर सके.
Android Auto के साथ मीडिया ऐप्लिकेशन के काम करने का एलान करना
यह मेनिफ़ेस्ट एंट्री इस्तेमाल करके यह एलान करें कि आपका फ़ोन ऐप्लिकेशन, Android Auto के साथ काम करता है:
<application>
...
<meta-data android:name="com.google.android.gms.car.application"
android:resource="@xml/automotive_app_desc"/>
...
</application>
मेनिफ़ेस्ट की यह एंट्री, एक ऐसी एक्सएमएल फ़ाइल के बारे में बताती है जिसमें यह बताया गया है कि आपका ऐप्लिकेशन, कार से जुड़ी कौन-कौनसी सुविधाएं देता है. यह बताने के लिए कि आपके पास मीडिया ऐप्लिकेशन है, अपने प्रोजेक्ट की res/xml/
डायरेक्ट्री में automotive_app_desc.xml
नाम की एक एक्सएमएल फ़ाइल जोड़ें. इस फ़ाइल में यह कॉन्टेंट शामिल होना चाहिए:
<automotiveApp>
<uses name="media"/>
</automotiveApp>
Android Auto Media से जुड़ी किसी समस्या की शिकायत करना
अगर आपको Android Auto के लिए मीडिया ऐप्लिकेशन डेवलप करते समय कोई समस्या आती है, तो Google Issue Tracker का इस्तेमाल करके इसकी शिकायत की जा सकती है.
समस्या के टेंप्लेट में, मांगी गई पूरी जानकारी भरें.
नई समस्या बनाना
कोई नई समस्या सबमिट करने से पहले, कृपया यह देख लें कि वह समस्या पहले से ही समस्याओं की सूची में मौजूद है या नहीं. ट्रैकर में किसी समस्या के लिए, तारे के निशान पर क्लिक करके उसकी सदस्यता ली जा सकती है और उसके लिए वोट किया जा सकता है. ज़्यादा जानकारी के लिए, किसी समस्या को सब्सक्राइब करना लेख पढ़ें.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-09-03 (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-09-03 (UTC) को अपडेट किया गया."],[],[],null,["You need to make a few changes to your app's manifest so that Android Auto\ncan discover and interact with your app's media browser service.\n| **Important:** This guide assumes that you have already [built a media browser service](/training/cars/media#implement_browser) and you want to add support for Android Auto to your existing project. If you are new to app development for cars, see the [Android for Cars overview page](/training/cars).\n\nDeclare media support for Android Auto\n\nUse the following manifest entry to declare that your phone app supports\nAndroid Auto: \n\n \u003capplication\u003e\n ...\n \u003cmeta-data android:name=\"com.google.android.gms.car.application\"\n android:resource=\"@xml/automotive_app_desc\"/\u003e\n ...\n \u003c/application\u003e\n\nThis manifest entry refers to an XML file that declares what automotive\ncapabilities your app supports. To indicate that you have a media app, add an\nXML file named `automotive_app_desc.xml` to the `res/xml/` directory in your\nproject. This file should include the following content: \n\n \u003cautomotiveApp\u003e\n \u003cuses name=\"media\"/\u003e\n \u003c/automotiveApp\u003e\n\nReport an Android Auto Media issue\n\nIf you run into an issue while developing your media app for Android Auto, you\ncan report it using the\n[Google Issue Tracker](https://issuetracker.google.com/issues?q=status:open%20componentid:192643).\nBe sure to fill out all the requested information in the issue template.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=192643)\n\nBefore filing a new issue, please check whether it is already reported in the issues\nlist. You can subscribe to and vote for issues by clicking the star for an issue in\nthe tracker. For more information, see\n[Subscribing to an Issue](https://developers.google.com/issue-tracker/guides/subscribe#starring_an_issue)."]]