- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Action A string naming the action to be performed— or, in the case of broadcast intents, the action that took place and is being reported. 一个字符串: 用来命名将要执行的具体操作 如果是用于广播的Intent,则是指已经发生的具体操作 Action constants The Intent class defines a number of action constants, including these: Action The action in an Intent object is set by the?setAction()?method and read by?getAction(). Data The URI of the data to be acted on and the MIME type of that data. URI:统一资源标识符(Uniform Resource Identifier) MIME:多用途互联网邮件扩展(MIME,Multipurpose Internet Mail Extensions) 一些常用的MIME Type text/plain(纯文本) text/html(HTML文档) image/gif(GIF图像) image/jpeg(JPEG图像)【PHP中为:image/pjpeg】 video/mpeg(MPEG动画) application/pdf(PDF文档) Data Different actions are paired with different kinds of data specifications. if the action field is?ACTION_EDIT, the data field would contain the URI of the document to be displayed for editing. ?If the action is?ACTION_CALL, the data field would be a?tel:URI with the number to call.? 长沙学院计算机系 周景 长沙学院计算机系 周景 长沙学院计算机系 周景 长沙学院计算机系 周景 长沙学院计算机系 周景 长沙学院计算机系 周景 长沙学院计算机系 周景 * Android开发技术 长沙学院计算机系 周景 * 第2章 Android程序设计基础 重点: Android程序框架 Android生命周期 Android程序UI设计 目录结构 src:开发人员编写的源代码 gen:项目自动生成的代码 R.java:定义该项目所有资源的索引文件 res:资源文件 图片,菜单,界面布局,字符串,动画,音频 assets:也可以存放资源文件,而且/assets目录下的资源文件不会在R.java自动生成ID,所以读取/assets目录下的文件必须指定文件的路径 AndroidManifest.xml:全局数据,包含了该项目使用的Activity、Service、Receiver Android应用解析 Android程序组件: Activity(Component) Service(Component) Broadcast Receiver(Component) Content Provider Intent Activity An activity is a single, focused thing that the user can do. 手机上的一个屏幕 Activity Takes care of creating a window for you in which you can place your UI with setContentView(View). they can also be used in other ways: as floating windows (via a theme with windowIsFloating set) embedded inside of another activity (using ActivityGroup). Content Provider 数据存储: Shared Preferences:存储“key-value paires”格式的数据,保存为xml文件 Files:Linux文件格式 SQLite:轻量级的关系数据库 Network:通过网络来存储和获得数据 Serv
您可能关注的文档
最近下载
- 义务教育版(2024)四年级全一册第7课《数字编码随处见》.pptx VIP
- 《工程勘察定向钻探技术规程》.pdf VIP
- 多联机空调施工组织设计方案.docx VIP
- 计算机应用基础(Windows10+WPSOffice 2019)中职全套教学课件.pptx
- DELL EMC 存储设备健康检查报告(模板).doc VIP
- 金融知识竞赛题库第四部分中国人民银行法试题及答案.doc VIP
- 2025-2030年中国猪苓中药材行业现状调查及投资前景预测研究报告.docx
- 大疆无人机公司介绍.ppt VIP
- 防酸碱劳保培训课件.pptx VIP
- GBZT 181-2024 建设项目放射性职业病危害评价报告编制标准.pdf VIP
文档评论(0)