[Download source code]
Famous Android SeriesArticleIndex
Author: webabcd
Introduction
Index of famous Android series articles: build development environment, layout, menu, dialog box, notification, activity, service, broadcast, broadcast receiver, control, database support, content provisioner, HTTP Communication, XML parsing, asynchronous message processing
1. Well-known Android (1)-build an android development environment and a hello World Program in Windows
Introduction
Build an android development environment and write a simple exampleProgram
- Build an android development environment in Windows
- Description of the directory structure of the android Project
- Write a simple hello World Program
2. Series of famous Doors Android (2)-layout and menu)
Introduction
Application of various la s in Android and implementation of menu Effects
- Applications with various layout modes: framelayout, linearlayout, tablelayout, absolutelayout, and relativelayout
- Configure the context menu for the specified element, configure the option menu for the application, and implement the multi-level menu
3. The famous Android (3)-dialog box (DIALOG) and notification)
Introduction
Dialog Box in Android and application of various notification Effects
- Common Dialog Box usage, pop-up dialog box, date selection dialog box, Time Selection dialog box, progress bar dialog box
- Demonstration of notification (displayed in the notification list) and notification (toast)
4. Famous Android (4)-activity, service, broadcast (broadcast), broadcast receiver (broadcastreceiver)
Introduction
Use activity, service, broadcast, broadcastreceiver in Android
- Activity-used to present functions
- Service-equivalent to the activity running in the background
- Broadcast-used to send broadcasts
- Broadcastreceiver-used to receive broadcasts
- Intent-used to connect the above components and transmit messages during the process
5. Make the famous Android (5)-textview, button, imagebutton, imageview, checkbox, radiobutton, analogclock, digitalclock
Introduction
Use various controls (Views) in Android)
- Textview-text display control
- Button-button control
- Imagebutton-image button control
- Imageview-Image Display Control
- Checkbox-check box Control
- Radiobutton-single-Stick Control
- Analogclock-clock (with table disk) Control
- Digitalclock-workbook Control
6. datepicker, timepicker, togglebutton, edittext, progressbar, seekbar, autocompletetextview, multiautocompletetextview
Introduction
Use various controls (Views) in Android)
- Datepicker-date Selection Control
- Timepicker-Time Selection Control
- Togglebutton-double-state button control
- Edittext-editable text Control
- Progressbar-progress bar Control
- Seekbar-drag progress bar Control
- Autocompletetextview-editable text controls that support Automatic completion
- Multiautocompletetextview-editable text controls that support Automatic completion and allow multi-value input (values are automatically separated by specified delimiters)
7. Famous Android (7)-zoomcontrols, include, videoview, webview, ratingbar, tab, spinner, chronometer, scrollview
Introduction
Use various controls (Views) in Android)
- Zoomcontrols-zoom in/out button control
- Include-integrated controls
- Videoview-video playback control
- Webview-browser controls
- Ratingbar-scoring Control
- Tab-tab Control
- Spinner-drop-down box Control
- Chronometer-timer control
- Scrollview-scroll bar Control
8. Make the famous Android (8)-textswitcher, gallery, imageswitcher, gridview, listview, expandablelist
Introduction
Use various controls (Views) in Android)
- Textswitcher-Text Converter Control (add some animation effects when changing text)
- Gallery-thumbnail browser control
- Imageswitcher-Image Converter Control (some animation effects are added when the image is changed)
- Gridview-Grid Control
- Listview-List Control
- Expandablelist-List controls supporting the expand/contract function
9. Well-known Android (9)-Database Support (SQLite), content provider (contentprovider)
Introduction
Using SQLite and contentprovider in Android
- Database Support (SQLite)-the android development platform provides APIs for operating SQLite Databases
- Contentprovider-when data needs to be shared among applications, you can use contentprovider to define a URI in a program so that other applications can access specified data through this URI.
10. The famous Android (10)-HTTP Communication, XML parsing, asynchronous message processing through hander
Introduction
Implement HTTP Communication with the server in Android, parse XML, and implement asynchronous message processing through Handler
- HTTP Communication-perform HTTP Communication with the server, which is demonstrated in get and post modes respectively.
- XML parsing-you can parse XML in two ways: Dom and sax.
- Asynchronous Message Processing-use handler to Implement Asynchronous Message Processing, and use a custom asynchronous download class to describe handler's usage
OK
[Download source code]