Air Android Application Development practices

Source: Internet
Author: User

Air Android Application Development practices
Basic Information
Author: Qiu Yanlin [Translator's introduction]
Press: Machinery Industry Press
ISBN: 9787111391777
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, air Android Application Development practices
Introduction
Books
Computer books
Air Android Application Development practices is written by senior Adobe technical experts and senior Android Application Development engineers. It systematically explains how to use Adobe AIR technology to develop Android applications, I also explained in detail how to port an existing PC-based air application to an Android device. It not only contains a large number of practical cases with strong guiding significance, but also contains a large number of suggestions and best practices. It is a rare reference book for the system to learn about air Android application development.
There are 16 chapters in the book, which are divided into five parts: preparation (1 ~ Chapter 2) describes the basic information needed to be understood before using air to develop Android applications, the establishment of the development environment, and the whole process of a simple air Android application development, this article aims to give readers a clear and comprehensive understanding of air Android application development ~ Chapter 10) systematically and comprehensively explain the air mobile development technology, including the user interaction mode on mobile devices, usage of the accelerator, geographical location functions, integration of system programs, access to device resources, network communication, multimedia, files and databases, etc, and program debugging and publishing; advanced article (11 ~ Chapter 13) with the reference of air desktop application development, this article explains the key and difficulties of Air mobile development, how to design interfaces for mobile devices, and how to improve user experience, and how to improve the performance of the program. The author shares a large number of practical skills and best practices ~ Chapter 15) describes in detail the development process of a game. The flexible combination of air mobile technology and flash Web technology demonstrates the huge potential of Flash technology on mobile platforms; the advanced article (chapter 16th) explains the new feature of air 3.0-local expansion. Local expansion provides strong expansion capabilities for air technology, allowing developers to get rid of the technical limitations of air.

Directory
Air Android Application Development practices
Preface
Article 1 Preparation
Chapter 2 Introduction to air Android development/2
1.1 information required before development/2
1.1.1 feasibility of air Android development/2
1.1.2 FAQs during development/4
1.1.3 advantages and limitations/6
1.2 build a Development Environment/7
1.2.1 install Android SDK/7
1.2.2 use Flash Professional cs5/9
1.2.3 use flash builder 4.5/13
1.2.4 construct an open-source development environment/16
1.3 practice: A simple air project/17
1.4 Summary of this chapter/20
Chapter 2 first air Android program: flipped black and white/21
2.1 game design ideas/21
2.2 write The ActionScript code as usual/23
2.2.1 create a pawn GRID/23
2.2.2 main/24
2.3 set program properties/31
2.3.1 understand the application description file/31
2.3.3 set access permissions/32
2.4 package the APK file/33
2.5 install and run the program/34
2.5.1 run the program using a simulator/34
2.5.2 run the program on the real machine/39
2.6 summary of this chapter/40
Article 2 Basics
Chapter 4 handling user interaction/42
3.1 about multi-touch/42
3.2 handle touch events/43
3.2.1 use the touchevent class/43
3.2.2 differences between touch events and mouse events/47
3.3 handling gesture actions/48
3.3.1 zoom in and out Gestures/49
3.3.2 rotating gesture/52
3.3.3 swipe gesture/53
3.4 summary of this chapter/56
Chapter 4 accelerator/57
4.1 accelerometer API usage/57
4.2 gravity ball instance/59
4.2.1 how to simulate the gravity field/59
4.2.2 draw ball/60
4.2.3 keep the ball under the screen/61
4.2.4 set a wall for the ball/62
4.2.5 run the program after optimizing the code/64
4.2.6 management program status/64
4.3 accelerator: Mobile Phone shake/66
4.4 summary of this chapter/68
Chapter 2 Geographic Positioning/69
5.1 enable the location function of the mobile phone/69
5.2 geolocation API usage/70
5.3 Geographic Positioning practice: Automatic address and weather query/73
5.3.1 query address geocoding/74
5.3.2 query Local Weather/75
5.3.3 code parsing/76
5.3.4 test run/79
5.4 summary of this chapter/83
Chapter 4 integrated system programs/84
6.1 use a custom URI to call system programs/84
6.1.1 dialing Tel/84
6.1.2 send SMS/88
6.1.3 send email mailto/90
6.2 use the built-in map service of Android/92
6.3 use stagewebview to load WebPages/95
6.4 summary of this chapter/100
Chapter 4 multimedia/7th
7.1 use camera/101
7.1.1 traditional camera usage/101
7.1.2 use the cameraui class to call the camera program/103
7.2 use multimedia resources on devices/108
7.2.1 use the cameraroll class to add photos to the system album/108
7.2.2 use the cameraroll class to select a photo/111
7.3 use microphone recording/115
7.4 play video/122
7.4.1 video formats supported by air/122
7.4.2 video playback practice: videoplayer/123
7.5 summary of this chapter/126
Chapter 4 files and databases/8th
8.1 file system API/127
8.1.1 Android file system and program directory structure/127
8.1.2 common file operations/132
8.1.3 file operations in asynchronous mode/134
8.2 SQL database/136
8.2.1 SQLite introduction/136
8.2.2 database connection/137
8.2.3 create a table/138
8.2.4 add, query, update, and delete/141
8.2.5 database practice: Reuse sqlstatement object with query parameters/146
8.3 Summary of this chapter/149
Chapter 2 network communication/9th
9.1 Network Communication Knowledge/150
9.1.1 network communication API/150
9.1.2 air security mechanism/153
9.2 network status detection/154
9.3 socket practice: instant chat tools/157
9.3.1 socket communication process/157
9.3.2 create a server on the desktop/158
9.3.3 construct a Simple Chat Server/160
9.3.4 create a chat client/167
9.4 powerful P2P functions/173
9.4.1 P2P communication model/173
9.4.2 P2P development practices: Live Video/174
9.5 summary of this chapter/179
Chapter 4 debugging and release/10th
10.1 program debugging/180
10.1.1 use ADL to debug programs on the desktop/180
10.1.2 remote connection to the Flash debugger/183
10.1.3 use the android SDK's ddms tool/186
10.2 preparations before release/188
10.2.1 set basic attributes of a program/188
10.2.2 hypervisor version/189
10.2.3 settings for Android devices/190
10.3 publish an APK file/191
10.4 publish the program to the App Store/192
10.4.1 released to Google Play store/192
10.4.2 released to Android Market/195
10.5 summary of this chapter/196
Article 3 advanced
Chapter 2 Program Design for mobile devices/11th
11.1 Design Interface/198
11.1.1 automatically adapt to different models of screens/198
11.1.2 friendly user interaction/202
11.1.3 effective interface layout/204
11.2 management program status/207
11.2.1 monitoring program status/208
11.2.2 practice: automatically save the playback position/211
11.3 cross-platform development/215
11.3.1 considerations for cross-platform development/215
11.3.2 tips: Use the compilation parameter to be compatible with multiple platforms/217
11.4 summary of this chapter/219
Chapter 2 Keyboard interaction/12th
12.1 keyboard interaction on Android devices/220
12.1.1 physical buttons on Android devices/220
12.1.2 listen to Keyboard Events/222
12.2 practice: Use the menu key to simulate Android menus and behaviors/224
12.2.1 create a menu object/224
12.2.2 associated button action/228
12.3 back Key Usage/232
12.3.1 practice: Use the back key for page navigation/233
12.3.2 use the back key to automatically close the program/238
12.4 summary of this chapter/239
Chapter 2 Performance Optimization/13th
13.1 understand the operating mechanism of ActionScript 3.0/240
13.1.1 features of ActionScript 3.0/240
13.1.2 about the garbage collection mechanism/243
13.2 optimization from programming details/246
13.2.1 use the most appropriate data type and API/246
13.2.2 resource recovery and release/249
13.2.3 instance: code optimization process/251
13.3 common tools and code libraries/253
13.3.1 code optimization using flexpmd/254
13.3.2 performance debugging tool profiler/255 of Flash Builder
13.3.3 third-party debugging tool monster debugger/258
13.4 optimization skills case study/260
13.4.1 use the render event to reduce code execution/260
13.4.2 build object pool reuse object: dynamic ball instance/265
13.4.3 use of asynchronous events: Search SD card/270
13.5 summary of this chapter/274
Article 4 practice
Chapter 2 preparation stage of a maze game/14th
14.1 requirement analysis/276
14.1.1 game rules/276
14.1.2 Implementation of game functions/277
14.2 analysis of technical points/277
14.2.1 how to achieve physical performance/278
14.2.2 how to generate a map/279
14.3 box2d physical engine/279
14.3.1 basic concepts in box2d/280
14.3.2 sample program hellobox2d/280
14.3.3 Collision Effect/285
14.4 maze MAP algorithm/287
14.4.1 Problem Analysis/287
14.4.2 detailed explanation of backtracking method/288
14.4.3 code implementation/290
14.5 summary of this chapter/296
Chapter 5 Implementation of a maze game/15th
15.1 create a maze MAP/297
15.1.1 map with physical attributes/297
15.1.2 add random obstacle/300
15.2 Add a "Walking" role/302
15.2.1 create ball/302
15.2.2 use the accelerator to control the movement of the ball/303
15.2.3 Crash Detection/304
15.3 game Status control/306
15.3.1 automatic pause and recovery/306
15.3.2 level setting/308
15.4 game code analysis/309
15.4.1 program class/309
15.4.2 explanation of the main program game class/310
15.5 summary of this chapter/320
Article 5 advanced
Chapter 2 local air expansion/16th
Features of 16.1 ane/322
16.2 a simple local extension/323
16.2.1 build a Development Environment/323
16.2.2 compile local code/324
16.2.3 write ActionScript code/329
16.2.4 packaging and publishing/332
16.2.5 use local extension/334 in the program
16.3 ane advanced practices/337
16.3.1 intent mechanism: share information to social networking websites/337
16.3.2 system notification/342 displayed on the top Status Bar
16.4 summary of this chapter/347

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.