![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android
飞瀑
这个作者很懒,什么都没留下…
展开
-
安卓学习140501:组件——Broadcast Receivers
一个应用程序不仅可以与用户交互,也可以与平台翻译 2014-05-01 16:49:45 · 503 阅读 · 0 评论 -
安卓学习140505: Android中的Surface和SurfaceView
一、什么是Surface 简单的说Surface对应了一块屏幕缓冲区,每个window对应一个Surface,任何View都要画在Surface上。传统的view共享一块屏幕缓冲区,所有的绘制必须在UI线程中进行。 在SDK的文档中,对Surface的描述是这样的:“Handle onto a raw buffer that is being manag转载 2014-05-05 22:10:31 · 700 阅读 · 0 评论 -
安卓学习140501:组件——Content Providers
Content providers允许应用程序与平台和其他应用程序翻译 2014-05-01 17:09:07 · 452 阅读 · 0 评论 -
安卓学习140502:android Intent机制详解
Intent是一种运行时绑定(run-time binding)机制,它能在程序运行过程中连接两个不同的组件。通过Intent,你的程序可以向Android表达某种请求或者意愿,Android会根据意愿的内容选择适当的组件来完成请求。比如,有一个Activity希望打开网页浏览器查看某一网页的内容,那么这个Activity只需要发出WEB_SEARCH_ACTION给Android,Android转载 2014-05-03 01:03:02 · 552 阅读 · 0 评论 -
安卓学习140502:Android Activity和Intent机制学习笔记
ActivityAndroid中,Activity是所有程序的根本,所有程序的流程都运行在Activity之中,Activity具有自己的生命周期(见http://www.cnblogs.com/feisky/archive/2010/01/01/1637427.html,由系统控制生命周期,程序无法改变,但可以用onSaveInstanceState保存其状态)。对于Activity,关转载 2014-05-02 23:46:09 · 663 阅读 · 0 评论 -
安卓学习140502:Intent-Filter
当Intent在组件间传递时,组件如果想告知Android系统自己能够响应和处理哪些Intent,那么就需要用到IntentFilter对象。原创 2014-05-02 23:32:20 · 469 阅读 · 0 评论 -
安卓学习140502:Android Call requires API level 11 (current min is 8)的解决方案
【错误描述】 在用Eclipse开发过程中,为了兼容Android2.2和4.0以上版本,我在使用Notification类时做了2个版本的代码,代码根据系统版本不同执行相应模块,结果,等我输完代码,发现系统提示了一个这么的错误。【原因分析】 不详,可能和Run Android Lint有点关系吧。就是创建项目时,我们设置了最低版本API Level,比如我的是8,因此,E转载 2014-05-02 16:03:17 · 517 阅读 · 0 评论 -
安卓学习140501:组件——services
services在后台运行,没有提供用户界面,也不能直接与用户交互。安卓翻译 2014-05-01 16:23:40 · 379 阅读 · 0 评论 -
安卓学习140502:Bundle
Bundle用于不同Activity之间的数据传递,原创 2014-05-03 00:20:15 · 415 阅读 · 0 评论 -
安卓学习140501:组件——Activities与Intents
Activity是应用程序中最重要的组件之一。它与显示翻译 2014-05-01 15:46:43 · 406 阅读 · 0 评论 -
安卓学习140502:android:name
每一个Activity、Service等应用程序组件都会对应AndroidManifest.xml文件中的一个、标签。在这些标签中有一个必选的属性:android:name,该属性需要指定一个类名,例如,net.blogjava.mobile.Main类。指定android:name属性值有如下3种方式:1. 指定完全的类名(packagename+classname),例如,net.blo转载 2014-05-02 23:14:39 · 496 阅读 · 0 评论 -
安卓学习140501:fragments
android中fragments api是为满足原创 2014-05-01 20:44:49 · 584 阅读 · 0 评论 -
安卓学习140501:组件——安卓的组件
安卓和其他移动平台的主要区别翻译 2014-05-01 14:28:47 · 453 阅读 · 0 评论 -
The difference between intent and events
Intents carry messages from one module of your application to another.It can be sent to and from background processing services or intra-application activitie转载 2014-04-27 22:00:07 · 411 阅读 · 0 评论