When it comes to drop-down refresh control, there are a lot of online versions, and many software also have a drop-down refresh function. There is a call Xlistview, I see others used, have not seen is how to achieve, see the name is estimated to
A simple demo, from aggregation data to apply for mobile phone number attribution to the data interface;
Enter the query number in the EditText, get the number and use HttpURLConnection to get the JSON data in the child thread, then parse;
After
It is said that the most recommended Android is the use of fragment in Viewpager, that is, Viewpager in the page is not like the previous use Layoutinflater directly from the layout file loading, but fragment. Pay attention to the fragment here.
It'
No more nonsense to say, first show you the custom view effect map, if you think it is good, please continue to read.
How, this kind of verification code is not very common, the following we do it ourselves to achieve this effect, do-it-yourself,
This article for you to share the Android Retrofit 2.0 frame upload picture solution, specific content as follows
1. Upload of single picture
/**
* Upload a picture
* @param description
* @param imgs
* @return * *
In the Android project development, there will be a real contradiction between the later function expansion and the main program code changes, that is, the flexibility of the program. Because of Linux platform security mechanism, plus Dalvik special
In Android, each application has its own process, and how does it work when you need to pass objects between different processes? It is obvious that there is no support for sharing across process memory in Java. So to pass the object, we need to
First, Introduction want to implement a blank artboard, which can draw the trajectory of the slide, so a small demand. Generally speaking, there are two ways to implement, view or Surfaceview. Let's look at two ways to achieve this. Two,
A, Coloring game overview
The recent group accidentally saw a friend in the group chat irregular image fill what four unicom, eight unicom What, on its own studious pragmatic attitude to consult the relevant information. For this kind of coloring
The previous article briefly introduced the basic use of Surfaceview, this time on the introduction of Surfaceview and multithreading mix. Surfaceview is a multi-threaded application that is designed to prevent animation from flashing. The
The example in this article tells you that the Android ScrollView can only add one child control problem-solving method. Share to everyone for your reference, specific as follows:
There's a section of code here
"
The previous article has already brought everybody to realize the free enlargement to reduce the picture, introduced the next matrix simply; Please refer to: Android to achieve gesture sliding multi-touch zoom translation Image effect, this article
Gson for parsing JSON in the example please Google download
Main activity:
Package COM.
Example.main;
Import Java.util.HashMap;
Import Java.util.Iterator;
Import java.util.LinkedList;
Import java.util.List;
Import Java.util.Map; Import
In Android development, there is often a need to hide the keyboard after a certain operation, so that the soft keyboard in Android is not displayed. Today, share with you how to use code to implement the hidden, displayed operation of the Android
The following is the time to meet the interview problems to organize, to share with you for your reference, the specific content as follows
Java Basics:
1, the reason for the memory leakage
1), resource object not closed.such as cursor, file and
Recommended reading: The principle analysis and development thinking of the plugin of micro-letter robbery in Android
The principle of stealing red envelopes are almost the same, usually using Android's accessibility (Accessibilityservice Class) to
Shape and selector are often used in Android UI design, such as we want to customize a fillet button, click on the button some effect changes, we need to use shape and selector. It can be said that the role of shape and selector in beautifying the
In the previous article to introduce the Android Bluetooth Bluetooth technology experience related content, interested friends can click to learn more details.
One: The communication between Bluetooth devices mainly includes four steps
Setting up
This example describes the bitmap usage in Android. Share to everyone for your reference, specific as follows:
Generally in the Android program to put the picture file in the Res/drawable directory can be used by the r.drawable.id, but in the
This article describes the use of service in Android to implement the background send mail function. Share to everyone for your reference, specific as follows:
The procedure is as follows:
Import android.app.Activity;
Import
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.