包含标签:Android 的文章
-
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…… -
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…… -
Method of installing and uninstalling APK package on Android simulator
Simulator (emulator. Exe) You can find the running file (F: gphoneandroid SDK windows-1.0_r1 tools) in the tools folde…… -
Android listview and GridView drag shift implementation code
You must be familiar with the drag and drop location of listview. Good software uses such functions, such as Sohu, Net…… -
Android listview ImageView implementation radio button instance
During the two years of Android development, the technology has improved slightly. I just wrote down the functions I r…… -
Detailed explanation of how to customize the countdown control for Android using attribute animation
Why introduce attribute animation? The previous patch animation mechanism of Android is actually quite sound. There ar…… -
Solutions to black screen during Android activity switching (jump)
When two activities jump, because the second activity loads more data during startup, there will be a short black scre…… -
Implementation method of Android timer and time calculator
Demand: the default is "00:00:00". When you click the start button, reset and start timing, such as 10:28:34. Stop tim…… -
Android method of saving string as TXT file in SD card
As follows: The above method for Android to save string as TXT file in SD card is all the content shared by Xiaobian. …… -
Explain Android studio git branch practice in detail
Some projects of the new company use GIT. In the past, companies used SVN. In order to practice git, I used my persona…… -
Code implementation of setting WiFi of Android device to never disconnect during sleep
Mainactivity is as follows: The code is as above, but in the actual project, it's rude to set WiFi to never disconnect…… -
Two minutes to fully understand the detailed explanation of Android activity life cycle (graphic introduction)
BACK key: when we press the BACK key, our application will end. At this time, we will call onPause () ->onStop () -…… -
Android image flip animation simple implementation code
Now let's share an interesting animation: This is more suitable for flipping one picture. If it is multiple pictures, …… -
Example analysis of Android radio button dialog box usage
This article describes the usage of Android radio button dialog box. Share with you for your reference. The details ar…… -
Analysis of Android code quality management
Template method - base class encapsulation Activity and fragment should be the most commonly used components of Androi…… -
Android custom title bar shows the method instance of web page loading progress
During the adaptation of lephone these days, the test team submitted a bug: when the text in the title bar is long, it…… -
Graphics, images and animation developed by Android (5) detailed explanation of layoutanimationcontroller
First, we need to introduce layoutanimationcontroller: *1. Layoutanimationcontroller is used to set the animation effe…… -
Android custom progress bar gradient view instance code
Recently, in the company, the project was not very busy. I occasionally saw a brother asking for help at CSDN and aske…… -
Textview font attribute setting method in Android programming (size, font, underline, background color)
This article describes the setting method of textview font attribute (size, font, underline and background color) in A…… -
Android implements code through code setting, opening WiFi hotspot and hotspot connection
Friends who use too fast teeth should know that they use a WiFi hotspot when transferring files between devices for tw…… -
Android asynchronously loading image instance code
The main process of asynchronously loading pictures is to judge whether there are pictures in the cache. If there are …… -
Android development environment configuration problem
First, download the latest version of Android SDK. However, the latest version of the SDK has clearly stated that "the…… -
Method of enabling button to have return key function in Android and rewriting return key function
The function of making the button have the return key is very simple. Add finish () to the click event; It's OK. For e…… -
Explain in detail the pit encountered by EditText using refresh in recyclerview item
Due to the needs of the work project, the evaluation function should be added after the purchase of goods, so I imitat……
