Beginning Android Programming: Develop and Design
Beginning Android Programming: Develop and Design
Beginning Android Programming: Develop and Design
Programming
Android Studio 4
Configuring Devices 9
Eclipse 18
Android Studio 19
Wrapping Up 21
The Manifest 24
Manifest Registration 37
Adding an Intent 38
CONTENTS
The Default Application Declaration 45
Wrapping Up 47
Creating a View 50
Resource Management 62
Values Folder 64
Layout Folders 64
Drawable Folders 65
Layout Management 66
The ViewGroup 66
The AbsoluteLayout 68
The LinearLayout 70
The RelativeLayout 76
Wrapping Up 81
Watchdogs 85
What Not to Do 86
The AsyncTask 89
The IntentService 94
Declaring a Service 94
Fetching Images 95
CONTENTS vii
Checking Your Work 99
Wrapping Up 100
ListView 104
Adapter 104
Wrapping Up 121
Communication 125
Wrapping Up 138
viii CONTENTS
The Full Screen Define 148
Wrapping Up 153
Cleanup 161
Music 162
Cleanup 163
Cleanup 174
Interruptions 174
Wrapping Up 175
CONTENTS ix
Getting the Goods 179
Wrapping Up 189
Wrapping Up 209
onCreate 213
FragmentPagerAdapter 215
DummyFragment 217
onCreate 218
Wrapping Up 223
X CONTENTS
CHAPTER 12 PUBLISHING YOUR APPLICATION 224
Packaging and Versioning 226
Versioning 227
Wrapping Up 233
Wrapping Up 245
Index 246
CONTENTS XI