包含标签:Android 的文章
-
Example of iPhone picture sliding effect implemented by Android Gallery component
The realized effect picture can slide left and right: 1、 First put the gallery tag in: -
-
Android uses expandablelistview control to realize the effect of novel directory
Today, I'll tell you about the directory implementation method of Android. Just like the novel directory you see, Andr…… -
Creating a multithread manager instance in Android
If you want to execute a task repeatedly, with different data sets (different parameters), but only one execution at a…… -
Several methods for Android to read file contents by line
1、 Simple version 2、 Concise version 3、 Apk for long-term use, and regular data 1. Read the file contents line by l…… -
Running code task instances in the Android thread pool
This section shows how to perform tasks in the thread pool. The process is to add a task to the work queue of the thre…… -
Android platform httpget and httppost request instances
Examples of HTTP communication using httpget() method in httpclient: -
Android development tutorial time dialog core code
The timepickerdialog method has five parameters. The first parameter (mainactivity. This) is the activity pointer wher…… -
Android development tutorial using threads to achieve smooth view scrolling example
Recently, I have been trying to do the pull-down refresh effect. After thinking for a long time, I came to the step of…… -
Android dynamic loading layout file example
1、 Layout file part.xml: 2、 Generate foreground layout through background code: -
Android implements the method of finding SD card mounting path (SD card path) with Java and C
Method 1: Analyze the returned information of the mount command, for example: @ h_ 419_ 3@ Version C code is as follow…… -
Android downsample code for reducing audio sampling frequency
Use Android audiorecord to record PCM files. The Android SDK ensures that the sampling frequency supported on all devi…… -
The textview content of Android development tutorial exceeds the screen width and displays ellipsis
The implementation is as follows: -
The framework of Android development tutorial adds resource resources such as string resources and pictures
Add string Add a string in Android frameworks / base / core / RES / RES / values. For example, add a string in string.…… -
How to use system resources in Android development tutorial Android resource file
1、 Color resource 1. Color XML file format 2. Reference format: In Java code: r.color.color_ Name (this is an int typ…… -
How to use listview in Android development tutorial
The first is the layout file. Two layout files are required here. One is the layout file main.xml corresponding to the…… -
Android audio recording mediarecorder simple recording software implementation code
Steps to use the mediarecorder: 1. Create the mediarecorder object. 2. Call the setaudiosource() method of the mediare…… -
Android saves the content of view as a simple instance of an image
Principle: create a new Bitmap, then create a Canvas based on it, and finally call the View's draw method to draw View…… -
Android development tutorial handle to achieve multithreading and asynchronous processing
Let's talk about handler this time. Why does handler appear? First of all, before the basic controls are basically inv…… -
Detailed analysis of several usages of Android intent
Intent should be a unique thing in Android. In intent, you can specify the actions to be executed by the program (such…… -
Android read / write SD card operation write data read data example
Finally, don't forget to add the permission to access and read SD in androidmanafest.xml. -
Example steps for Android custom controls and custom callback functions
To customize a control: 1. Working principle of view 2. Write view class 3. Add attributes to view class 4. Draw scree…… -
Android simulator development and testing NFC application example details
NFC has been supported since Android 2.3. However, NFC applications can only be tested and developed on Android phones…… -
Specific implementation of obtaining pictures from Android system Gallery
preface In Android applications, there are often scenes that need to use the pictures stored on the device, and it is …… -
-
Android webvie specifies the video player to play website videos
Filter out other players and use my own player to do it -
Instance method of Android loading large resolution pictures into mobile phone memory
Restore the heap memory overflow error. First, restore the heap memory overflow error. First, put a photo on the SD ca…… -
Android saves the image conversion to the database, and then reads and converts it into image implementation code from the database
First, we need to store the pictures in the database. First, we need to create a database, as shown below: The code co…… -
How to use Android listview and ProgressBar (progress bar control)
Use of listview control: the listview control contains data row by row. There may be multiple columns in a row. If a r…… -
Android string resource file format method usage example
Many times, we believe that Google abides by a large number of MVC architecture when designing Android, which can make…… -
HTTP request utility class encapsulated by Android
Another encapsulated get request is frequently used recently:
