欢迎来到天天文库
浏览记录
ID:47432143
大小:102.01 KB
页数:8页
时间:2020-01-11
《NIIT 安卓复习提纲+答案》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、一、基础:1.安卓核心组件有哪些?Activities、Services、Contentproviders、Broadcastreceives2.安卓keyfeatures有哪些?Integratedbrowser、SQLite、Mediasupport、Wirelessservices、DVM、Applicationframework、Richdevelopmentenvironment3.安卓用什么数据库?SQLiteDatabase4.几个流行的移动平台各自的IDE是什么?1.Symbian(QtCreator)2.Android(Eclips
2、eAndroidStudio)3.BlackBerry(TheBlackBerryJavaDevelopmentEnvironment(JDE))4.IOS(Xode)5.Windows(VisualStudio)5.R.java是什么文件?干什么用的?在什么地方?R.javaisanindexdatabasefile,storetheIDofalltheresourceinapp.R.javalocatedin/gendirectory.6.安卓平台架构分为几层?各是什么?Androidplatformhasafour-layeredarchit
3、ecture:Linuxkernel、LibrariesandAndroidruntime、Applicationframework、Applications7.创建一个UI并运行之,有哪几个步骤?a.CreateanewAndroidproject;b.DesigntheUI,youcanusethecontrolsintoolboxorcodinginthelayout.xmlfile;c.AssociatetheUIwiththeactivity;d.Registertheactivity.8.Intent有几个组件?各是干什么用的?哪些组件是
4、必须存在的,哪些是可选的,在Manifest中intentfilter是如何声明的?Componentname:Specifythenameofthecomponentthatshouldhandletheintent.Action:SpecifytheactionthatneedstobeperformedData:Specifiesthedatatooperateon.Category:Specifiesthebehaviourofthetargetapplicationcomponent.Extras:Containsextrasinforma
5、tionintheformofkey-valuepairsthatmustdeliveredtothecomponentsthathandletheintent.Flags:Includesflagsthatcontrolvariousaspectsrelatedtoactivatinganewcomponent.必须存在:Action可选:Data、CategoryIntheManifestfile,intentfilterwasdefinedasfollowing:Intentfilterwasdeclaredintheformoftag6、ent-filter>andthetagwascontainedinthetag.9.Activity的生命周期有哪些状态?状态转换时调用的方法各是什么?Running、Paused、Stopped10.同一个应用之间Activity互相调用要用什么Intent(隐式、显式?还是什么?)?UseExplicitIntent.1)ExplicitIntent(指定接收者):ExplicitIntentspecifythenameofthetargetcomponent7、inordertoactivatethatcomponent.Suchintentsareusedtostartanactivityoraservicewithinthesameapplication.2)ImplicitIntent(不指定接收者):Implicitintentsareusedtoactivatethecomponentsofotherapplications.Implicitintentsdonotspecifythetargetcomponentbytheirname,componentsadvertisetheircapabi8、litytodoajobbyusingaintentfilers.11.什么是DalvikVirtualMa
6、ent-filter>andthetagwascontainedinthetag.9.Activity的生命周期有哪些状态?状态转换时调用的方法各是什么?Running、Paused、Stopped10.同一个应用之间Activity互相调用要用什么Intent(隐式、显式?还是什么?)?UseExplicitIntent.1)ExplicitIntent(指定接收者):ExplicitIntentspecifythenameofthetargetcomponent
7、inordertoactivatethatcomponent.Suchintentsareusedtostartanactivityoraservicewithinthesameapplication.2)ImplicitIntent(不指定接收者):Implicitintentsareusedtoactivatethecomponentsofotherapplications.Implicitintentsdonotspecifythetargetcomponentbytheirname,componentsadvertisetheircapabi
8、litytodoajobbyusingaintentfilers.11.什么是DalvikVirtualMa
此文档下载收益归作者所有