Complete handouts for Android/ophone Development

Source: Internet
Author: User

Complete handouts for Android/ophone Development

Basic Information

Author: Li Ning
Press: China Water Conservancy and hydropower Press
ISBN: 9787508475271
Mounting time: 2010-7-1
Published on: February 1, June 2010
Start: 16
Page number: 466
More exciting information Address: http://www.china-pub.com/196865
More wonderful sample preemptive trial read: http://www.china-pub.com/computers/common/mianfeisd.asp? Id = 196865

Edit recommendations

Android Development Guide with the widest coverage in China
First reference manual involving both Android and ophone technologies in China
The book covers important features of the five major Android versions from Android 1.5 to Android 2.1
Provides a perfect environment for over 200 actual cases
A large amount of valuable code can be directly used for actual projects.
First-line developers work to bring the content of the book closer to practice
Comprehensive application cases, combining theory with practice

Wonderful comments:

I ordered it on the 1st and sent it on the 2nd. It was fast enough. I thought it was a good book after reading the sample chapter.

Good content and low prices! Finally met a conscientious publisher.

The book has finally arrived. Yeah, reading the first few chapters, it feels good. Examples are rich and detailed. The book covers almost every detail of Android. Reading in detail. Wait until you have read it.

The Perpetual calendar example is really good, with clear thinking and common humor. Thank you, Miss Li.

This book is the most comprehensive Android book in the catalog, and it is not expensive. I plan to buy it for you.

Directory

Contents
Preface
Example of how to use this book
The first part of preparation-the army is not moving, and the grain and grass are the first
Chapter 2 Android 2
1.1 Basic concepts of Android 2
1.2 build an android Development Environment 5
1.3 Common command line tools in Android SDK 8
1.4 Android 10 on PC
......
Chapter 14 first Android Program 14
2.1 compile a program for displaying the current date and time 14
2.2 debugging program 18
2.3 signing and publishing applications 18
2.4 ddms perspective 20
2.5 Chapter 21
Part 2 basics-a wonderful tour of the Android world
Chapter 2 Android Application Architecture 23
3.1 resources in Android applications 23
3.2 Android Application Component 25
3.3 androidmanifest. xml file structure 26
3.4 chapter 27
Chapter 2 user interface creation 28
4.1 create, configure, and use activity 28
Example 1: demonstrate activity lifecycle 31
4.2 view 33
Example 2: hybrid use of XML layout files and code to control the view 37
Example 3: custom components-textview 39 with images
Example 4: custom components -- edittext 42 with text labels
Example 5: custom components-pointer clock with replaceable dial 44
4.3 create a dialog box using the alertdialog class 49
Instance 6: Create a confirmation/Cancellation dialog box asking whether to delete the file 50
Instance 7: Create overwrite/ignore/cancel dialog box 51
Instance 8: create a list of three provinces dialog box 54
Instance 9: horizontal progress dialog box and circular progress Dialog Box 58
......
Chapter 4 component details 84
5.1 text display and editing components 84
5.1.1 text display component: textview 85
Example 18: display the URL in textview and
Font size, text of different colors 86
Instance 19: textview 88 with borders
5.1.2 input text component: edittext 89
Instance 20: enter a specific character 90 in edittext
Instance 21: Press enter to display edittext 91
5.1.3 automatically complete the input component: autocompletetextview 92
......
Chapter 2 mobile storage solution 6th
6.1 The simplest data storage method:
Sharedpreferings 129
6.1.1 using sharedpreferences to access data 129
6.1.2 data storage location and format 131
Instance 35: Access 131 of complex data types
6.1.3 set the data file access permission 133
6.1.4 you can save the set activity:
Preferenceactivity 134
6.2 file storage 137
6.2.1 openfileoutput and openfileinput Methods 137
Example 36: SD card file browser 138
Example 37: Access image 142 in the SD card
......
Chapter 4 Communications between applications 7th
7.1 intent and activity 166
7.1.1 start the activity with intent and
Data transfer between activities: 166
7.1.2 call activity in other applications (call
Telephone, Webpage Browsing, email sending, etc.) 169
7.1.3 customize your own activity action 172
Example 42: Share the electronic dictionary query function
An activity action 174
......
Chapter 2 Android services 8th
8.1 service started 182
8.1.1 service lifecycle 182
8.1.2 bind activity and service 185
8.1.3 enable service 187 in broadcastreceiver
8.2 System Service 188
8.2.1 obtain system service 188
Instance 47: Listen for phone calls 189
Instance 48: Incoming call blacklist 190
......
Chapter 2 network 9th
9.1 components that can load network data 214
Instance 54: load network images to listview
Component 215
Example 55: Google image gallery (Gallery) 217
9.2 webview component 221
9.2.1 use webview components to browse Web page 221
Instance 56: mobile browser 221
9.2.2 use the webview component to load HTML code 222
Example 57: integrate an English dictionary into a web page
(JavaScript calls Java method) 224
......
Chapter 2 multimedia 10th
10.1 graphics 237
10.1.1 basics of drawing 237
Example 61: draw basic graphics and text 239
10.1.2 draw a bitmap 243
Example 62: Draw bitmap 243 in two ways
Part 3: Advanced Study-deep into the hinterland of the Android world
Chapter 2 2D animation 11th
11.1 Frame Animation 267
Animationdrawable and Frame Animation 267
Example 69: Play GIF animation 269 through Frame Animation
Instance 70: a subset of Video Frames played at 271.
11.2 tween animation 273
11.2.1 Motion Compensation animation 273
Example 71: cyclically move the edittext to the right and the bounce ball 275
......
Chapter 2 OpenGL ES programming 12th
12.1 OpenGL introduction 288
12.2 construct the basic development framework of OpenGL ES 289
12.3 2D drawing 290
......
Chapter 2 resources, internationalization and adaptability 13th
13.1 resources in Android 299
13.1.1 how to store resources in Android 300
13.1.2 300 types of resources
13.1.3 resource file name 301
13.2 define and use resources 301
......
Chapter 1 hardware access to Android 14th
14.1 test hardware on mobile phone 322
14.1.1 install Android USB driver 322
14.1.2 test program on mobile phone 324
14.1.3 debug program 324 on mobile phone
......
Chapter 1 gadgets on the desktop 15th
15.1 widgets 343
15.1.1 add on Android Desktop
APP widget 343
15.1.2 step 344 of APP widget Development
Instance 78: Digital Clock 346
15.1.3 appwidgetprovider class 348
15.1.4 add and configure activity 349 to the app widget
......
Chapter 2 ndk programming 16th
16.1 introduction to Android ndk 357
16.2 install, configure, and test the ndk Development Environment 358
16.2.1 system and software requirements 358
16.2.2 download and install Android ndk 358
16.2.3 download and install cygwin 359.
16.2.4 configure the android ndk Development Environment 361
16.2.5 examples of compiling and running ndk 362
......
Chapter 5 integrate Android and script language 17th
17.1 introduction to the android script environment 372
17.2 Android script environment installation 373
17.3 write and run Android script 374
17.4 summary of this Chapter 376
Chapter 2 new features of the Android platform 18th
18.1 New Features of Android 377
18.2 Android framework API evolution 379
18.3 live wallpapers (Android 2.1) 380
18.4 complementary animation Renderer (Android 1.6) 387
18.5 summary of this Chapter 389
Chapter 2 alternative input and output 19th
19.1 gesture 390
19.2 let the mobile phone talk (TTS) 395
19.3 Summary of this chapter 396
Chapter 2 Bluetooth 20th
20.1 Bluetooth introduction 397
20.2 enable and disable the bluetooth device 398
20.3 search for Bluetooth devices 398
20.4 Bluetooth socket 400
20.5 obex server 402
20.6 summary of this Chapter 403
Part 4 ophone-entering the ophone world
Chapter 4 ophone introduction 21st
21.1 ophone platform overview 405
21.2 build an ophone Development Environment 407
21.3 debug the program on the real machine 408
21.4 summary of this chapter 410
Chapter 2 ophone API extension 22nd
22.1 Video Phone 411
22.2 search API 413
22.3 summary of this chapter 414
Chapter 2 Jil widget development details 23rd
23.1 compile the first Jil widget program 415
23.2 multimedia 417
23.3 operating file 418
23.4 obtain system information 422
23.5 control hardware 425
23.6 summary of this Chapter 427
Part 5 comprehensive example -- practice is the only criterion for truth testing
Chapter 2 Perpetual calendar 24th
24.1 Main Interface Design and Implementation 429
24.2 option menu function 443
24.3 calendar 444 which can write diaries and reminders
24.4 summary of this chapter 454
Chapter 2 Google Gtalk robot 25th
25.1 Gtalk communication protocols and technologies 455
25.2 log on to Gtalk: Login class 456
25.3 contact information 458
25.4 communication between contacts 461
25.5 summary of this Chapter 466

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.