Common tools for Android and common tools for Android
This section mainly describes the commonly used tool classes in Android development, most of which are also applicable to Java.Currently, these include delimiter, delimiter, ShellUtils, delimiter,
How Android controls screen lighting and disabling in activityIn Android, the power supply is controlled through various Lock locks. Note that the Lock and unlock must appear in pairs.
// Enable the always-on-screen function PowerManager pm =
Android completely exits the application, clears data, and detaches the application.
Clear application data and uninstall the application, and directly execute the command:
* String cmd = "pm clear" + packageName; or * String cmd = "pm clear" +
Android source code and Android source code
This source code project is the source code of a 3D voice balloon application. It is a very new form of weather forecast. It feels very creative. The application is mainly through the combination of
Evaluate the java array to the greatest value.
In java, the array is the best value, which is rarely used in actual development, but will be occasionally asked during the interview. This is your basic thinking ability. Now let's talk about the basic
Android Memory ManagementFirst, the Android memory management mechanism is quite complex, and it is difficult to explain clearly. Secondly, for most users, they only care about the insufficient memory. As for the technical details about how to
Android implementation sharing and precautions1. Get help documents and download relevant materials
First Open Platform: https://open.weixin.qq.com/if not registered, please first register and upload developer information for review.
Resource Center-
In the custom title bar above 4.0, the 4.0 custom title bar
Several codes to be set:
private void setCustomTitle() {requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);setContentView(R.layout.main);getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
[8] use of the injection framework RoboGuice: (Your First Injected Fragment) and roboguiceinjected
In the previous article, we briefly introduced the use of RoboGuice ([7] use of the injection framework RoboGuice :( Your First Custom Binding). Today,
Use swift to develop a dashboard control (1). Use swift to develop a dashboard control.
Shortly after Apple swift was launched, it was an occasional opportunity to access the language. When I was bored, I casually read its syntax:
In an instant, I
Android Development Series (20): Functions and usage of AutoCompleteTextView (automatically completed text box,
After you enter a certain number of characters, the automatically completed text box displays a drop-down menu for you to choose from.
Wang Liping -- split string, Wang Liping -- split stringCompile a split string splitting function in C.
This is written in c ++, but it is similar to the principle of c. I have run it. ask another question. c doesn't know whether it can run, but now
Android UI (1) image,
(1) create an image Bitmap
BitmapFactory. Options indicates how Bitmap is stored.
ALPHA_8
Only alpha value, 1 byte
ARGB_4444
Not recommended. Each ARGB occupies 4 bits, which occupies 2 bytes.
Android open-source-NineOldAndroids
Introduction:NineOldAndroids is an Android animation framework that supports development in earlier versions, including ViewAnimator, ObjectAnimator,
ViewPropertyAnimator and other APIs solve the problem that
Screen adaptation for Android mobile development and android development adaptation
For Android development, there will be screens of different sizes and density for adaptation:
Why is the screen adaptation problem of the android mobile client?
I
[Unity3D self-learning Record] uses code to modify image attributes (Inspector) and unity3dinspector
It is troublesome to package resources for a long time and change the image attributes for each import. Therefore, we have been searching for a
Android Application Development: android Network Communication and android Application Development
As we all know, Android and servers usually use HTTP and Socket communication methods, while HTTP Communication methods are divided into get and post
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service