1. All actions before the service
2. The execution sequence of each section is as follows. The Section with an English number is built-in by the system (commands written to init. C)
1) Early-init
A) wait_for_coldboot_done
B) property_init
C)
The process in Android has five levels of importance:
Foreground ProcessThe foreground process is the process currently in use by the user. Only some foreground processes can exist at any time. They are the last one ended, when the memory is low
Here are the units of measurement supportedAndroid:
(1) Px --> pixels-corresponds to actual pixels on the screen.
(2) In --> inches-based on the physical size of the screen.
(3) Mm --> millimeters-based on the physical size of the screen.
(4)
When compiling the system, we can set the default attributes for the system.
Take the generic version as an example:
Add at the end of build/target/product/generic. mk
// The default compiling mode is a Chinese system.
Custom_locales: = zh_cn
Reprinted please indicate the source: http://blog.csdn.net/guolin_blog/article/details/9316683
The main content of this article is Android Doc. I have done some processing after translation, and good English friends can directly read the original
1. windowmanagerservice
Frameworks/base/services/Java/COM/Android/Server/windowmanagerservice. Java
Dependent on inputmanager minputmanager;Generated during initialization and started with minputmanager. Start ()
2.
The default startup screen and normal display of android4.0 are rotated 180 degrees, that is, they are inverted. It turns out that the screen output is inverted. The search results show that the rotation can be performed:
Steps:
1. Add this and add
Unpack
1. view the file format: file ramdisk. img
Ramdisk. IMG: gzip compressed data, from UNIX
Ramdisk. IMG is a compressed package. Of course, ramdisk. IMG compression is not required
2. decompress the ramdisk. IMG package: gunzip-S. IMG ramdisk.
S5pv210 generates several video-related device nodes under/dev/, which are
/Dev/video0,/dev/video1,/dev/video2
/Dev/video14,/dev/video21,/dev/video22
Video0, video1, and video2 are closely related to Android camera/overlay Hal. The Hal layer
(1) switch to the tslib directory and execute the following command (taking the Marvell platform as an example)./Autogen. ShEcho "ac_cv_func_malloc_0_nonnull = yes"> arm-marvell-linux.cache./Configure -- Host = arm-Marvell-Linux-gnueabi -- prefix
Reprinted 1:
Tslib ported to Android for touchscreen calibration.
Since Android doesn' t provide a calibration tool,Tslib can be used to calibrate the touchscreen. the values obtained from ts_calibrate in pointercal file can be used in Android
The android logging system allows you to record and view system debugging information. Logs are recorded from various software and system buffers.logcatCommand to view and use.
Use the logcat command
You can uselogcatCommand to view the content of
The android application contains four build blocks:
Activity
Intent receiver er
Service
Content Provider
1 activity
In an application, an activity is usually a separate screen. Every activity is implemented as an independent class and inherits
Indicate the source and author's contact information during reprinting.Article Source: http://www.limodev.cn/blogAuthor contact: Li xianjing
FramebufferIn Android, it is not as intuitive as in other guis, and there are many abstract layers. In
Http://booktree.zhou.blog.163.com/blog/static/12418921720112995017844/
Here we use the Freescale imx_r9.2 patch-based Android source code analysis.
The recovery mode in Android should be clear and understood as Android Developers or users. Android
Every time boardconfig. mk was modified, it was silly to make clean and re-compile it. This wasted countless times. Later, I couldn't stand this kind of efficiency. I Googled it. As expected, modules can be compiled independently.
1. Go to the
I have been learning about Android WiFi for a week. Today, I will post my daily learning achievements for future reference, from the framework to the adaptation layer of wpa_supplicant (WiFi. c) There are many posts on the Internet, and they are not
Before learning intent, I would like to introduce some theoretical knowledge. It doesn't matter if you are dizzy. I will use detailed instances to explain intent (intention) to you later ).
The basic design concept of Android is to encourage the
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