I have been taking over Android for a year. Since I had a relatively small amount of materials at the beginning and most of them were out of context, I have been in a very understandable status for Android. Now I finally feel the learning experience
The android library contains a WebKit library, and a WebKit-based browser is installed by default. At the same time, developers can develop applications based on WebKit (webview ).ProgramSuch applications can directly display web pages, thus
I. Use logcat output with cautionIf your application always outputs logs in the background. I or log. d content, in addition to increasing system overhead, affects the overall efficiency of your application, especially the continuous output of a lot
Because the project requires an android Communication Software Based on XMPP protocol. So we started to study XMPP.
The XMPP protocol uses the client-server architecture. All messages and data sent from one client to another must be forwarded by
In AndroidProgramThere are two ways to register a broadcast receiver, the difference is as follows:
Method 1: register in the androidmanifest. xml file
You have registered your own broadcast receiver to receive two types of broadcasts. The
When developing applications, users are often limited to the number of words they enter, such as posting comments or other things. Below is a simple demo.
EditText et_content; // defines a text input boxTextView TV _num; // used to display the
This small application is indeed xiaoha. It is only used for learning and understands the MediaPlayer class. In the future, it will be a little bigger and intends to directly download songs and lyrics files from the Internet, and dynamically display
First, we will introduce how to remove the title bar:
First:This is also a common method for getting started.
RequestWindowFeature (Window. FEATURE_NO_TITLE); // remove the title bar.
Note that this sentence must be written before the setContentView
This article from http://edu.gamfe.com/tutor/d/30512.html
Shows the functions of the ListView Adapter:
The function of the Adapter is to bridge between the ListView interface and data. When each item in the list is displayed on the page, the
Note: The following four articles are all transferred fromHttp://blog.csdn.net/kkfdsa132
Many software, because of its many functions, prefer to use Tab pages. In Android, there are two common tabs:
1. Use TabActivity and TabHost combination
2.
In the previous section, we have introduced three methods for implementing Tab paging by combining TabActivity and TabHost. Here, we will introduce the combination of ActivityGroup and GridView to implement Tab paging. In fact, this is similar to
Article category: mobile developmentKeyword: ubuntu android1. Install sun jdk. This document is not described. For details, refer to Ubuntu Wiki.
2. Download related software
Eclipse IDE 3.4: Download address: http://www.eclipse.org/downloads/
Are you sure you want to get started? haha, you have a feeling. If you have a feeling, come on. Start learning next. You will always learn things step by step. This chapter is not explained. It has complete comments on it.
1. Use BitmapFactory to
We have customized the View, but I have never thought of a problem: Where is the (0, 0) coordinate in the View, that is, the origin coordinate ?? Are we sometimes confused? Next we will study the origin coordinate problems in the View.
1. View
1. First locate the debug keystore location:
Open Eclipse ---> Windows ---> Preferences ---> Android ---> Build
This is generally the path C: \ Documents ents and Settings \ Administrator \. android \ debug. keystore
2. Run
Keytool-list-alias
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