Use msysgit in Windows to download the android source code. For example, to download the base:
Git clone https://android.googlesource.com/platform/frameworks/base.git-B android-4.0.4_r1.1
Git clone
1. Use of the unlink function. The file opened in init will be deleted with Unlink. In this way, the INIT process also has the FD of this file, which can be operated. However, this file is no longer in the file system. In this way, only the INIT
Http://www.douban.com/group/topic/13498481/
JDK 1.6 is required for compiling android2.2, but if you have installed a later version of JDK, it is not as good as, how can you switch and install it, the following are the solutions to this problem:A.
1. Preface
The analysis of this demo is based on the analysis of the API demos of mapdigit.ArticleI further analyzed related knowledge points based on him.
2. Demo Effect
3. Demo Analysis
Hello World layout definition:Android: Id = "@ +
Preface
This chapter is about Android. widget. seekbar. onseekbarchangelistener, version: Android 2.2 R1, translated from madgoat, welcome to his blog: http://madgoat.cn/, thanks again madgoat! I look forward to your participation in Android API
Android game guidance (1. Create an OpenGL project) Table of Contents
1. Build an environment
2. Create an android Project
3. Establish an OpenGL program framework
1. Build an environment
My environment is Mac. In view of the many tutorials
Android follows the OpenGL es api of j2-based.
Compared with C-version OpenGL, OpenGL ES does not have a library of Glu and glut, and can only draw triangles (polygon must be triangular ).
There is no direct drawxxx method, and only glvertiexpointer
Animation type
Android animation consists of four types
In XMLAlpha gradient transparency animation effectScale scaling AnimationAnimated effect of moving the translate positionRotate screen transfer rotation animation effect
Java codeAlphaanimation
From: http://www.cnblogs.com/hangxin1940/archive/2011/10/01/2196964.html
On the first day, Google said that there would be electricity, so electricity would flow into the circuit board, and into the ARM processor, so arm was operating.
--
From: http://como0925.pixnet.net/blog/post/29390286-%5Bandroid%5D%E9%97%9C%E6%96%BCapp2sd,a2sd,data2sd,a2sd%2B%E4%B9%8B%E9%96%93%E7%9A%84%E5%8D%80%E5%88%A5%E5%92%8C
First, let's take a look at these functions. All they mean application to the SD
During the past two days, I checked the android compilation and rootfs preparation procedures, and accidentally found it in build/tools/-ADBs!
ADBs is a command line tool written in Python. Using the three tools ADB, addr2line, and objdump, you may
The use of the floating search box is not difficult, but because its configuration is very cumbersome. It is mainly used to facilitate developers to better design the UI when there is a search service in the program.
Follow these steps to use
When reading C ++ code in Android frameworks, we often encounter the use of likely and unlikely Macros in the condition judgment statement. The definitions of these two macros are as follows:
# Define likely (exp) (_ builtin_exact CT (exp )! = 0,
Frameworks/base/libs/UI/eventhub. cppAfter pressing the power key, the system writes the scancode to the corresponding device contact, frameworks/base/libs/UI/eventhub. CPP reads the device node and passes the scancode. the KL file is sent as a
Several exceptions occurred during ADB install.
Java code
Failure [install_failed_dexopt]
Java code
Failure [install_parse_failed_no_certificates]
This problem is mainly caused by signature conflicts. For example, if you use the debug
Android 2.3.4 browser used on the Samsung s5pv210 platform cannot open the webpage and then perform two-finger gesture scaling operations. It can only be scaled by a hyphen, while other platforms can, later I found the problem in
From: http://blog.csdn.net/maxleng/article/details/5490770
IPC framework analysis binder, service, service manager
First, I will look at the binder, service, and service manager from a macro perspective and describe their respective concepts. In
Android user event input path 1 General Principle of the input path key, the mouse from the collection to the final will be sent to the focus window, how to go through the path, it is a problem that needs to be considered in detail in the android
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