Because the job isProgramThe relationship between members, familiar with the Android system, is disgusting. View
More and more friends are using Android phones, but they are not familiar with some skills. I want to summarize this article.Article.
1. Concepts
XML: Extensible Markup Language, similar to the HTML tags. Scalability refers to the absence of prescribed, restricted, and fixed tags. There are two kinds of parsing Methods: Sax and Dom.
DOM: loads all XML documents into the memory,
Int
1 (0x00000001)
Base
October 2008: the original, first, version of Android.
Int
2 (0x00000001)
Base_1_1
February 2009: first Android update, officially called 1.1.
In Windows, to view multiple images, you can use the "Windows photo viewer" to switch between "previous" and "Next" to browse multiple images.
In Android, you can use the image switching control imageswitcher to browse multiple images. The
In Android, the gallery control gallery is used to display the image list. You can drag the image left and right with your fingers to move it. Gallery can only display one row horizontally, and the images in the gallery list will move left or right
In Android, to display an image on the screen, you must create an image display object, which is imageview.
1. Common imageview attributes
Before cropping an image, you must first understand the common attributes of imageview.
Common
Scaletype attribute of imageview in Android
The value of scaletype represents the following meanings: imageview is the basic Image Display Control in Android. This control has an important attribute: scaletype. This attribute is used to indicate
Principles and demos of notifications for Android
Notifications are often used in apps. This is a common feature. For example, if the Netease news client has any major news, a notification will pop up in the notification bar.
In progressProgramI
Today, I encountered a problem in programming: There is a tablet. The input method is displayed by default when an activity with edittext is opened. To solve this problem, we have thoroughly studied the focus and pop-up input methods in Android. I
I encountered a lot of problems in the process of learning Android development. Fortunately, I finally got the solution through online queries. Now, I want to sort out some of the problems I encountered during the android development process and the
1. layout Introduction
To adapt to various interface styles and meet development needs, Android provides five layout Methods: linearlayout (linear layout), framelayout (Framework layout), and relativelayout (relative layout) absolutelayout
Android applicationsProgramThe four components are activity, service, broadcastreceiver, and contentprovider. Activity, service, and contentprovider have been described in previous blog posts, as follows:
(1) activity: Android Study Notes 38:
In Android, you need to use the graphics class to display 2D images.
Graphics includes canvas, paint, color, bitmap, and other common classes. Graphics supports drawing points, lines, colors, 2D ry, and image processing.
1. Color
There are
Android applicationsProgramThe four components are activity, service, broadcastreceiver, and contentprovider. This article will give a comprehensive summary of the activity. Service and broadcasereceiver will also be introduced in the subsequent
In Android, Android applications are implemented mainly through messagequeue, logoff, and handler.Program. Among them, the messagequeue class is used to describe the Message Queue; The logoff class is used to create the message queue and enter the
In Android, we can use standard Java interfaces to complete Android applications.Program. However, in actual development, more complex online operations may be required. Therefore, the Android platform provides the Apache httpclient interface, it
In Android, the standard Java interface httpurlconnection and Apache interface httpclient are provided, which provides rich support for HTTP programming on the client.
Get and post are the most commonly used in HTTP Communication. GET requests can
There are many ways to parse XML documents. Apart from common Sax and Dom methods, you can also use the pull that comes with Java to parse XML documents.
1. Use the pull parser to parse XML documents
The pull parser runs in a similar way as
Sax is a parser that consumes less memory and is fast to parse. It uses event initiation and does not need to parse a complete document, instead, check whether a part of the document conforms to the XML syntax in order of content. If yes, the
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