自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

farproc's blog

理性爱国

  • 博客(3)
  • 资源 (1)
  • 收藏
  • 关注

原创 不可理解的 paypal !

    为了在网上进行一些美元交易,我在2009年9月份开通了一个国际 paypal 帐号。昨天晚上登录到我的 paypal 时,系统提示账号受到限制,并且没有任何解除限制的链接。也就是说我的账号基本上完了。    今天一大早就给 paypal 客服打电话,客服告诉我是因为异常登录造成账号受限,且不能提交审核请求。她还告诉我,如果我再用同样的个人信息注册 paypal 账号的话新账号还是可能被

2009-09-26 10:32:00 10497

原创 View.setKeepScreenOn(true) 需要 "android.permission.WAKE_LOCK" 权限?

    View.setKeepScreenOn(true) 需要 "android.permission.WAKE_LOCK" 权限吗? 我目前的推断是“G1 (cupcake 1.5)上不需要,emulator 和其他设备/平台可能需要”。    如果你的程序调用了 View.setKeepScreenOn() 并且出现了莫名其妙的 “Force close” 的话,不妨试试加上这个 pe

2009-09-07 13:26:00 22847

原创 Android 平台如何取得程序自身的版本?

    想必 99% 的程序都有一个 "About" 吧?这里一般都会写上程序名称和版本号。要知道,AndroidManifest.xml 中也有版本号(Version Name),同样的信息在两个地方出现,就引出了一个问题:如何在后续升级时保证二者同步?    我首先想到的方法就是在 res/values/strings.xml 中定义一个 entry,比如 1.0,然后再在

2009-09-07 12:56:00 10411 1

Object-Oriented Design Heuristics

Upon completion of an object-oriented design, you are faced with a troubling question: "Is it good, bad, or somewhere in between?" Seasoned experts often answer this question by subjecting the design to a subconscious list of guidelines based on their years of experience. Experienced developer Arthur J. Riel has captured this elusive, subconscious list, and in doing so, has provided a set of metrics that help determine the quality of object-oriented models.Object-Oriented Design Heuristics offers insight into object-oriented design improvement. The more than sixty guidelines presented in this book are language-independent and allow you to rate the integrity of a software design. The heuristics are not written as hard and fast rules; they are meant to serve as warning mechanisms which allow the flexibility of ignoring the heuristic as necessary. This tutorial-based approach, born out of the author's extensive experience developing software, teaching thousands of students, and critiquing designs in a variety of domains, allows you to apply the guidelines in a personalized manner.The heuristics cover important topics ranging from classes and objects (with emphasis on their relationships including association, uses, containment, and both single and multiple inheritance) to physical object-oriented design. You will gain an understanding of the synergy that exists between design heuristics and the popular concept of design patterns; heuristics can highlight a problem in one facet of a design while patterns can provide the solution.Programmers of all levels will find value in this book. The newcomer will discover a fast track to understanding the concepts of object-oriented programming. At the same time, experienced programmers seeking to strengthen their object-oriented development efforts will appreciate the insightful analysis. In short, with Object-Oriented Design Heuristics as your guide, you have the tools to become a better software developer.

2007-04-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除