Android emulator is based on the qemu virtual machine. The entire android stack (including Linux kernel) runs on this virtual machine. Emulator requires a configuration file to specify the shape of the simulated mobile phone and the ram size. These
In the previous article, I talked about how to use JNI for h264 encoding, but the efficiency is not very practical.
After several days of hard work, refer to the real-time coding problem of Android with reference to http://www.javaeye.com/problems/27
Compile Android source code
Android compilation details are provided on the official website of Android.
Http://source.android.com/source/building.html
Initialize the compiling environment
Switch to the android source code directory:
$ cd
Reprinted please indicate the source:Http://blog.csdn.net/qinjuning
For the use of packagemanager and activitymanager, I have also written some demos. Basically, the lines I have written refer to
If you are really interested in the application,
Recently, GPS is being used on Android. It is always difficult to get up or down, no data, and debugging is in progress. Therefore, we carefully analyzed the code from top to bottom. The soul function is
The requestlocationupdates function is mainly
To add a photo frame, you can create a bitmap and instantiate a canvas accordingly. Then draw the source image and the frame in sequence.
In the onpicturetaken () function, obtain the original bitmap, get the photo frame, and then call the fusion
Recently, sans serif, a Google Engineer, published a blog post describing the Android system architecture very clearly. Huang Xiaoqing, President of China Mobile Communications Research Institute, recommended this article on Sina Weibo, I think the
Software Description:
The Beijing Social Security Service Platform provides the Personal Social Insurance Inquiry Service in Beijing, which is always the latest free data, including basic personal information query, Social Security Statement query
There have been too many trivial matters recently and there is no time to write a blog. Continue to write the android driver for development and debugging.
This chapter focuses on how to test the driver.
1. Simple driver test
In the previous
The monkey test was used before the company's project was launched recently. This error always occurred: exception: view not attached to window manager. This error occurs when the dismiss method of dialog is called when the activity disappears. My
1. smali-1.2.6.jar
Purpose: Convert the. smali file to the classes. Dex file.
Note: The. smali file, similar to the. Class file, can be viewed and modified in a common text editor.
Example: command line:Java-jar smali. Jar classout/-O classes.
Today, a small project is finally settled. Although my work in it is very simple, I still have some experiences and want to share with you.
First, we need to know why the driver in the Linux kernel can be compiled into the kernel. Here there are two
Keywords: Android 4.0 mobile network Mobile NetworksPlatform information:Kernel: linux2.6/linux3.0System: Android/android4.0Platform: s5pv310 (Samsung exynos4210)
Author: xubin341719 (You are welcome to reprint it. Please note the author)
Debug the 3
I. Exceptions
1. Do not ignore Exception Handling
If the following code is used to empty the exception after catch, it will make people feel the same as planting mines:
Incorrect practice:
void setServerPort(String value) {
try {
Author: codejoker 9/26/2009
DnsmaqsIt is a lightweight and easy-to-configure DNS proxy and DHCP service software that can provide DNS (or DHCP) Services for a small network. this article describes how to port it to the Android platform.
1.
Recently, I have studied the real-time video network transmission problem of Android. I have spent a lot of effort on video processing. I have summarized the following five solutions and compared them.
Take video transmission of 320x240 as an
The full name of ddms is Dalvik debug monitor service,
Port forwarding service, which can make ddms a proxy for IDE and devices
Mobile phone device Screen
Device thread and stack information
Log Information
Process Information
Broadcast
1: CP vendor_xxxx_product_xxxx.idc frameworks/base/data/keyboards/
2: add the vendor_xxxx_product_xxxx.idc file to the vim common. mk file, and then make-J8;
3: suddenly came up with a method to imitate file addition in Linux and Android source
Recently, I encountered the application class in the project. I didn't know how to use it at first. I learned how to use it. For example, if you want to use global variables in the entire application, static variables and public variables are
Tasks, processes, and threadsThe components and Applications in Android are mostly static. When an application runs, it will inevitably need to care about the concept of processes and threads. In Android, the most distinctive concept in the Dynamic
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