ANDROID STUDIO TUTORIAL: APPLICATION COMPONENT

ANDROID STUDIO TUTORIAL IN HINDI:

·        Android Studio Tutorial: Introduction
·        Android Studio Tutorial : History andVersions
·        Android Studio Tutorial :  Development Tools
·        Android Studio Tutorial : Android Setup
     Android Studio Tutorial       : Create Project
·        Android Studio Tutorial : Architecture and Environment Setup
·        Android Studio Tutorial : Application Content
·        Android Studio Tutorial : Manifest.XML File
·        Android Studio Tutorial : Resources
·        Android Studio Tutorial : Activity
·        Android Studio Tutorial : Style and Themes
·        Android Studio Tutorial : Services
·        Android Studio Tutorial : Notification
·        Android Studio Tutorial : Intent and Broadcast Receiver
·        Android Studio Tutorial : Content Provider
·        Android Studio Tutorial : Fragments
·        Android Studio Tutorial : Views
·        Android Studio Tutorial : Layouts
·        Android Studio Tutorial : Menus
·        Android Studio Tutorial : Buttons
·        Android Studio Tutorial : Data Storage
·        Android Studio Tutorial : Multi Threading
·        Android Studio Tutorial : Toasts
·        Android Studio Tutorial :Text Field
·        Android Studio Tutorial : Spinner
·        Android Studio Tutorial : Dialogs
·        Android Studio Tutorial : Search Interface
·        Android Studio Tutorial : File System
·        Android Studio Tutorial : Networking
·        Android Studio Tutorial : Advantage UI

ANDROID STUDIO TUTORIAL: APPLICATION COMPONENT

Application ki baat kare to yeh ek aavashyak building block hai. isse Android Manifaist.xml file se banaya gaya hai aur jo sabhi ghatna ko describe karta hai aur usse interact karata hai. Chaliye iski sabhi component ki bareme jante hai.
1. Android Activity
2. Android Services
3. Android Broadcast Receiver
4. Android Content Provider
1. Android Activity:
Agar ek application me GUI screen hai to uske sath activity bhi jarur hoti hai. GUI and activity ki sabandh bhut gahra hai. Activity android application ki sabhi GUI screen control karti hai.
Application ki screen par choti si choti gatividhi ko control karti hai. Yani ek application me jitni GUI screen hota hai utna hi activity hota hai aur sabhi ko control karta hai.
Har ek application me modification , screen box, home button jarur hota hai. Jaise hi koi notification us application me aata hai to activity usko control karti hai aur show karati hai.
Android activity create karne ke liye apni activity class ko extend karna hota hai, iske liye ek example dekhte hai.
Public class main Activity extends Activity
{
}
2. Android Service:
Service application ki background me run hoti hai aur iska koi user interface nahi hota hai. Service ko apne anusar handle kar sakte hai yani service launch kar sakte hai aur kaam pura hone par usse terminate kar sakte hai. Ek android service create karne ke liye service class ko extend karna hota hai.
Example:
Public class myservice extends service
{
}
3. Android Broadcast Receiver:
Agar intents ka notification apni us application ko broadcast receiver jaisi register karna hoga. Iske liye aapko Android mandest.xml file me receiver element ko include karna padta hai aur uski ek naam attribute hoti hai usme apni class ka naam pass karna hota hai, ek baat dhyan rahe ki class se pehle dot operator (.) lagana hota hai.
Example:
<receiver android: name =”yourclassnames”>
</receiver>
4. Android Content Provider:
Agar aap apni application ki data dusre application ke sath share karna chahte ho to iske liye content provider ki jarurat padti hai. Kisi bhi application ki data uski content provider me store hoti hai. Agar data kisi dusre application ke sath share karti hai to content provider ko access karna hota hai tabhi data ko access kar pata hai. lekin aapko pata hi hoga ki har kisi ka kuch na kuch rule hai jisko follow karke data access kar sakte ho.
To aapne 4 primary components ke bereme padha. Kisi chij ke bereme janna chahte hai to uski basic component ko janna bhut jaruri hai tabhi jaa kar usko ache se use kar sakte ho. Isi ke sath agle lesson me janege manifest.xml file ke bareme.
Click here: manifest.xml file

Previous
Next Post »

4 comments

Click here for comments
vinay
admin
November 8, 2018 at 7:07 AM ×

sir mujhe android development seekhna hai abhi tak maine koi bhi coding nahi seekhi hai
kya mai direct ye course kar sakte hu

Reply
avatar
November 8, 2018 at 8:21 AM ×

Ha kar sakte ho lekin aapko java thoda bhut aata hai to aur acha hoga. Iske liye internet se basic jankari sikh sakte hai.

Reply
avatar
Unknown
admin
November 8, 2018 at 12:21 PM ×

Sir aap ka bahut bahut thanks u eske madat se Maine ek application tyar Kiya but some error hai o Mai tik kargunga .tha that so much sir

Reply
avatar
Unknown
admin
November 8, 2018 at 12:22 PM ×

Sir ye trick Kam Kar Raha hai thanks you alot

Reply
avatar

Thank you ConversionConversion EmoticonEmoticon

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();