Enter edit mode and enter at the beginning of the current line
A
go to edit mode and enter at the end of the current line
O
Enter edit mode , starting at the next line of the current line
O
Enter edit mode , starting at the top line of the current line
: (colon)
Enter Command mode
W
Save File
Q
Exit the VIM editor
Q!
Force exit from the Vim editor without sav
Reference: http://linux.chinaunix.net/techdoc/beginner/2009/02/06/1060906.shtml
Running Environment: ubuntu8.10
1. Build a cross-compilation environmentAndroid's default hardware processor is arm, so we need to build a cross-compilation environment on our host machine. Come to codesourcery (http://www.codesourcery.com/gnu_toolchains/arm/download.html), click the link corresponding to GNU/Linux, and then click the ia32 GNU/
Drivers
The first 5 steps above are the next three steps in how to write a Linux driver to make Linux drivers work correctly. 6.3 First Linux Driver: Count the number of words1. first establish The directory where the Linux driver is stored, and then create the source code file. Finally write a makefile file2. w
This article is reproduced from:Link Click to open linkOn the Linux multi-Touch protocol, you can refer to the documentation in kernel: Https://www.kernel.org/doc/Documentation/input/multi-touch-protocol.txt, which is based on practical examples to understand the multi-touch protocol.There are two kinds of multi-touch protocols, a protocol and B protocol.First of all, a protocol, the agreement said the paper format is this, take two points as an examp
://hi.baidu.com/kellyvivian/blog/item/5ea8244b91e20c3aafc3ab95.html
V4l2 driver Write article 5 B-Protocol of format: http://www.usr.cc/forum-redirect-goto-nextnewset-tid-1901.html
Let's discuss the programming of video for Linux:Http://www.linuxsir.org/bbs/printthread.php? T = 113708 PP = 40
Introduction to the camera architecture of Android:
Http://dev.10086.cn/cmdn/bbs/viewthread.php? Tid = 7189 Highlight = A
This has been done before, also wrote an article. It was just three years ago. Recently toss again, found three years of change is quite big, decided to write another article. (or Archlinuxarm)First use Cpu-z to view the hardware architecture of the (rooted) Android device, and then download a tarball of the base system for the corresponding architecture on the official website. Then get a EXT3/EXT4 file system on the device and unzip it inside.If you
If your Linux machine is 32-bit, you will get an error when running the Android emulator as follows:Error:32-bit Linux Android Emulator binaries is DEPRECATED, to use themYou'll have the least one of the following:-Use the '-force-32bit ' option when invoking ' Emulator '.-Set android_emulator_force_32bit to ' true ' i
Android Studio to be self-Baidu, and the SDK JDK must be configured.2. Download NDK: Select the appropriate NDK download on the official website, and after downloading, execute the commandchmod a+x android-ndk-xxx.bin. /android-ndk-r10c-xxx.binNDK will automatically unzip to the new directory3. Configure the NDK environment variables1 Export android_ndk=/home/li
The underlying task management and driver of Android are based on the Linux system;
The file system used in Linux is very different from that used in Windows (storage file system). It uses the root file system (rootfs) and has the following features:
All resources in Linux are files, such as disks, USB flash dri
Greg Kroah-Harman, the Linux kernel maintainer, once announced that the Android core code of the Google smartphone operating system will be deleted starting from Linux 2.6.33. Many people are very concerned about this. After all, Google Android has been well evaluated. As a member of
1. Power Management Status
The android Linux Kernel provides four power states for the system. the source code of the kernel defines the names and corresponding macros For the three of them. The names are defined in kernel/power/suspend. C:
const char *const pm_states[PM_SUSPEND_MAX] = {#ifdef CONFIG_EARLYSUSPEND[PM_SUSPEND_ON]= "on",#endif[PM_SUSPEND_STANDBY]= "standby",[PM_SUSPEND_MEM]= "mem",};
The c
Previously, the company's development environment was replaced by the Ubuntu Kylin with Arch Linux. and arch under the various problems of the company's code has been compiled just to go. After the fix has also been forgotten to write down, hoping to give the same under the Arch of Android Development of an alternative to help it. The Android version number compi
Install Android Studio and ubuntuandroid on Ubuntu (Linux) Install JDK
For more information, see my previous blog post: Install JDK on Ubuntu (Linux.
If you have completed this part, you can directly jump to the next section.
Download Android Studio
1. First download the installation package from the
The Inputreader of the former Linux/android--input System (vii) introduces the operation flow of Inputreader, how to get the events to the preliminary distribution, then analyze to Inputmapper to do the first step of processing.The previous article has resolved the mapper type of dependency rules, do not restate. Here is an example of a touch screen input_device corresponding singletouchinputmapper.Writing
Linux ubuntu64-bit android is not used (adb cannot be used): When the adb command fails to run, it cannot run in the directory of the file, the prompt "www.2cto.com does not have this file or directory", but it was OK before, and it has been unclear. Later, I asked my colleagues in the company to finally solve the problem, it turns out that ia32-libs does not install ia32-libs is
Let the libc of Android coexist with the standard libc, and let the CProgramRun together.
In the past, some people always said that the C program can only be statically linked to andriod. Actually, it is not. andriod C
It can be compiled into dynamic links using the tool chain provided by andriod. If you use other arm GCC, you can only
Compiled to static. But, ....
Today, I saw Dynamic Links, instead of using the andriod tool chain, but using th
action sending. For more information about device registration, reporting, and parameter definitions on the touch screen, see related blog posts. Recommended http://blog.csdn.net/andyhuabing/article/details/7085725 here
Specifically, we need to pay attention to three main points: one is the bus of the device, the connection method of the device, and the deshake processing of the device.
Connection Method
The connection method here mainly introduces the gpio method. This method is relatively sim
Android system development (6)-underlying Linux Input and Output1. The operating system architecture computer is composed of a pile of hardware. The operating system is used to effectively control these hardware resources. In addition to effectively controlling the allocation of these hardware resources and providing the functions required for computer operation, the operating system provides an environment
Developing android programs is certainly the best if you can use a real machine.In linux, android phones do not use drivers to connect to linux. Unfortunately, they cannot be identified in eclipse. However, you only need the following sentence to solve the problem.1. First, we need to use the following command to monit
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.