Introduction to Android: history, concepts and features of Android; concepts of API framework

Android touch devices के लिए एक free, open-source, Linux-based operating system है, जिसे Google ने 2005 में ख़रीदा, और apps phone के hardware और features से सीधे बात नहीं करते बल्कि Android API framework के ज़रिए करते हैं, classes और methods की एक विशाल ready-made library।

8 min read · 9 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

एक app camera तक कैसे पहुँचती है?

आप FestConnect Mobile बनाने वाले हैं, fest registration के लिए एक Android app। पर सोचिए इसका मतलब क्या है: आपकी app को buttons draw करने हैं, text पढ़ना है, शायद एक QR ticket के लिए camera इस्तेमाल करनी है। आपका code सीधे camera hardware को छू नहीं सकता, और इसे ऐसा करना भी नहीं चाहिए।

आपकी app और phone के बीच Android बैठा है: एक operating system जो hardware manage करता है, और आपकी app को इसे जो चाहिए उसके लिए एक ready-made toolkit offer करता है। वह relationship समझना इस पहले lesson का पूरा मक़सद है।

Theory

Building और इसकी facilities desk

आपकी app एक बड़ी building (phone) में एक tenant है। आप water main या power grid तक अपनी wiring नहीं चलाते। आप building के facilities desk को call करते हैं और पूछते हैं: 'मुझे पानी चाहिए', 'इसे notice board पर दिखाइए'। Android building management है, और इसका API framework वह facilities desk है: services की एक published list जो आप request कर सकते हैं, तो आप कभी raw plumbing नहीं छूते।

Theory

Android, formally

Android एक free, open-source operating system है Linux kernel पर बना, touch devices (phones, tablets, TVs, watches) के लिए design किया गया। Android Inc ने इसे शुरू किया; Google ने 2005 में इसे acquire किया, और पहला phone 2008 में shipped हुआ।

Key features: open source, multitasking, rich UI widgets, sensor और media support, और हर app अपने process में चलती है।

API framework prewritten classes और methods (जैसे Activity, View, Intent) की बड़ी library है जिसे आपकी app device features इस्तेमाल करने के लिए call करती है। आप API के हिसाब से code करते हैं; OS hardware का काम करता है।

At a glance

तीन words जो लोग mix कर देते हैं

Termयह क्या है
Androiddevice चलाने वाला operating system
एक Android appवह program जो आप बनाते हैं जो Android पर चलता है
API frameworkclass/method library जिसे आपकी app call करती है

Think first

Hardware से सीधे बात क्यों नहीं?

आपकी FestConnect app को screen पर एक message दिखाना है। एक Android API method call करना display hardware में सीधे लिखने से बेहतर क्यों है? Tap करने से पहले दो reasons दीजिए।

Show the answer

1. Portability: हज़ारों Android devices में अलग-अलग screens और chips हैं। API के हिसाब से coding करने का मतलब है OS हर device के hardware को handle करता है, तो आपकी एक app हर जगह चलती है। 2. Safety और simplicity: सीधा hardware access device या दूसरी apps को crash कर सकता है; API safe, tested methods expose करता है और गंदे details छुपाता है। आप textView.setText(...) लिखते हैं; framework pixels समझ लेता है। यही एक API framework का पूरा point है।

Quiz

Android के बारे में कौन सा statement सही है?

  1. Android एक Linux-based operating system है जिसे Google ने 2005 में acquire किया
  2. Android एक programming language है जिसमें आप apps लिखते हैं
  3. Android सिर्फ़ Google के बनाए phones का एक specific brand है
  4. Android apps बिना किसी operating system के नीचे चलते हैं
Show the answer

Android एक Linux-based operating system है जिसे Google ने 2005 में acquire किया

Android Linux kernel पर बना एक operating system है, और Google ने इसे 2005 में acquire किया (A)। यह एक language नहीं है (B): आप Android apps Java या Kotlin में लिखते हैं। यह एक अकेला phone brand नहीं है (C): कई makers (Samsung, Xiaomi, आदि) Android ship करते हैं। और apps बिल्कुल OS के ऊपर चलती हैं (D): OS इनके लिए hardware और processes manage करता है। OS, app, और language को अलग रखना इस lesson का core है।

Watch out

Vocabulary trap

Exams ढीली wording को punish करते हैं। Android एक operating system है, कोई language नहीं और कोई phone नहीं। आप Java (या Kotlin) में apps लिखते हैं जो Android पर चलती हैं। और API framework class library है, OS ख़ुद नहीं। 'Android एक ___ है' जैसे question में 'operating system (Linux-based, open source)' चाहिए, 'एक mobile' के लिए marks कट जाते हैं।

Theory

अगला: OS के अंदर क्या है

अब आप जानते हैं Android आपकी app और hardware के बीच बैठता है और एक API offer करता है। अगला lesson box खोलता है: Android architecture, Linux kernel से आपकी app तक four-layer software stack, ताकि आप exactly देख सकें आपका FestConnect code कहाँ रहता है और नीचे से इसे क्या support करता है।

Summary

Key takeaways

  • Android touch devices के लिए एक free, open-source, Linux-based operating system है; Google ने इसे 2005 में acquire किया।
  • यह एक OS है, कोई language या phone brand नहीं; आप Java/Kotlin में apps लिखते हैं जो इस पर चलती हैं।
  • Features: open source, multitasking, rich widgets, sensors/media, हर app अपने process में।
  • API framework prewritten class/method library है (Activity, View, Intent) जिसे apps device features इस्तेमाल करने के लिए call करती हैं।
  • API के हिसाब से coding करना (hardware के बजाय) devices में portability और safety देता है।
  • Memory hook: app एक tenant है; API framework facilities desk है।

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Concepts of Android and Setting up Android Environment

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Introduction to Android: history, concepts and features of Android; concepts of API framework · Mobile Application Development - 1 (option B) · Gri-Learn