सेंसर और जगह की जानकारी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android डिवाइसों में सेंसर होते हैं. इनकी मदद से, उपयोगकर्ताओं को उनके आस-पास की जगह के हिसाब से जानकारी दी जा सकती है. जैसे, जगह की जानकारी, मोशन, पोज़िशन, और आस-पास के माहौल की क्वालिटी.
उपयोगकर्ताओं को बेहतर और ज़्यादा कॉन्टेक्स्ट-विशिष्ट अनुभव देने के लिए, Android API का इस्तेमाल करें. ये एपीआई, इस तरह के सेंसर का फ़ायदा उठाते हैं:
GPS का इस्तेमाल करके, अपने ऐप्लिकेशन में जगह की जानकारी की सुविधा जोड़ें. इसमें ये सुविधाएं शामिल हैं: जगह की जानकारी को अपने-आप ट्रैक करना, सड़क के गलत साइड पर चलने का पता लगाना, जियोफ़ेंसिंग, गतिविधि की पहचान करना वगैरह.
मोशन सेंसर का इस्तेमाल करके, तीन ऐक्सिस पर ऐक्सलरेशन फ़ोर्स और रोटेशनल फ़ोर्स को मेज़र करें. इस कैटगरी में एक्सलरोमीटर, ग्रेविटी सेंसर, जाइरोस्कोप, और रोटेशनल वेक्टर सेंसर शामिल हैं.
डिवाइस की फ़िज़िकल पोज़िशन को मेज़र करने के लिए, पोज़िशन सेंसर का इस्तेमाल करें. इस कैटगरी में ओरिएंटेशन सेंसर और मैग्नेटोमीटर शामिल हैं.
आस-पास के तापमान और दबाव, रोशनी, और नमी जैसे अलग-अलग पर्यावरणीय पैरामीटर को मेज़र करने के लिए, पर्यावरण सेंसर का इस्तेमाल करें.
इस कैटगरी में बैरोमीटर, फ़ोटोमीटर, और थर्मामीटर शामिल हैं.
वीडियो
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. 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,["# About sensors and location\n\nAndroid-powered devices have sensors that let you provide users with contextual\ninformation about their surroundings, including location awareness, motion,\nposition, and qualities of the physical environment.\n\nTo provide a much richer, more more context-specific experience for users, use\nAndroid APIs that take advantage of the following types of sensors:\n\n- Use [GPS](/develop/sensors-and-location/location) to add location awareness to your app with automated location\n tracking, wrong-side-of-the-street detection, geofencing, activity\n recognition, and more.\n\n- Use [motion sensors](/develop/sensors-and-location/sensors/sensors_motion) to measure acceleration forces and rotational forces\n along three axes. This category includes accelerometers, gravity sensors,\n gyroscopes, and rotational vector sensors.\n\n- Use [position sensors](/develop/sensors-and-location/sensors/sensors_position) to measure the physical position of a device. This\n category includes orientation sensors and magnetometers.\n\n- Use [environmental sensors](/develop/sensors-and-location/sensors/sensors_environment) to measure various environmental parameters,\n such as ambient air temperature and pressure, illumination, and humidity.\n This category includes barometers, photometers, and thermometers.\n\nVideos\n------"]]