10.04 compile the android source code:
When compiling the android source code with Ubuntu of a higher version, the most common problem is to install the GCC, G ++, and JDK of the earlier version. These are not provided for installation in the new
We know that ddms can be easily obtained.
Android
Mobile phone So how does it do it? In fact, there is a device called framebuffer on the Android mobile phone, and image information is written to the mobile phone screen through framebuffer.
Turn: http://blog.csdn.net/jiajie961/archive/2010/11/10/5999519.aspx
Because the Android system uses the Linux kernel, kernel transplantation is not much different from that of the embedded Linux kernel. The process is as follows:
(1) port the
The MAKEFILE file Android. mk of the android compilation system is written as follows:
(1) In the Android. mk file, you must specify the local_path variable to find the source file. GenerallyAndroid. mk is in the same directory as the source file to
The playback video of Android media files obtains the file metadata, which is mainly used on the mediaplayer service,
What mediaplayer client needs to do is to create a playback instance, set the location of a media file, and send a Playback command
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.
Time Measurement
In the uboot of MX51 platform, get_timer can be used to obtain accurate timing. The use of get_timer runs through the entire uboot performance adjustment process.
Performance Optimization Methods
1. reduce the size of the uboot
Original article: http://blog.csdn.net/zjujoe/article/details/6230575
Android OTA Update 3: generate recovery. img
Author: Song Lixin
Email: zjujoe@yahoo.comPreface
After obtaining the OTA update package, we can use it to upgrade the system. After
The frameworks/base/Media/libmediaplayerservice/directory is the mediaplayer server code that enables media playback, metadata retrieval, and video recording.
Mediaplayerservice is mainly implemented in mediaplayerservice. cpp and is the main
The question is a little big. In fact, the Startup Performance adjustment of kernel has nothing to do with Android. I think it should be applicable to all embedded devices using Linux.
Time Measurement
When it comes to performance adjustment, the
Recently, I was debugging the camera driver on s5pv210. Because I am not familiar with Samsung camera Hal of Android, I wrote a test program to facilitate debugging.
Because the camera drivers comply with the v4l2 standard, the test program is
Frameworks/base/libmediaplayerservice/mediaplayerservice. cpp
Because MX51 is the working platform, MX51 10.3 code is analyzed. This article mainly analyzes the code of the video play part and ignores the recorder and audio parts.
Mediaplayer
On the 1.5 platform, codec is wm9714 (wm9713 can be used for drivers). Since Android is transplanted to ALSA and Android. mid, there has been no sound.
First confirm the hardware connection of ac97, whether the AC-LINK communication is normal,
I thought it would be troublesome to support my own camera in Android. I didn't expect it to be really simple ~~~ Haha
Because there is a camera driver in wince, there is a list of directly available parameters and registers. The module is flbm26
Reprinted: http://www.2cto.com/kf/201110/106982.html
In Android, cmpxchg performs atomic operations, such as auto-addition and auto-subtraction.
Cmpxchg exists in 486 and more advanced CPUs. Other types of CPUs, such as arm, do not have this
From: http://blog.sina.com.cn/s/blog_6e15a6010100mafz.html
Android does not support the mouse by default, but the Android system will be applied to many other places, such as tablets and TVs, which often require the mouse support.
Support
The bug about gsensor has not been solved recently. Instead, the android gsensor process has been gone through. I haven't written a blog for a long time, so I can't be lazy. I still have to summarize what I learned so that later people don't have to
1. Overview
1.1 Physical Architecture
1.2 Android Architecture
2. cameraservice
3. Hal
4. Overlay
5. Video for Linux
1. Overview
This article uses Freescale IMX as an example to analyze the system architecture of the camera.
1.1 Physical
In Android, if we write a JNI program, the following crash log may often appear:
20:47:24 from 10 to 11. 527: INFO/debug (61 ): **************************************** ********10-11 20:47:24. 527: INFO/debug (61): Build fingerprint:
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