资源描述:
《android安卓系统架构》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、android安卓系统架构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