The fire of Android is indeed fierce enough. As the saying goes: Mu Xiuyu Lin, a must-have character, can be easily used on Android.
Due to the recent focus on the android architecture, you may not have to go online to view information, and
Chapter 1 kernel mechanism and structure analysis of Android is full of "very simple" and there is no need to introduce it if it is simple. Besides, these simpleCode, Called manyProgramIt may not be well written.
Chapter 2: Analysis of Several CPP
* #4636 #*#*
Displays mobile phone information, battery information, battery records, usage statistics, and Wi-Fi information.
* #7780 #*#*
Resetting to the original factory will not delete the preset program and SD card files.
* 2767*3855
This article describes in detail how to decompile Android programs.APK File FormatAndroid Application Package file. Every application to be installed on the Android platform must be compiled into a single file with the suffix .apk, which contains
Android custom progress bar color
First look at the figure
I always asked a variety of requirements. I think the default color of the system is quite good, but the PK is not good. sleeping is not a requirement. Let's change it!
You can only view
Even if your application is fast and responsive, some designs still pose problems to users-unexpected data loss due to unplanned interaction with other applications or dialogs, unexpected blocking and so on. Avoiding these problems helps you
In a project, to exit the android program, try restartpackage, killbackgroundprocesses, and re-register the thread in the application subclass through exceptions. uncaughtexceptionhandler interface + exception mode, and so on, all have no
1. Read Android Kernel Analysis.
2. Basic concepts of the UI framework:
Activity: A Basic page unit. Activity contains a window, which can be used to draw various views.
View: the most basic UI component, indicating a rectangular area on the screen;
Compiling environment
VM + ubuntu12.04 64bit + Android ics4.0 code
This error occurs during source code compilation.
/Usr/bin/lD. BFD. Real: cannot find-lgl
/Usr/bin/lD. BFD. Real: cannot find-lx11
According to most of the online statements and the
Ant is a good cross-platform build tool, especially for Java projects. It is very convenient to use it to automatically build Android projects. Generally, to build an android project, follow these steps:
Use aapt to compile the project to generate
Recently I just switched to an Android mobile phone. Because the touch screen typing speed is not flattering, I don't want to import several frequently-used phone numbers. In order to do this all, write a tool to import contacts in TXT format. (It
The following is a demo. The Android client communicates with the server through socket.
Because the java. Io. * package and java.net. * package can be fully used in Android, the logic part is actually no different from j2se. But the UI code is
1. Analysis of kernel and Hal Interfaces
The kernel and Hal interfaces are implemented through a system file under/sys/power, such as/sys/power/state.
The file implementation process in/sys/power in kernel is as follows:
1. sysfs attribute File
In
Document directory
3.1 prepare and freeze the process (suspend_prepare)
3.2 suspend external device (suspend_devices_and_enter)
3.3 suspend end (suspend_finish)
1. Introduction to Linux suspend
Linux suspend consists of the following three
Hello everyone, this section describes the conversion of mobile phone pages.SetcontentviewIn the world of web pages, to switch between two pages, you only need to use hyperlinks,
But in the world of mobile phones, how can we convert mobile pages?
1. How to load JNI Lib in Android
The Android system can load JNI lib using the following two methods:
1) Use jni_onload
2) If JNI lib does not define jni_onload, DVM calls dvmresolvenativemethod for dynamic parsing.
2. jni_onload
The calling
Document directory
Valid and invalid states
How can I get the total length and current playback Time of the current video?
Valid and invalid states
Method Name
Valid Sates
Invalid states
Comments
Attachauxeffect
Disclaimer: This article is translated from Guide/topics/UI/dialogs.html In the android SDK documentation.
A dialog is usually a small window in front of the current activity. When a dialog is displayed, the activity partially covered by the
The last time the custom control refreshes any part of the screen. If a textview is placed under the custom control in XML, this textview cannot be displayed, the previous custom controls are
Why? Onmeasure ()
Override the onmeasure Method Based on
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