Android
-
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 -
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…… -
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 -
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. -
-
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…… -
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…… -
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 …… -
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…… -
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…… -
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 …… -
-
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 …… -
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 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 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 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: -
Android webvie specifies the video player to play website videos
Filter out other players and use my own player to do it -
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 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…… -
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…… -
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…… -
The textview content of Android development tutorial exceeds the screen width and displays ellipsis
The implementation is as follows: -
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 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