Foreword / How to read this doc. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Introduction................................................................................ 6 What is Android\u2013 a GPhone?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Openness................................ ................................ ................................ ....... 8 All applications are created equal................................ ................................ . 9 Breaking down application boundaries................................ ......................... 9 Fast & easy application development................................ ........................... 9
Activity................................ ................................ ................................ ......... 15 Intent Receiver................................ ................................ ............................ 17 Service................................ ................................ ................................ ......... 17 Content Provider................................ ................................ ......................... 18
<manifest>................................ ................................ ................................ ... 25 <uses-permission>................................ ................................ ....................... 25 <permission>................................ ................................ ............................... 25 <instrumentation>................................ ................................ ....................... 25 <application>................................ ................................ ............................... 25
<meta-data>................................ ................................ ................................ 27 <receiver>................................ ................................ ................................ .... 27 <service>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 <provider>................................ ................................ ................................ ... 28
List of resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Using resources in code................................ ................................ ............... 30 Referencing Resources................................ ................................ ................ 31
Finding XML-defined Views in Java-Code................................ .................... 52 Handling Clicks to Views................................ ................................ .............. 53 Returning values from SubActivities................................ ........................... 56
Leave a Comment