Android程序設計

出版時間:2011-12  出版社:東南大學出版社  作者:(美)梅德尼克斯 等著  頁數(shù):482  
Tag標簽:無  

內容概要

《Android程序設計(影印版)》深度探索Android的核心構造模塊和應用程序編程接口,并且學習如何創(chuàng)建適用于全系列Android設備的引人注目的應用程序。你將使用經過驗證的方法進行應用設計和實現(xiàn)——包括在你的項目起步時可用的應用程序框架。

作者簡介

  Zigurd Mednieks是一位咨詢師,為領先外包廠商,企業(yè)和風險投資開發(fā)基于Android的系統(tǒng)提供咨詢。
  Laird Dornin 是一家主要無線運營商的高級工程師,在Java,
Android,J2ME,SaveJe和WebKit等方面具有廣泛經驗。

書籍目錄

Preface
Tools and Basics
About the Android Framework
A Skeleton Application for Android
Advanced Topics
Index

章節(jié)摘錄

版權頁:   插圖:   Eclipse refactoring tools are your best friend.With just a few clicks you can create anew project for the now standalone subtree,cut and paste the content provider codeinto it,and then rename the packages as appropriate.Eclipse will fix most things,including the changed references. It's worth a reminder that shortcutting package names-using a package named justweatherprediction,for instance-is a bad idea.Even if you are pretty sure the code youare creating will never be used outside its current context,you may want to use externally produced code in that context.Don't set yourself up for a name collision.Concurrency in AndroidAs mentioned in Chapter 2,writing correct concurrent programs can be very difficult.The Android libraries provide some convenient tools to make concurrency both easierand safer. When discussing concurrent programs,developers get into the habit of talking asthough writing code with multiple threads actually causes those threads to execute atthe same time-as though threading actually makes-the program run faster.Of course,it isn't quite that simple.Unless there are multiple processors to execute the threads,a program that needs to perform multiple,unrelated,computebound tasks will complete those tasks no more quickly if they are implemented as separate threads than itwill if they are on the same thread.In fact,on a single processor,the concurrent versionmay actually run somewhat more slowly because of the overhead due to contextswitching. Multithreaded Java applications were around for a long time before most people couldafford machines with more than one processor on which to run them.In the Androidworld,multithreading is an essential tool,even though the majority of devices willprobably have only a single CPU for another year or so.So what is the point of concurrency if not to make a program run faster?If you've been programming for any length of time at all,you probably don't even thinkabout how absolutely essential it is that the statements in your code are executed in arigid sequential order.The execution of any given statement must,unconditionally,happen before the execution of the next statement.Threads are no more than an explicitway of relaxing this constraint.They are the abstraction that developers use to make itpossible to write code that is still ordered,logical,and easy to read,even when tasksembodied by the code are not related by ordering.

媒體關注與評論

“終于!有本深入細節(jié)的書了!歡呼!” - Perry J. Nally FeetDog.com “了不起的著作。我讀了幾章就無法放下?!?- Wenjing Dai 開發(fā)人員

編輯推薦

《Android程序設計(影印版)》深入探究傳感器、原生開發(fā)、三維圖形以及其他主題,并且探索發(fā)現(xiàn)如何在你所選擇的平臺上構建應用程序。如果你是一個技能中等以上的程序員,你將學會如何制作了不起的Android應用程序。

名人推薦

“終于!有本深入細節(jié)的書了!歡呼!” ——Perry J.Nally FeetDog.com “了不起的著作。我讀了幾章就無法放下?!?——Wenjing Dai開發(fā)人員

圖書封面

圖書標簽Tags

評論、評分、閱讀與下載


    Android程序設計 PDF格式下載


用戶評論 (總計2條)

 
 

  •   書還沒有看,但是很期待
  •   花了一整周,書看了一半了,書是真不錯,原汁原味,但前提是得用心讀,靜下心來讀。這個不是那種傻瓜式的操作指南,更加偏重理論和一些編程思想。我是把這本書和android sdk document一起看的,先看書中的思想,再看help文檔的具體解釋。書的深度夠了,要是還嫌不夠,只能下載android源碼看了。書中的例子可以到oreily官網上下載源碼,例子很不錯(現(xiàn)在只仔細看了一個)。p.s.書中的長句子很多,有時看懂一句話要看三四遍才看懂,用的詞匯比msdn/android sdk doc要難懂一些,因為不是正式文檔,感覺像是日常談話??偲饋碚f,很好的一本書!!
 

250萬本中文圖書簡介、評論、評分,PDF格式免費下載。 第一圖書網 手機版

京ICP備13047387號-7