This article translated from: http://developer.android.com/guide/topics/graphics/prop-animation.html
Differences between property animation and view animation
View animation provides the ability to only make the view object animated. Therefore,
This article translated from: http://developer.android.com/guide/topics/graphics/opengl.html
Projection and photography views in OpenGL ES 2.0
In the ES 2.0 API, you must first add a matrix member to the vertex shaders at the top of the graphic
Animations for layout changes of viewgroups objects
The property animation system provides an easy way to process the animation changes of viewgroup objects as well as view objects.
Layouttransition class is used to process layout changes in
This article translated from: http://developer.android.com/guide/topics/graphics/prop-animation.html
API Overview
You can find the APIs of most property animation systems in the Android. animation package. Because the view animation system has
The loader function is introduced in android3.0, which makes it easy to load data asynchronously in activity or fragment. The loader has the following features:
1. The loader is valid for every activity and fagment;
2. The loader provides the
Public void oncreatecontextmenu (contextmenu menu, view V, contextmenu. contextmenuinfo menuinfo)
This method is called when the context menu of the view object is displayed. Unlike oncreateoptionmenu (menu, menuinflater), this method is called
Bluetooth permission
To use the Bluetooth function in your application, you must declare at least one of two bluetooth permissions (Bluetooth and th_admin.
To perform any Bluetooth communication (such as requesting a connection, receiving a
Health Device Configuration
Android (apilevel 14) introduces BluetoothHealth device profile (HDP) support allows you to create applications that communicate with Bluetooth-enabled health devices, such as heart rate monitor, blood pressure gauge,
Although the latest Android version often provides better APIs for applications, you should support older Android versions until more devices are updated to the new Android platform. This section describes how to continue to support older versions
Public final Boolean isadded ()
If the fragment object is added to its activity, true is returned; otherwise, false is returned.
Public final Boolean isdetached ()
If the fragment has been explicitly separated from the UI, it returns true. That is,
This article translated from: http://developer.android.com/training/basics/activity-lifecycle/recreating.html
Due to some common application behaviors, sometimes the activity will be destroyed, for example, when the user presses the back button or
This article translated from: http://developer.android.com/training/basics/fragments/communicating.html
To reuse the fragment UI components, each fragment you create should be a self-contained modular component with its own layout and behavior. Once
Sensor Introduction
The android sensor framework allows you to access multiple types of sensors. Some sensors are hardware-based and some are software-based. Hardware-based sensors are physical components built in with handheld or flat devices. They
Sensor availability
Sensor availability not only varies between different hardware, but also between different Android versions. This is because the introduction of Android sensors requires the release process on several platforms. For example, some
I. Overview
Java programming is often overlooked, but a very important issue is memory usage. Android applications are mainly written in Java, so this problem also occurs in Android development. This article does not discuss Java programming, but
Create a styles. xml file in the values directory and write the following code:
When calling, use the alerdialog interface class. The dialog interface writes the following code:
Dialog dialog = new dialog (setactivity. This, R. style.
1. inheritance relationship
Java. Lang. Object
|____ Android. App. fragmentmanager
2. class overview
This class provides interfaces for interacting with fragment objects in the activity.
Although fragmentmanager APIs are introduced in the honeycomb
I am studying Android development by myself recently. When I did some examples, I found that there is not much information about unit testing. I hope I can discuss it with you here. There was a question that was put on the Q & A channel for several
There are two commonly used timers on Android: Java. util. timer and alarmservice.
Experiment 1: use Java. util. Timer.Create a timer in onstart (), update the counter every 5 seconds, and start. Java code
Mtimer = new timer ();
Mtimer. Schedule
By he minggui (http://blog.csdn.net/hmg25) reprint please indicate the source
Previously, I saw the special effects of simulating book pages like iBook on iPad. on Android, there were also apps such as Laputa and ireader to implement this special
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