Android development examples

Source: Internet
Author: User

Android Development Instance Overview
Basic Information
Author: Wang Donghua
Series name: Android mobile Development Technology series
Press: Electronic Industry Press
ISBN: 9787121173172
Mounting time:
Published on: February 1, August 2012
Start: 16
Page number: 732
Version: 1-1
Category: Computer> Software and programming> mobile development> android

 
 


For more information, see Android development examples.
Introduction
Books
Computer books
With the development of Android applications as the topic, "android Development Instance Daquan" describes the use of basic Android components and the entire process of application development in detail based on real cases. This book covers almost all projects related to Android applications. The book is divided into 17 chapters, examples of UI layout, control instances, automation service instances, data storage instances, telephone and SMS instances, graphics and image instances, network-related instances, and multimedia instance collection, Google map instance collection, Google API instance collection, tablet application instance collection, game application and program optimization. At the end of this book, I introduced the basic process of developing a mobile phone map system, a music player system, an NBA shot shooting game, and an integrated email system through four large-scale comprehensive examples.
The android Development Instance book is informative and informative, with rich instances and real cases. It is suitable for different users of Android program development. It can be used as a reference for beginners, it can also be used as a reference for programmers in this field.
Directory
Android Development Instance Overview
Chapter 2 UI layout Development Instance highlights 1
Instance 001: Use linearlayout to deploy Screen 1
Instance 002: Use relativelayout to layout Screen 3
Instance 003: Use tablelayout to layout screen 5
Instance 004: use absolute layout (absolutelayout) to layout screen 6
Instance 005: Use tablayout to layout the screen 8
Instance 006: layer layout (framelayout) 10
Instance 007: Create a desktop component widget11
Instance 008: implement a button on the screen 12
Example: show text 13 on the screen
Instance 010: The editing Box 17 is displayed on the screen.
Instance 011: show the check box 18 on the screen
Instance 012: Display Singleton 21 on the screen
Instance 013: the drop-down list box 22 is displayed on the screen.
Instance 014: automatically input text on the screen 26
Instance 015: datepicker28 using the date selector Control
Instance 016: automatically selects an input time of 30
Instance 017: automatic screen scrolling 32
Instance 018: implement a progress bar 32
Instance 019: Develop a scoring program 35
Instance 020: a specified image 36 is displayed on the screen.
Example 021: Set an image as a button to use 38
Instance 022: achieve the effect of displaying photos in the QQ space by 40
Chapter 4 control development instance highlights 44
Instance 023: displays the information entered in the text box 44
Instance 024: Use the radiogroup control to implement Option Selection Function 46
Instance 025: Use the checkbox control to implement the effect of the consent clause 48
Instance 026: Select 51 by using the spinner control.
Instance 027: Use the gallery control to implement the personal album function 55
Instance 028: Develop a file search program 58
Instance 029: click the button to implement button replacement 60
Instance 030: simulating a clock interface 62
Instance 031: Use datepicker and timepicker together to select the date and time 65
Instance 032: dynamically separate mobile phone screen 68
Instance 033: Use listactivity to implement dynamic menu list 71
Instance 034: loading files in the mobile phone disk 73
Example 035: Achieve Drawer Style 76
Instance 036: Multiple dialog boxes dynamically displayed on the screen 82
Instance 037: Mobile Phone Secretary-Important reminder 88
Instance 038: 96 menus for dynamic addition or deletion
Instance 039: Custom Android controls implement Single-choice button 100
Instance 040: Use a custom control to draw a dotted line 104 on the screen
Instance 041: Enable 106 accordion effect on the screen
Chapter 4 automated service instance highlights 3rd
Instance 042: automatically obtains the Resolution 109 of the mobile phone screen
Instance 043: automatically obtains 112 of the remaining power of the cell phone battery.
Instance 044: Automatic Message reminder 115
Instance 045: Get the phone memory card capacity of 119
Instance 046: 122 operations on data in the memory card and memory card
Instance 047: Set the alarm to 129
Instance 048: Automatic mute of blacklisted incoming calls 135
Instance 049: Set an automatic boot interface 138
Instance 050: Change the mobile phone screen background image system 140
Instance 051: set to automatically change the mobile desktop background 144
Instance 052: Automatically Controlling backend System Service 154
Instance 053: drag a button 157 in the screen
Chapter 2 Data Storage instance highlights 4th
Instance 054: display the information stored in sharedpreferences on the screen 163
Instance 055: demonstrate data addition, deletion, and other operations 165
Instance 056: Write a mobile phone notebook program 170
Instance 057: Use contentprovider to develop a mobile phone notebook 177
Instance 058: Use a file to save data 188
Instance 059: Save the online image to the SD card and display it in the mobile phone 190
Instance 060: Save contact information 194
Chapter 2 phone and SMS instance highlights 5th
Instance 061: Write a dial-up program 197
Instance 062: send an SMS 200
Instance 063: click the button to implement the dialing function 203
Instance 064: A common messaging program 206
Instance 065: After receiving the text message, use e-mail for notification 210
Instance 066: Implement touch screen dialing 214
Instance 067: a text message sending program 215
Instance 068: automatically send email notification 219 after incoming call
Instance 069: Listen to the phone dial status of 220
Instance 070: Check whether the SMS is successfully sent 223
Chapter 2 image examples 6th
Instance 071: Draw a rectangle 229 on the screen
Instance 072: Draw a canvas 232 on the screen
Instance 073: 235 transparency
Example 074: rendering a geometric image 239
Instance 075: 242 animation effect with an image as the background
Instance 076: 244 frame animation effect on mobile phone screen
Instance 077: scale the image by 246
Instance 078: rotate the image 250 in the screen
Example 079: Achieve the flag flying effect 253
Instance 080: Simulate the construction of a 3D scenario with an effect of 258
Instance 081: Simulated particle system effect 261
Example 082: write text 265 in the canvas
Instance 083: Move the image 272 on the screen
Instance 084: Draw a 3D cylinder 276 on the screen
Instance 085: the width and height of the image are 285
Example 086: compile a mobile phone screensaver program 287
Instance 087: Move the image 295 in touch mode
Chapter 2 network-related instance highlights 7th
Instance 088: Pass HTTP parameter 299
Instance 089: Use HTML program 303 on the screen
Instance 090: browse Web page 304 on mobile phone
Instance 091: Use a built-in browser to open web page 305
Instance 092: display the photo 307 In the QQ space
Instance 093: View news online through RSS 309
Instance 094: Download the network image as the mobile phone background 320
Instance 095: upload files to server 323
Instance 096: Develop a mobile Blog publisher 326
Instance 097: remotely download and install a software 331
Instance 098: control the Bluetooth system 336
Chapter 2 multimedia instance highlights 8th
Instance 099: play a specified MP3 file 346
Instance 100: Adjust the phone volume by 350
Example 101: Camera preview and photography 353
Instance 102: Play video on your phone
Example 103: mobile phone recording system 363
Instance 104: Set the ringtone 368 on your phone
Instance 105: mp3371 in the online playback Network
Example 106: Download music online as the ringtone 379
Example 107: Play GIF animation 385
Example 108: Play MP4 video 391 on your phone
Instance 109: Watch 3GP video 394 online
Chapter 2 Google map instance highlights 9th
Instance 110: Coordinates 403 of the current location
Instance 111: use Google map 406 on your mobile phone
Instance 112: locate the input coordinates in the map 413
Instance 113: Quickly query a location in a map 416
Instance 114: automatically update the location 418 as the mobile phone moves
Instance 115: plot the line in the mobile phone map and calculate the line distance of 423
Instance 116: the specified position 430 is displayed on Google Maps.
Instance 117: Query an address 432 on the mobile phone map.
Instance 118: Implement address query 434 on the mobile phone
Example 119: Develop a path navigation system 438
Chapter 2 Google API instance highlights 10th
Instance 120: simulates verification of official account 446
Example 121: Develop a Google search app 453 on your mobile phone
Example 122: compile a translation software 458 on your mobile phone
Instance 123: generate a QR code 460
Instance 124: use Google chart API to generate QR code 463
Chapter 2 tablet applications 11th
Example 125: Develop a music player 469
Example 126: Develop an online weather broadcast system 475
Example 127: Develop a web browser program 485
Instance 128: Use a file to save the music status 491
Instance 129: Different progress bars 494 are displayed on the screen.
Chapter 2 game applications 12th
Example 130: A simple Snake Game 498
Example 131: Develop a magic tower game 504
Instance 132: Crazy football game 524
Chapter 2 Android program optimization 13th
Instance 133: test the computer's performance by 547
Instance 134: Test memory performance 550
Instance 135: optimized Android simulator 553
Instance 136: Use the merge tag to optimize the UI 556
Instance 137: optimized Android layout559
Instance 138: optimized bitmap image 560
Chapter 4 integrated example-mobile phone map system 14th
Example 139: use Google map to develop a comprehensive map system 563
14.1 project analysis 563
14.1.1 planning UI 563
14.1.2 Design of Data Storage 564
14.2 specific implementation 565
14.2.1 new project 565
14.2.2 main interface 565
14.2.3 New Page 567
14.2.4 setting page 570
14.2.5 Help Page 574
14.2.6 map 576
14.2.7 Data Access 587
14.2.8 service 592
14.3 publish your work to make a profit of 594
14.3.1 apply to become a member 594
14.3.2 generate the signature file 597
14.3.3 use the signature file 602
14.3.4 release 604
Chapter 4 comprehensive example-music player system 15th
Example 140: Develop a music player 605
15.1 Project Introduction 605
15.1.1 background 605
15.1.2 project objective 606
15.1.3 significance to readers 606
15.2 requirement analysis 606
15.2.1 component 606
15.2.2 function structure 609
15.2.3 system features 610
15.2.4 overall goal 610
15.3 design database 611
15.3.1 field design 611
15.3.2 database connection 611
15.3.3 create database 612
15.3.4 operating database 613
15.3.5 data display 614
15.4 specific code 615
15.4.1 main service information page 615
15.4.2 player main interface 616
15.4.3 playback list function 628
15.4.4 menu module 631
15.4.5 playback setting page 634
15.4.6 set the display lyrics to 638
15.4.7 file browser module: 639
Chapter 4 sports games-NBA shot 16th
Example 141: NBA shot 644
16.1 Project Introduction 644
16.1.1 significance and technical analysis 644
16.1.2 plan game 645
16.1.3 preparation 645
16.2 project architecture 646
16.2.1 overall architecture 646
16.2.2 planning 646
16.3 specific code 648
16.3.1 compile main class lanqiuactivity648
16.3.2 write a constant class 652
16.3.3 design the game trial interface 658
16.3.4 draw game scenario 663
Chapter 2 Integrated email system 17th
Example 142: Develop a comprehensive email system 672
17.1 Project Introduction 672
17.1.1 background 672
17.1.2 project objective 672
17.2 System Requirement Analysis 673
17.2.1 component module 673
17.2.2 system process 675
17.2.3 function structure 676
17.2.4 system function 677
17.2.5 system requirements: 677
17.3 data storage design 677
17.3.1 user information 678
17.3.2 sharedpreferences682
17.4 specific code 684
684 welcome page
17.4.2 System Main Interface 687
17.4.3 mailbox type setting 694
17.4.4 mailbox charge settings 697
17.4.5 email sending setting 703
17.4.6 email user check 708
17.4.7 set user alias 713
17.4.8 user email edit 716
17.5 conclusion 723

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.