Recently, Google officially updated its developer tool version. The new version of the developer tool will be mainly used for Android 3.2 development and application. This is the first time Google has fully updated the old version of Developer Tools
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
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 second is to start the Service by binding it. First look at the flowchart.
Click to view the chart
The biggest difference between the binding method and the method described in section 1 is that an Activity can be associated with a Service.
Software development requirements:
Required development environment:
Eclipse IDE
Eclipse 3.3 (Europa), 3.4 (Ganymede)
Eclipse JDT plug-in (most Eclipse IDE packages include)
WST (optional, but the android editor features required. It is included in
BKJIA Translation: Two tutorials in this series will guide developers in developing search functions using the Android search framework. In the first article, this article will allow developers to understand the Android search framework. In the
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
The Android mobile phone has a built-in high-performance webkit kernel browser, which is encapsulated into a WebView component in the SDK and can be used to browse network content. So how to use it?
Loading components using the WebView control for
You may want to know a little about android:
1. Set a simple button effect for the button.
For example, create camera. xml in the drawable folder. The content is as follows:
The image is camera_press when it is touched and
Due to the limited size of the mobile phone screen, the content displayed on the mobile phone version of the website is usually more concise, of course, it also reduces or removes advertisements. However, after all, there are still many websites
Introduction to initialization of Android java application Runtime Environment:
After kernle is started, the system will use the App_main process to initialize the android Runtime JAVA Runtime Environment. zygote is the first process of android, and
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);
Activities (activity)
The display layer of the application. Each screen corresponds to your application and will be an extension of the Activity class. Activity uses Views to build the UI to display information and respond to user behaviors. For
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,
I. Toast specifications
When the background is changed, some short messages are prompted. The message window automatically fades in and out and does not accept Interaction Events.
For example, when downloading an object is complete, a short "saved
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
When you use Eclipse to write Java code, the automatically generated annotation information is generated according to the preset format.
Modify author and date annotation formats: choose Windows> Preferences> Java> Code Style> Code Templates, 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