Http://www.haogongju.net/art/1428426
Recently, due to work requirements, the complete Android source code is required. Therefore, when Ubuntu is installed on Vmware, downloaderror: android.googlesource.com is always failed when SYNS is used:
In
Why Android studio cannot be started in win7
If JDK is not installed, install JDK:After installation, go to the next page.
Java is available in the c: \ windows \ system32 \ directory.CMD enters the command line, and the input of Java also has a
Recently, I saw an open-source project. A fan made the android 4.1 official document into CHM, just like the JDK CHM. It is extremely convenient to access the API.
The thing is, I 've always preferred to work with documentations in Windows chm
File System
After the android source code is compiled, some files in out/target/product/generic: ramdisk. IMG, system. IMG, userdata. IMG, system, data, and root
The root, system, and Data Directories are the directories of the target root file
Many netizens complain about the official English Android developer website (AndroidDevelopers) Chinese users cannot open the game. Despite being harmonious, android123 tells everyone how to decide. In fact, GoogleThe main server of services such as
It was tested on an android 3.1 tablet of Asus. No sound was detected during the photo.
You have to play the camera sound of the system on your own.
/*** Playback System photo sound */Public void shootsound () {audiomanager Meng = (audiomanager)
Android: v2.3.41. init. after the Clinux kernel is started, init is the first Android user process system/CORE/init. CINT main (INT argc, char ** argv) {/******* create the linux root file system directory ************/mkdir ("/dev", 0755 ); mkdir ("
The specific implementation is not discussed here. The specific implementation isSystemAssociated ~~ First, anroid provides several functions for directly creating threads:Inline bool createthread (thread_func_t F, void *)
Inline bool
I (Android kernel)1. Make sure this Kernel configuration in MMC driverConfig_mmc = y# Config_mmc_debug is not setConfig_mmc_unsafe_resume = y# Config_mmc_embedded_sdio is not setConfig_mmc_paranoid_sd_init = y
## MMC/SD Card
1. Kernel supportDevice Drivers --->[*] USB support ---> USB Gadget support --->USB Peripheral Controller (s3c HS/otg usb device controller) ---> USB Gadget drivers (Android gadget) --->[*] Android gadget ADB Function[*] Android gadget mass
Android v2.3linuxv2.6.37wakelock and early_suspend can realize system wake-up and sleep functions 1. wakelockwakelock is a lock mechanism. As long as someone holds this lock, the system will not be able to sleep. wakelock has two statuses of locking
During v4l2 development, the following command identifier is generally used:
Vidioc_reqbufs: Memory Allocation
Vidioc_querybuf: converts the data cache allocated in vidioc_reqbufs to a physical address.
Vidioc_querycap: Query driver Function
I searched android from the Internet.Broadcast Mechanism, used to implement communication between different activities, or message listening, mainly to implement an activity
The response of another activity in a certain state is as
According to the company's requirements, I checked the code implementation of Android boot self-startup, using the blog Park-kongshan unlimited code.
Then I found that the startup failed. After checking for a long time, I couldn't find the cause.
Android official blog-memory Analysis of Android applications)
By Tim Bray
The Dalvik Virtual Machine supports garbage collection, but this does not mean you don't have to worry about memory management. Pay special attention to the memory usage
When Google launched the mobile device software platform Android, it once opened the SDK package to developers and promised to open all its code in the open-source license mode. Today, Google and its partners, the Open Handset Alliance has fulfilled
The Android Application Interface runs in an independent thread. However, sometimes the software needs a separate thread to process data and then update the interface. This ensures that the interface runs smoothly without affecting the user
Disclaimer: the original articles of this blog are all personal originals and are copyrighted. For more information, see http://blog.csdn.net/ml3947. for more information, visit http://www.wjfxgame.com.
At the early morning's Google I/O conference,
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