Android DevelopmentEnvironment configuration details are described in this article, mainly for understanding and learningAndroid DevelopmentEnvironment content, detailsAndroid DevelopmentFor more information, see this article.
1. Operating
For Android 2.3AboutStrictModeUsage is the content to be introduced in this article, mainly to understand and learnFor Android 2.3For more information, seeFor Android 2.3For more information, see this article.
The ANR window is generated for a
Android APIThe Chinese Document AccessibilityService is the content to be introduced in this article, mainly to understand and learnAndroid APIThe content of the help document.Android APIFor more information, see this article.
I. Android API
Android APIThe Chinese Document Series Manifest is the content to be introduced in this article, mainly to understand and learnAndroid API. DetailsAndroid APIFor more information, see this article.
I. Android API Structure
java.lang.Object
IsAndroid SDKAdding application case implementation is the content to be introduced in this article, mainly for understanding and learning.Android SDKFor more information, seeAndroid SDKFor more information, see this article.
In the process of
The first two sections show Activity and Service. context. startService corresponds to the onStart () method in Service, and context. onBindService corresponds to the onBind () method in Service. When we want to bind a Service and stop the Activity,
1. Download Eclipse3.7, log on to http://www.eclipse.org/downloads/, and download eclipse Classic 3.7:
2. Install the ADT plug-in: Download Eclipse and decompress it. Run Eclipse. The first time you run the plug-in, you will be prompted to set the
1. gravity
Gravity is the center of gravity, which indicates the position of the stop.
Android: gravity refers to the element itself. The text of the element itself is displayed on the left side by changing the attribute settings.
Android:
When developing android applications, you often press the return key (that is, keyCode = KeyEvent. KEYCODE_BACK) to close the program. In most cases, the application is still running in the task. In fact, this is not the result we want.
We can do
Basic concepts of processes and threads
When an application starts to run its first component, Android starts a Linux Process for it and executes a single thread in it. By default, all components of the application are run in the thread of this
BKJIA exclusive Article: this is the latest article by BKJIA columnist Li Yang, an overview of Android hierarchical security architecture and core components. This article will detail the Android hierarchical security architecture and its core
On Android, GCM (Google Cloud Messaging, originally called C2DM), which is standard for Android implemented by Google, is basically unavailable in China. Therefore, if the Push function is required for developers, how to choose to become a
There are several methods to achieve tile effect.
First, use the api provided by the system:
Bitmap bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.pic);
//bitmap = Bitmap.createBitmap(200, 30, Config.ARGB_8888);
The view has a background, and each window has a background. Each Activity is a window, and each Activity has a different background.
The painting sequence of the interface is as follows: window -- Root View -- subview. When our Root View has
In the Android Application Framework, there is a powerful event processing mechanism-Intent ). Intent is similar to event, but it is different from traditional event processing.
Traditional event processing focuses on handler. when an event occurs,
After setting up the environment, we must build an android project to see the effect.
1. In eclipse, a new android project contains the following content in the pop-up dialog box:
Appliction Name: the Name of your app, that is, the names of
First, you must have good programming habits.
To become a good resource administrator, you must use both common sense and recognized algorithms and standard design patterns. In terms of resource usage, if you open the resource, remember to close the
It is very easy to display a single image in your UI. It is a bit complicated to display multiple images at a time. In many cases (for example, using the ListView, GridView, or ViewPager control ), the number of images displayed on the screen and
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