Recent Posts
-
Android platform httpget and httppost request instances
Examples of HTTP communication using httpget() method in httpclient: -
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…… -
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…… -
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…… -
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…… -
-
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 expandablelistview expand list control usage instance
Do you think the control of friends list on mobile QQ is very good? No... that doesn't matter. Learning more knowledge…… -
Android gets the data in the assets folder and writes it to the SD card example
This example mainly realizes that Android obtains the data in the assets folder and writes it to the SD card. The main…… -
Android realizes the open screen layout of loading advertising pictures and countdown
This is an example of Android open screen layout, which can be used to load advertising pictures and countdown layout.…… -
Method for Android to realize the function of downloading files
The complete sample code described in this paper is for Android to realize the function of downloading files. I believ…… -
Usage example of GridView in Android
In Android programming, GridView and listview are commonly used multi control layouts, and GridView is the first choic…… -
Implementation of mediaplayer playing network video improved by Android
Earlier, I explained mediaplayer playing network audio, mainly introduced mediaplayer's methods of buffering and progr…… -
Analysis of tabhost and tabwidget instances for getting started with Android
This example introduces the tab control of Android. The tab control can achieve the effect of pagination and enrich th…… -
The Android implementation executes statements when creating or upgrading a database
This example describes the statements executed when Android creates or upgrades a database. If it creates or upgrades …… -
Implementation of mediaplayer playing network audio improved by Android
The previous article has introduced the basic usage of mediaplayer. Here we will explain the online playback function …… -
Analysis of gallery usage example of Android getting started
The gallery control of Android introduced by this example is a very good drawing control, which can greatly reduce the…… -
Method of implementing adaptive table in listview improved by Android
The previous article introduced the method of using GridView to realize tables. This article will talk about how to us…… -
Android dynamic loading layout file example
1、 Layout file part.xml: 2、 Generate foreground layout through background code: -
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 development tutorial time dialog core code
The timepickerdialog method has five parameters. The first parameter (mainactivity. This) is the activity pointer wher…… -
Android platform httpget and httppost request instances
Examples of HTTP communication using httpget() method in httpclient: -
Android input box and text box with scroll bar Scrollview example
We all know that EditText and textview are Android text input boxes and text display boxes, but based on the size of t…… -
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 background thread and UI thread communication instance
This section shows you how to send data to the objects in the UI thread in the task. This feature allows you to work i…… -
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…… -
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…… -
Caused by: android.os.networkonmainthreadexception error resolution
After not writing Android code for a long time, I found that the program I wrote before could not run, and there was n…… -
Solution to the failure of replacing resource images in Android Development
phenomenon In Android development, it is often necessary to replace the image in res \ drawable. Open the file preview…… -
Android expandablelistview expand list control usage instance
Do you think the control of friends list on mobile QQ is very good? No... that doesn't matter. Learning more knowledge…… -
Solution of filtering redundant resource files in Android project
This paper describes the solution of filtering redundant resource files in Android project with examples, which is of …… -
Android gets the data in the assets folder and writes it to the SD card example
This example mainly realizes that Android obtains the data in the assets folder and writes it to the SD card. The main……