bestie

导航

 

2011年12月23日

摘要: 说到ContentProvider之前,还是贴一段android-developer对它下定义的的原文:Content providers are one of the primary building blocks of Android applications, providing content to applications. They encapsulate data and provide it to applications through the single ContentResolver interface. A content provider is only req.. 阅读全文
posted @ 2011-12-23 15:58 bestie 阅读(469) 评论(0) 推荐(0)
 

2011年12月20日

摘要: 总结Activity的常识之前,先来说说什么是Activity。简单的讲,Activity就是一个屏幕,在屏幕上我们可以放置任何被允许放置的东西,图片,文字,android内置的各类控件等;它的标准定义如下(摘录自android文档):An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which yo.. 阅读全文
posted @ 2011-12-20 14:24 bestie 阅读(228) 评论(0) 推荐(0)
 

2011年12月19日

摘要: 在详细分析android系统应用开发的各个方面之前,我觉得有必要先写一下有关该系统应用层(Android application layer)的大体结构。如同作一幅画之前先把它的轮廓描述出来,先从细节入手往往难以把握整体,反复地纠结于activity怎么跳转,怎么传参,怎么返回也只能解决一类问题而已。我想在学习过程中最值得我们花精力去投入的部分应该是掌握思考问题,分析问题和处理问题的能力,那么有个很好的全局视角是很重要的。就android应用层程序而言,以下6个组件是主要组成部分。ActivityServiceContent ProviderIntentBroadcast Receiver.. 阅读全文
posted @ 2011-12-19 15:48 bestie 阅读(334) 评论(0) 推荐(0)
 

2011年12月14日

摘要: 今天想更新一下Android ADK,把ICS的API和SDK都集成进去,但是更新完SDK之后发现,需要更新ADT,那好吧继续更新ADT(其实是卸载之后重新安装ADT)。eclipse->help->install new software...点already installed链接删除已经安装的ADT和DDMS包然后在重新安装ADT的过程中遇到了这样的问题。Cannot complete the install because one or more required items could not be found. Software being installed: And 阅读全文
posted @ 2011-12-14 17:23 bestie 阅读(28302) 评论(2) 推荐(0)