欢迎来到天天文库
浏览记录
ID:46949375
大小:275.00 KB
页数:27页
时间:2019-12-01
《《BREW开发简介》PPT课件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、BREW的介绍2003年7月什么是BREWBREW:BinaryRuntimeEnvironmentforwireless(二进制运行环境)Brew是一个无线平台,通过COM风格的API提供给上层应用。B:Binary,API是二进制库的集合。应用程序可以被编译和链结到特定的处理器(如ARM)R:Runtime,ApplicationsandextensionsarediscoveredatruntimeE:Environment,BREWprovidesawealthofAPIsandapplicationm
2、anagementservices.W:Forwireless.BREWisafast,efficient,lowRAM/FLASHenviroment,andspecificallydevelopedforwirelessdevicestoallowapplicationstotakeadvantageofwirelessserviecesBREW结构BREW结构1、DeviceLayerProvidesPrimitivesOSandDevieceDriverFunctionality2、OEMlayerPr
3、ovidesservicestotheAEElayernativelyorthroughtheDeviceLayerChiL(ChipInterfaceLayer)ProvidesBasebandChipSpecificServices(e.g.GPS,Socket)MIL(MobileInterfaceLayer)ProvidesGenericBasebandChipIndependentservices(e.g.Database,Heap)3、AEElayerProvidesauniformAPItoapp
4、licationsBREW文件和目录所有的BREW文件和目录名字都是小写字母BREW3.0将允许大小写的文件名四种文件类型MIF:ModuleinformationFileBAR:BREWAppletResourceFileMOD:BinaryModuleFileSIG:DigitalSignatureFileMIFThisfiletypecontainsinformationabouteachModule.EachmodulecancontainOneorMoreBREWappletsorExtensions
5、,andthistypeoffilecontainsinformationsuchas:AppletClassIDs,names,Images,andsettingsGeneralmoduleinformationintextPrivilegelevelsExportedClassIDsandMIMEtypesModuledependenciesBARandMODfileBAR:thisfiletypecontainstheapplicationresources:textstrings,imagesanddi
6、alogs.ThisfiletypeisusedbytheMODfilesduringexecution.theBARfilesaregeneratedfromBREWresourceintermediatefiles(BRI)MOD:Thisfiletypeisthedynamicallyloadedmoduleexecutedatruntime.TheappletSourcefilesarecompilesandlinkedintothisMODfiletypeSIG:Thisfiletypecontain
7、sDigitalSignatureinformationtoensuretheIntegrityofeachapplet.WhenaModuleisdownloaded,thisSignaturefileisverifiedbyvalidatingthebinaryandresourcefilesBREWStackingandManagementBREWappletstackingOnlyoneappletisvisibleatatimeBREWmaintainshistorylistofapplication
8、thathavestartedandsuspendedAllowsmixofOEMUI/MMIandBREWappletsAllowsoneormoreBREWappletstobestartedinsequencesandmixedwithOEMUIdialogsorapplicationsBREWappletscanruninthebackgroundifnodisplayorke
此文档下载收益归作者所有