Detailed explanation of Android Network Development Technology

Source: Internet
Author: User

Details on Android Network Development Technology
Basic Information
Author: Zhu Guiying
Series name: Android mobile Development Technology series
Press: Electronic Industry Press
ISBN: 9787121173493
Mounting time:
Published on: February 1, August 2012
Start: 16
Page number: 548
Version: 1-1
Category: Computer> Software and programming> mobile development> android

 
 

For more information, details about Android Network Development Technology
Introduction
Books
Computer books
This topic describes how to develop android network applications based on the underlying principles, based on real cases, this article introduces the use of basic Android components and the entire process of application development. This book introduces the basic components of the Android platform and guides readers to develop large-scale applications with clear structure and concise language.
The book is divided into 18 chapters, this section describes the work to be done before Android development, the necessary web development technology, the basics of HTML 5, the necessary technologies for developing web pages in the Android system, HTTP Communication processing, URL address processing, webKit, Wi-Fi, Bluetooth, mail, and RSS applications. At the end of this book, four large-scale integrated instances are used to describe the basic process of developing the network video player system, RSS reader system, mail system, and traffic monitoring system, describes the general process of developing a large Android system.
The detailed description of Android Network Development Technology is informative, informative, and case-based. It can be used as a reference for beginners and programmers in this field.
Directory
Details on Android Network Development Technology
Chapter 2 familiar and unfamiliar Android 1
1.1 What happened in the past few years 1
1.2 came to the big stage of the smart phone world 2
1.2.1 What is smart phone 2
1.2.2 age 2
1.3 is more than just a group of wolf tactics. 3.
1.3.1 advantage 1-Department of fame 3
1.3.2 advantage 2-powerful Development Team 4
1.3.3 advantages 3-attractive reward mechanism 4
1.3.4 advantage 4-Open Source 4
1.4 build an Android Application Development Environment 5
1.4.1 system requirements for installing Android SDK 5
1.4.2 install JDK, eclipse, and Android SDK 5
1.4.3 set Android SDK home 13
1.4.4 verification theory 14
1.4.5 create an android Virtual Device (AVD) 15
1.4.6 start AVD simulator 16
Chapter 18 always ready
2.1 Analysis on Android Installation File 18
2.1.1android SDK directory structure 18
2.1.2android.jar and internal structure 19
2.1.3 tips for reading SDK documentation 20
2.1.4 not a simple SDK tool 22
2.2 Example Teaching 23
2.3android System Architecture Analysis 27
2.3.1android architecture 27
2.3.2android application project file composition 30
2.3.3 application lifecycle 33
Chapter 1 required Web Development Technology 36
3.1 familiar HTML 36
3.1.1html preliminary 36
3.1.2 text font 37
3.1.3 mark 40
3.1.4 essential area and paragraph marking 41
3.1.5 tables are especially important 43
3.1.6 form and dynamic correlation 46
3.2 powerful XML technology 49
3.2.1xml overview 50
3.2.2 syntax is the foundation 50
3.2.3 retrieve XML Document 51
3.3css makeup 53
3.3.1 basic syntax 53
3.3.2css attribute 54
3.3.3 no rules, less than 56 square meters
3.4javascript can help you get started 57
3.4.1javascript syntax 57
3.4.2javascript operator 58
3.4.3loop statement 59 in Javascript
3.4.4javascript function 61
3.4.5javascript event 64
Chapter 4 HTML 5 strong attack 66
4.1 determine the future trend 66
4.1.1 long history 66
4.1.2 unparalleled experience 67
4.2 video processing 67
4.2.1 magic mark 68
4.2.2 marked attributes 69
4.3 No audio problems 73
4.3.1 mark 73
4.3.2 marked attributes 74
4.4 one request cannot accept 77
4.4.1 mark 77 using [canvas]
4.4.2html Dom canvas object 78
4.4.3canvas test tool 79
4.5web storage is a more shocking feature 84
4.5.1 what is Web storage 84
4.5.2 profound impact 84
4.5.3html 5 Two Storage Methods 85
4.6 brand new Form 87
4.6.1 brand new input type 87
4.6.2 brand new form Element 91
4.6.3 brand neW fOrm attributes 94
Chapter 5 start work 5th
5.1 preparations 101
5.1.1 web space 101 required
5.1.2 example 103
5.1.3 control page scaling by 107
5.2 add CSS to dress up 108
5.2.1 Step 1: set the basic style 108
5.2.2 Step 2: Add visual effects 110
5.3javascript makes the page more exciting 111
5.3.1 introduction to useful jquery frameworks 111
5.3.2 more brilliant after jquery is used 113
5.4ajax brings a beautiful 115
5.5 more beautiful with animations 122
5.5.1 thanks to jqtouch's help 122
5.5.2 a simple application 122
Chapter 2 HTTP Communication processing 6th
6.1 first talk about network communication in Java 131
6.1.1java network communication 131
6.1.2socket and serversocket are a 134 pair.
6.1.3 Is the end time 139
6.2http communication 143
6.2.1http overview 143
6.2.2 protocol function 144
HTTP 144 in 6.2.3android
6.3apache interface is an intermediary 145
6.3.1apache interface basics 145
6.3.2apache 146
6.3.3apache application highlights 153
6.4 standard intermediary-Java interface 162
6.4.1ip address 162
6.4.2url 163
6.4.3 socket class 164
6.4.4urlconnection class 165
6.4.5 use java.net 166 in Android
6.5 use Android Network Interface 168
6.6 pass the HTTP parameter 169 on the mobile phone screen
6.6.1 design philosophy 169
6.6.2 implementation 169
Chapter 4 processing URL address 7th
7.1url class 174
7.1.1 most fundamental URL class 174
7.1.2urlconnection in Android 183
7.2 httpurlconnection 191 with full access
7.2.1httpurlconnection function 191
7.2.2 use httpurlconnection 194 in Android
Chapter 2 WebKit King 8th
8.1webkit directory structure 201
8.2 Ding jieniu WebKit 203
8.2.1 overall framework 203
8.2.2 top Java layer 203
8.2.3 C layer 206 at the bottom
8.3 WebKit operations: 208 in three steps
8.3.1 Step 1: Initialize WebKit 208
8.3.2 Step 2: load data 210
8.3.3 Step 3: refresh the drawing 211
8.4webview is the top priority 212
8.4.1 analysis webview 212
8.4.2webview function 213
8.4.3 two ways to implement webview 214
8.4.4webview common functions 217
8.4.5 web browsing rehearsal 225
8.4.6 loading the HTML program 227
8.4.7 JavaScript program loading walkthrough 228
Chapter 2 magic Wi-Fi 9th
9.1 micro-service, private access, Wi-Fi system, 233
9.1.1 enable Wi-Fi 233 in Android
9.1.2 Analysis Hierarchy 234
9.1.3 search for difference 235
9.2 long analysis Source Code 236
9.2.1 some local source code is behind-the-scenes hero 236
9.2.2jni mediation section 240
9.2.3 high-performance Java framework section 241
9.2.4 visible Settings section 243
9.3 our task 244
9.3.1 powerful wifimanager class 244
9.3.2 start action 248
Chapter 2 Development of Bluetooth applications 10th
10.1 what is Bluetooth 260?
10.1.1 long journey 260
10.1.2 Bluetooth features 260
Bluetooth 261 in 10.1.3android
10.2 continue to the bottom layer 261
10.2.1 Bluetooth hierarchy 261
10.2.2differences between Bluetooth in Android and Linux: 263
10.3 source code analysis is the best way to learn about open source. 264
10.3.1 initialize Bluetooth Chip 264
10.3.2 Bluetooth service 265
10.3.3 manage Bluetooth power 266
10.4 inseparable class 266
10.4.1425thsocket class 266
10.4.2425thserversocket class 267
10.4.3366thadapter class 268
10.4.4425thclass.service class 275
10.4.5425thclass.device.major class 276
10.4.6425thclass.device class 276
10.4.7425thclass class 277
10.5 application started 279
10.5.1 use the thadapter class 279
10.5.2 use the thsocket class 281
10.6 useful summary 284
10.7 develop a remote control program 289
Chapter 4 emails make the world smaller by 11th
11.1 simplest way to develop email applications 299
11.1.1 configure Android mail client 299
11.1.2 implement email notification 302 by email when sending text messages
11.1.3 automatic email notification 306 upon incoming call
11.1.4 A Simple Mail System 308
11.1.5 call built-in Gmail to send mail 313
11.1.6 other ways to process emails 317
11.2 use smsmanager to send and receive emails 319
11.2.1 what is smsmanager 319
11.2.2 a simple email sending program 321
11.3 seek foreign aid 327
11.3.1 send mail 327 with commons-mail.jar
11.3.2 use mail. jar and activation. jar to receive and send emails 330
11.3.3 using commons-email.jar and mail. jar in Android 337
Chapter 5 RSS is a force from the network 12th
12.1 get to know RSS 339
12.1.1rss usage and reader introduction 339
12.1.2 study RSS syntax 340
12.2 learning the sax technology 341
Principle of 12.2.1sax 341
12.2.2 object-based and event-based interfaces 342
12.2.3 common interfaces and classes 343
12.3 develop an RSS program 346
Chapter 2 Typical android network application practices 13th
13.1 play MP3 362 online
13.2 remote download of ringtones 369
13.3 upload files to remote server 376
13.4 remote download system 380
13.4.1 APK 380
13.4.2 implementation 383
13.5 develop Weibo client 389
13.5.1 introduction to basic knowledge 389
13.5.2 Weibo development technology 390
13.5.3 implementation 391
Chapter 2 Network Video Player System 14th
14.1mediaplayer video technology 399
14.1.1mediaplayer basics 399
14.1.2mediaplayer 399
14.1.3 interface 402
14.1.4 constant 403
14.1.5 common method 403
14.2videoview is also important 405
14.2.1 Construction Function 405
14.2.2 common method 405
14.3 Network Video Player System 407
14.3.1 layout file 407
14.3.2 main program file 408
Chapter 2 Integrated email system 15th
15.1 Project Introduction 417
15.1.1 background 417
15.1.2 project objective 417
15.2 System Requirement Analysis 418
15.2.1 component 418
15.2.2 system process 420
15.2.3 function structure 420
15.2.4 system functions 421
15.2.5 system requirement 421
15.3 data storage design 421
15.3.1 user information 422
15.3.2sharedpreferences class 426
15.4 specific code 428
15.4.1 welcome page 429
15.4.2 System Main Interface 432
15.4.3 mailbox type setting 440
15.4.4 mailbox charge settings 443
15.4.5 email sending setting 449
15.4.6 email user check 455
15.4.7 set user alias 460
15.4.8 user email editing 464
15.5 hard work summary 471
Chapter 2 RSS reader system 16th
16.1 implementation process 472
16.2 specific implementation 472
16.2.1 entity class 473
16.2.2 main. Java 476 main program file
16.2.3 implement contenthandler interface 478
16.2.4 main program page showdescription. Java 481
16.2.5 main. xml 483, main layout page
16.2.6 showdescription. xml 483
Chapter 1 traffic monitoring system 17th
17.1 traffic statistics base 486
17.1.1trafficstats class 486
17.1.2 Summary of the traffic statistics function 487
17.2 network traffic firewall 491
17.2.1 System Requirement Analysis 492
17.2.2 specific system requirements 492
17.2.3 write layout file 493
17.2.4 compile the main program file 495
Chapter 4 packaging, signing, and publishing 18th
18.1 apply for membership 527
18.2 generate a signature file 529
18.3 use the signature file 535
18.4 release 538

This book is from: 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.