2 classes: 1 entity classes person.java,1 A class that inherits the activity
1.person.java
Copy Code code as follows:
Package com.mrzhu.work_1_sax;
public class Person {Private String personId;private String name;Private String
Aidl:android Interface definition Language, which is a description language of the Android internal process communication interface, through which we can define communication interfaces between processes.
Icp:interprocess communication, internal
1, the Android system defaults to support three kinds of fonts, respectively: "Sans", "serif", "monospace
2, in Android can introduce other fonts.
Copy Code code as follows:
Android:layout_width= "Fill_parent"
android:layout_height=
Android solves the problem of sending keyevent to different processes
Recently, the function of the remote Controller, the function of the phone as a TV remote control to deal with. On the handset's client sends the message to the TV's Android
In an XML layout file, we can set either PX or a DP (or dip). In general, we would choose to use a DP, which would ensure a consistent layout on a machine with different screen resolutions. But in the code, how do you handle it? Many control methods
To achieve infinite carousel, always slide to the left, when the last view, will slide to the first, infinite ...
Can write their own viewpager and then add handler first to achieve automatic scrolling, of course, here I for the progress of the
Objective
In the micro-letter is the processing method is to allow users to slide, but eventually rolled back to the original place, the effect is very vivid (after all, success depends on the details). So what are we going to do with Android? Here
There are several ways to get system time in Android, which can be divided into Java Calendar class acquisition, Java.util.date class implementation, and Android.
The summary is as follows:
Method One:
void GetTime1 () {
long
In the Android application development, we will use a variety of code debugging; In fact, after the development of Android, we may encounter some random problems, such as high CPU, memory leaks and so on, we can not easily debug the code, we need a
The lock screen requires the introduction of a device Super administrator. Detailed instructions are available in the administration of the document's Android development documentation. Android Device management system features and control access.
Effect:
Need knowledge:
1. two times Bezier curve
2. Animation knowledge
3. Basic Custom View Knowledge
Let's explain what the damping motion is.
Damping is the vibration of vibration system, which is caused by friction and medium resistance
This article mainly from two aspects of the Android volley framework of the use of the method to explain, the specific contents are as follows
First, the network request
1.get Mode request data
1 Create a request queue
requestqueue
Before the system from the source of the toast to do a brief analysis, see blog: Click to open the link
This article gives a small case, custom toast, simulated Tencent Guardian's small rocket launch. If you want to quickly understand the code,
The example of this article for everyone to share the Android SMS function of the implementation method for your reference, the specific contents are as follows
First configure a layout:
Then write the code to text in the activity:
Company's previous project, see Using this Android with the countdown control chronometer, now integrates
First look at the effect:
Method Introduction:
long getbase ();//return base time, set by SetBase (long),
We often see the banner interface of some apps that can loop through multiple ad images and manually slide loops. See that effect, I believe everyone will think of Viewpager, but Viewpager does not support the circular page, so to realize the cycle
Usually we use "runtime.getruntime ()" () EXEC ("command path") when executing a command in an Android application, but when we perform a scratch operation, this command is not available in any way, and the result is printed by the following code.
The example of this article for everyone to share the Swiperefreshlayout refresh source, for your reference, the specific content as follows
1.SwipeRefreshLayout is Google's support V4 19.1 version of the library update of a drop-down refresh
The previous period of time projects used in the Drop-down refresh function, before the internet also found similar demo, but the quality of these demos are uneven, user experience is not good, interface design is not. The most is no way, finally
Jsoup is a Java HTML parser that can directly parse a URL address, HTML text content. It provides a very labor-saving API for fetching and manipulating data through dom,css and jquery-like operations.
Jsoup's official Chinese address:
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.