We have successively released "How to Implement TCP and UDP transmission","Android UI "design official tutorial" contains multiple Android development tutorials. This article will explain the tutorial on playing GIF images in Android. In Android,
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 APIThe Chinese Document GridView is the content to be introduced in this article, mainly to understand and learnAndroid APIContent, specificAndroid APIFor more information, see this article.
I. Android API Structure
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
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
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
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
Android has a lot of image special effect processing techniques, such as rounded corners and Reflections. We will share with you an example today. In this example, we will first get the wallpaper (getWallpaper ()), then some special effects of the
When developing an application, you will often encounter such a situation and dynamically decide which View or layout to display based on the conditions during running. The most common idea is to write all the views that may be used on it. First,
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,
1. Android SDK
Android Software Development Kit provides Development components for developing Android applications on Windows, Linux, and Mac platforms, including a variety of tool sets for developing mobile applications on the Android platform.2.
In many ways, every Android application is alive in their own world.
Application basics-Application Fundamentals
Android applications use java as the development language. With the tools provided by the Android SDK, You can package the data and
The first AIR Android program: flipped black and white games
I have introduced the establishment of the Development Environment. According to the practice of computer application development, it should be the time for "HelloWorld" to come out.
Use Handler to refresh the interface
Instantiate a Handler object and rewrite the handleMessage method to call invalidate () to refresh the interface. The online program sends the interface to update the message through sendMessage.
// Enable
Eclipse IDE from the non-profit Eclipse foundation is known for its plug-in ecosystem. The Eclipse market has a large number of plug-ins for download. You can use the plug-ins to customize your own Eclipse. Recently I am hanging out at Eclipse
In a previous article, we mentioned how to implement the push solution in Android. One of the more mature solutions is to use the XMPP protocol. The AndroidPn project is an open-source project that uses the XMPP protocol to push information. Here we
Use background thread
The background thread "working thread" can be used to remove the pressure from the main thread, so that you can focus on drawing the UI. In many cases, the use of AsyncTask asynchronous tasks can provide a simple way to execute
After years of use, everyone in Eclipse has their own plug-in secret list. This series of articles will record the list of private plug-ins recommended in the Eclipse market, and hope to help everyone.
The hero of this issue is Zous Pantalons.
First look at a set of simple code
public class SampleActivity extends Activity {
private final Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
// ...
}
}
}
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