android应用开发--ContentProvider的使用
摘要:说到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..
阅读全文
android应用开发--关于Activity的总结
摘要:总结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..
阅读全文
android应用开发--概述
摘要:在详细分析android系统应用开发的各个方面之前,我觉得有必要先写一下有关该系统应用层(Android application layer)的大体结构。如同作一幅画之前先把它的轮廓描述出来,先从细节入手往往难以把握整体,反复地纠结于activity怎么跳转,怎么传参,怎么返回也只能解决一类问题而已。我想在学习过程中最值得我们花精力去投入的部分应该是掌握思考问题,分析问题和处理问题的能力,那么有个很好的全局视角是很重要的。就android应用层程序而言,以下6个组件是主要组成部分。ActivityServiceContent ProviderIntentBroadcast Receiver..
阅读全文
eclipse更新ADT插件
摘要:今天想更新一下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
阅读全文