Recent Posts
-
Advanced Android – specific example of custom picture scaling control
ZoomImageView.java: XML layout: Activity call method: -
Android TCP file client and server demo introduction
The main functions are: 1. The TCP server provides file download service, and the server supports multithreading. 2. T…… -
Underlined method of Android textview
If it is in a resource file, it can be written like this If the code is written like this -
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…… -
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…… -
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 webvie specifies the video player to play website videos
Filter out other players and use my own player to do it -
-
Specific implementation of obtaining pictures from Android system Gallery
Preface @ h_ 404_ 3@ In Android applications, there are often scenes that need to use the pictures stored on the devic…… -
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…… -
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 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. -
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 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…… -
Update the interface in the child thread of Android development tutorial
Each handler object is associated with the thread that created it, and each handler object can only be associated with…… -
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 custom countdown control example
Custom textview control timetextview Code: Attribute atts.xml Adapter calling code: Layout usage code -
Android development tutorial using listview to display QQ contact list
First, the XML layout file, in which the listview control is added: Main layout_ main.xml Then, the layout of each lin…… -
Android display textview text reflection effect implementation code
Today, record the reflection effect of textview, display a string of text, and then display its reflection below the t…… -
The textview content of Android development tutorial exceeds the screen width and displays ellipsis
The implementation is as follows: -
Android development tutorial starts the Android simulator with the command and sets its memory size
Code to start the Android simulator with the command and set its memory size Input in the terminal -
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…… -
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: The code of version C is as follows: -
-
In depth explanation of how to use Android mediaplayer
1) How to obtain mediaplayer instance: you can use the direct new method: mediaplayer MP = new mediaplayer(); You can …… -
How to solve the problem of unable to display logcat information during Android real machine debugging
How to solve the problem that the logcat information cannot be displayed during Android real machine debugging: window…… -
-
The solution to the problem that Android textview uses the ellipsize attribute for multi line text (more than 3 lines)
Textview property in layout file Control the number of lines of text displayed in Java code -
Method for making pictures adapt to the size of controls in Android
This requires converting the. PNG image to. 9. PNG, which is the suffix. When installing the Android SDK, it comes wit…… -
Android SMS interception implementation code
The implementation of SMS interception mainly uses the broadcast receiver. The broadcastreceiver broadcast receiver mu…… -
Detailed explanation of handler and Android multithreading
Here is a familiar Code: The handler in the above code does not invoke the start () method of thread myThread, but dir…… -
Android pause or stop the playback of other music players implementation code
The code is as follows: The following code pauses music playback: