Practical Android Application Development

Source: Internet
Author: User

Practical Android Application Development
Basic Information
Author: Li ou [Translator's introduction]
Press: Tsinghua University Press
ISBN: 9787302288640
Mounting time:
Published on: February 1, August 2012
Start: 16
Page number: 1
Version: 1-1
Category: Computer> Software and programming> mobile development> android

 
 

For more information, practical Android Application Development
Introduction
Books
Computer books
Android Application Development introduces the main technologies of Android Application Development in detail through development examples and project cases. Every knowledge point in the book is easily explained through common examples, so that readers can quickly master the knowledge of Android Application Development and quickly develop Android applications. This book is equipped with a CD, which includes the teaching video of the key content of this book and all the source code involved in this book.
The "Practical Android Application Development" is divided into 11 chapters, starting with the basic knowledge of Android, the basic knowledge of Android Application Development, including interface layout, program features, data storage, network communication, multimedia, SMS calls, sensors, and GPS, is gradually explained through examples, then, we introduced the android ndk development and other extended knowledge, and finally introduced the comprehensive case of File Manager and Weibo client, so that readers can integrate the knowledge they have learned and improve the practical development level.
Practical Android Application Development is suitable for beginners of Android and new users of mobile development who have certain Java basics. Readers who have a certain degree of foundation can use this book to further understand the key knowledge and concepts of Android Application Development. This book is a good teaching material for students in colleges and universities and training courses.

Directory
Practical Android Application Development
Chapter 2 Android BASICS (tutorial video: 38 minutes) 1
1.1 Android Introduction 1
1.1.1 Android Development History 1
1.1.2 Platform Architecture and features 2
1.2 build a development environment 5
1.2.1 download and install Java 5
1.2.2 download Android SDK 7
1.2.3 download and install eclipse 8
1.2.4 eclipse configuration 8
1.3 first Android app 13
1.3.1 create an android project 13
1.3.2 run and debug Android project 17
1.4 project directory structure and function 22
1.5 Conclusion 25
1.6 exercise 26
Chapter 4 Android Interface Design (tutorial video: 49 minutes) 27
2.1 interface design principles and procedures 27
2.1.1 Interface Design Principles 27
2.1.2 basic interface design process 28
2.2 interface development tool droiddraw 28
2.2.1 install droiddraw 28
2.2.2 simple use of droiddraw 29
2.3 basic layout in Android layout 31
2.3.1 never change-frame layout (framelayout) 31
2.3.2 sugar gourd-linear layout (linearlayout) 33
2.3.3 -table layout (tablelayout) 34
2.3.4 where I am going -- absolute layout (absolutelayout) 36
2.3.5 my adjacent table-relative layout (relativelayout) 38
2.3.6 divide and conquer -- switch the card (tabwidget) 39
2.3.7 you have a half-covering face-rolling view (scrollview) 41
2.3.8 list (listview) 44
2.4 Android integrated interface Example 47
2.4.1 logon page 47
2.4.2 weight calculator 52
2.4.3 album 56
2.4.4 four cells 59
2.5 common special effects in Android 63
2.5.1 scroll text 63
2.5.2 vibration effect 64
2.5.3 image effects 65
2.6 Android themes and styles 69
2.7 summary of this Chapter 73
2.8 Exercise 73
Chapter 5 Android Application features (tutorial video: 3rd minutes) 75
3.1 activity -- activity 75
3.1.1 landscape switching 75
3.1.2 call 79
3.1.3 Activity Summary 84
3.2 service -- service 85
3.2.1 create service 85
3.2.2 starting service 88
3.2.3 Service binding method 90
3.2.4 service summary 92
3.3 broadcastreceiver -- broadcast 92
3.3.1 custom broadcast 92
3.3.2 System broadcast-SMS broadcast 96
3.3.3 Summary of broadcast receivers 99
3.4 Message Processing 99
3.4.1 progress bar update 100
3.4.2 search for SD card file 103
3.4.3 Summary of asynchronous processing 106
3.5 summary 107
3.6 exercise 107
Chapter 2 Android data storage (tutorial video: 4th minutes) 137
4.1 Data Storage Method 109
4.2 sharedpreference 109
4.2.1 automatically save login information 109
4.2.2 multi-application sharing user information 113
4.3 file storage 114
4.3.1 file storage and reading 115
4.3.2 saving and reading SD card files 118
4.3.3 file storage summary 121
4.3.4 copy files to SD card 122
4.4 database storage 127
4.4.1 creation and deletion of the student information database 128
4.4.2 create and delete a student information table 133
4.4.3 addition, deletion, modification, and query of Student Information 136
4.5 diary 142
4.5.1 write a diary 142
4.5.2 main interface 148
4.5.3 read the modification log 152
4.5.4 daily summary 157
4.6 network storage 157
4.6.1 system email settings 157
4.6.2 send email 158
4.6.3 operation analysis summary 159
4.7 Data Sharing 160
4.7.1 shared library information 160
4.7.2 contentprovider 161
4.7.3 contentresolver 167
4.7.4 operation analysis summary 168
4.8 system address book 169
4.8.1 saving the system address book 170
4.8.2 obtain the contact information of the address book 172
4.8.3 display Address Book Contact 177
4.9 summary 180
4.10 exercise 180
Chapter 2 Android Network Communication (tutorial video: 5th minutes) 116
5.1 network communication method 183
5.2 Android-controlled PC shutdown 184
5.2.1 PC Server 184
5.2.2 Android console 187
5.2.3 Summary of running analysis 188
5.3 Android instant chat 189
5.3.1 Android receiver 190
5.3.2 Android sender 192
5.3.3 Summary of running analysis 193
5.4 query mobile phone locations 195
5.4.1 GET request 195
5.4.2 POST request 197
5.4.3 show result 200
5.4.4 conclusion 203
5.5 weather forecast 204
5.5.1 obtain weather 204
5.5.2 XML file parsing 206
5.5.3 The result shows 212
5.5.4 conclusion 213
5.6 online translation 213
5.6.1 Web Service 214
5.6.2 web service call 215
5.6.3 conclusion 219
5.7 simple browser 219
5.7.1 browse webpage 219
5.7.2 webpage event handling 222
5.7.3 webpage photo 224
5.7.4 analysis and summary 226
5.8 WiFi Management 227
5.9 Bluetooth chat 231
5.9.1 Bluetooth search 231
5.9.2 chat communication 235
5.9.3 conclusion 239
5.10 summary 240
5.11 exercise 240
Chapter 2 Android multimedia (tutorial video: 79 minutes) 6th
6.1 music player 242
6.1.1 playlist 243
6.1.2 playing music 244
6.1.3 operation analysis summary 249
6.2 chatbots 249
6.2.1 Voice Recording 250
6.2.2 robotics session 254
6.2.3 Summary of Operation Analysis 255
6.3 Video Player 255
6.3.1 multimedia playback 256
6.3.2 Video View: videoview 260
6.3.3 video playback summary 261
6.4 camera 262
6.4.1 System camera 262
6.4.2 simple camera 265
6.4.3 photo summary 274
6.5 stripe code 274
6.5.1 stripe code recognition database 274
6.5.2 obtain the stripe code 278
6.5.3 stripe code summary 284
6.6 Summary 284
6.7 exercise 284
Chapter 4 mobile phone communication function development (tutorial video: 7th minutes) 100
7.1 text message export 286
7.1.1 saving of system SMS 286
7.1.2 export SMS 288
7.1.3 analysis conclusion 294
7.2 SMS sending and receiving software 294
7.2.1 SMS firewall 294
7.2.2 system sends SMS 297
7.2.3 directly send SMS 299
7.3 voice calls 303
7.3.1 outbound call 303
7.3.2 call firewall 305
7.4 desktop memo 310
7.4.1 desktop implementation 311
7.4.2 add content 314
7.4.3 widget running 315
7.5 summary 317
7.6 exercise 317
Chapter 4 sensor and GPS application development (tutorial video: 24 minutes) 8th
8.1 access sensor 319
8.1.1 world coordinate system 320
8.1.2 rotating coordinate system 320
8.1.3 obtain the sensor list (requires a real machine) 321
8.1.4 compass application (real machine version) 322
8.1.5 compass application (Simulator version) 326
8.1.6 pedometer application 331
8.2 GPS application 336
8.2.1 get 337 from GPS Position
8.2.2 GPS tag display 345
8.2.3 test the distance between two points in mapview: 353
8.3 draw trajectory on mapview 361
8.3.1 trajectory Drawing description 362
8.3.2 Use Google Earth to generate a kml file 362
8.4 base station applications 370
8.4.1 base station signal strength 370
8.4.2 base station location 373
8.5 summary 376
8.6 exercise 377
Chapter 2 Android ndk Development (tutorial video: 46 minutes) 9th
9.1 build an ndk development environment in Windows 378
9.1.1 download Android ndk 378
9.1.2 download and install cygwin 380.
9.1.3 verification of ndk environment 384
9.1.4 install C/C ++ development tool under eclipse 387
9.1.5 install Sequoyah plug-in 389 in eclipse
9.2 calculator 391
9.2.1 page development 392
9.2.2 local support for ndk 392
9.2.3 call implementation 397
9.2.4 conclusion 400
9.3 plasma image effect 400
9.3.1 ndk 401
9.3.2 establish plasma effect project 401
9.3.3 JAVA Implementation 403
9.3.4 local implementation 403
9.3.5 Run Summary 408
9.4 water ripple effect 409
9.4.1 interaction 409
9.4.2 ndk implementation 412
9.4.3 running analysis 417
9.5 summary 418
9.6 exercise 418
Chapter 4 File Manager (tutorial video: 54 minutes) 10th
10.1 UI resource layout 419
10.2 View class 420
10.2.1 item view 420
10.2.2 file configuration 421
10.2.3 adapter 422
10.2.4 show view 423
10.3 file management 424
10.3.1 traverse the root directory 424
10.3.2 upper-level directory 425
10.3.3 current directory 425
10.3.4 click to select 427
10.4 summary 428
Chapter 4 Weibo client (teaching video: 56 minutes) 11th
11.1 use of open platforms 429
11.1.1 Application Registration 429
11.1.2 SDK use 430
11.2 user management 433
11.2.1 433 user authorization requests
11.2.2 certification webpage 434
11.2.3 data storage 435 returned for authentication
11.2.4 storage of authentication information 436
11.2.5 delete user 437
11.3 Weibo main interface 439
11.3.1 authenticated user login 439
11.3.2 Main Interface Design 440
11.4 user information 442
11.4.1 User Information Acquisition 443
11.4.2 get the user profile picture 444
11.4.3 follow details 446
11.4.4 fans 449
11.5 user message 450
11.5.1 obtain information 451
11.5.2 show comments 451
11.5.3 matching highlighted display 452
11.5.4 comment handling 453
11.6 Weibo homepage 454
11.6.1 unread message 455
11.6.2 Weibo 456
11.6.3 Weibo details 457
11.6.4 released Weibo 459
11.7 summary 462

Source of this book: China Interactive publishing network

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.