您好,欢迎光临本网站![请登录][注册会员]  
文件名称: AndroidEssentials
  所属分类: Android
  开发工具:
  文件大小: 983kb
  下载次数: 0
  上传时间: 2010-02-25
  提 供 者: toda****
 详细说明: 初学android开发的好书! Contents Chapter 1: Introduction...............................................................1 What You Need to Know to Start............................................................1 How to Best Use This Book....................................................................2 Getting Started.........................................................................................2 Installing Eclipse...........................................................................................3 Getting the Android SDK..............................................................................3 Installing the Eclipse Plug-In........................................................................4 The Android Project................................................................................5 Running, Debugging, and Causing General Mayhem..........................8 Chapter 2: The Application..........................................................9 Getting Active..........................................................................................9 Getting Splashy...........................................................................................10 Creating the Intent Receiver.................................................................19 Setting It Up................................................................................................19 Seeing the Intent Receiver in Action...........................................................23 Triggering the Activity................................................................................26 Who Do You Want to Humiliate Today?.............................................29 Nervous with the Service............................................................................29 Zen and the Art of Getting Even.................................................................33 Moving Data in Android.......................................................................34 Shameless Self-Promotion..........................................................................36 Adding Evil Corporate URLS with a Content Resolver.............................38 ii Android Essentials Part of This Balanced Breakfast..........................................................39 Chapter 3: User Interface..........................................................41 Easy and Fast, the XML Layout...........................................................42 Laying Out...................................................................................................42 Scrolling, Text Entry, Buttons, and All the Simple Things in Life...........51 Waking Up the Widgets.........................................................................55 Widgets in Java...........................................................................................59 Getting Under the Hood..............................................................................59 Custom UI Rendering with the Canvas................................................67 Customizing the View.................................................................................67 Creating the Game Loop.............................................................................69 Bringing It All Together..............................................................................74 Using the User Interface.......................................................................74 Chapter 4: Location, Location, Location......................................75 Where Am I?.........................................................................................75 Building the LocationManager Object........................................................76 Look Up, Wave, the Satellites Are Watching….........................................77 Google Maps..........................................................................................80 A Metric Ton of Map Objects.....................................................................80 Moving the Map..........................................................................................82 Taking Stock................................................................................................84 It’s a Bird, It’s a Plane...Nope, It’s Bad Photoshoping...............................84 Wrapping Up...............................................................................................87 Chapter 5: Taking Android Out for a Walk...................................89 Loading a List from the Web................................................................89 First Things…First?....................................................................................90 Getting the Network in Gear.......................................................................92 Android Essentials iii Putting the Data in Its Place........................................................................94 Making a List and Checking It….........................................................95 The Setup: Embracing the List....................................................................95 Adding the Adapter.....................................................................................96 Stuffing Data into the Adapter....................................................................98 At Last, Adding the Data.............................................................................99 Selection…................................................................................................100 The Next Step......................................................................................102 Dressing Up the Menu...............................................................................102 Looking Back......................................................................................106 Chapter 6: Tying on a Bow......................................................107 The Making of an Application...........................................................107 Looks Aren’t Everything, Except, of Course, When They Are................107 Location Isn’t Too Important, Except When You Need Pizza at 4 a.m....108 Taking Off Android’s Leash and Letting It Romp Around the Internet...109 Overall.......................................................................................................109 Other Sources of Information............................................................109 Getting Help..............................................................................................110 It’s Time to Stop Reading and Start Helping.....................................110 Copyright...............................................................................112 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: E-book
 输入关键字,在本站1000多万海量源码库中尽情搜索: