資源描述:
《android安卓系統(tǒng)架構(gòu)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、android安卓系統(tǒng)架構(gòu)androidsystemarchitectureandtheiroperatingsystems,usingalayeredarchitecture.Fromthecharttosee,androidisdividedintofourlayers,fromthetoptotheloweraretheapplicationlayer,applicationframeworklayer,layerandruntimesystemlinuxcorelayer.1.Appli
2、cationAndroidtogetherwithasetofcoreapplicationpackagesdistributedwiththeapplicationpackageincludingemailclient,SMSShortMessageprogram,calendar,maps,browser,contactmanagementprograms.AllapplicationsarewrittenusingJAVA.2.ApplicationFrameworkDevelopersa
3、lsohavefullaccesstothecoreapplicationframeworkAPIuses.Theapplicationarchitecturesimplifiesthereuseofcomponents;anyapplicationcanpublishitsfunctionblocksandanyotherapplicationcanuseitpublishfunctionblocks(butmustfollowsecurityrestrictionsframework).Si
4、milarly,theapplicationreusemechanismalsoallowsuserstoeasilyreplacethecomponent.Hiddenbehindeachapplicationisaseriesofservicesandsystems,including;*Richandscalableview(Views),itcanbeusedtobuildapplications,whichincludesalist(lists),grid(grids),atextbo
5、x(textboxes),buttons(buttons),andevenanembeddablewebbrowserdevice.*Contentprovider(ContentProviders)allowsapplicationstoaccessdatafromanotherapplication(suchasacontactdatabase),orsharetheirowndata*ResourceManager(ResourceManager)toprovideaccesstonon-
6、coderesourcessuchaslocalizedstrings,graphics,andlayoutfile(layoutfiles).*NotificationManager(NotificationManager)allowsapplicationstodisplayacustommessageinthestatusbar.*ActivityManager(ActivityManager)tomanagetheapplicationlifecycleandprovidescommon
7、navigationretractfunction.Formoredetailsandhowtowriteanapplicationfromscratch,refertohowtowriteanAndroidapplication.3.Thesystemruntime1)LibraryAndroidcontainssomeC/C++libraries,whichcanbedifferentAndroidsystemcomponents.TheyprovideservicesthroughtheA
8、ndroidapplicationframeworkfordevelopers.Thefollowingaresomeofthecorelibrary:*SystemClibrary-aBSDtoinheritfromthestandardCsystemlibrary(libc),whichisdesignedforembeddedlinuxbaseddevicescustomized.*MediaLibraries-basedonPacketVideoOpenCORE;Thelibrarysu