1. Only view the log of a tag
The syntax of the logcat filter is Tag: priority, that is, logcat-s "tag: Priority"The tag is the first parameter of log. I or log. D.
For example: log. I ("mytest", "This is a log .");
The filter is:
V verboseD
Display androidx86 landscapeUsing virtualbox as an Example
By default, this version of Android is displayed on a horizontal screen.
This interface is very uncomfortable, especially during debugging.ProgramHow can we display the following size?
Rockie's Android porting guide (1) -- build your own board
Rockie Cheng
Download Android codes from Google git!(1) execute in the android source code directory (why is it executed every time ?)
. Build/envsetup. Sh
(2) create your own
During the compilation process, Android will select the corresponding defconfig File Based on the kernel_defconfig: = xxxxxx_defconfig in the corresponding boardconfig. mk project for Kernel compilation.
We will see that the arch/ARM/configs/xxxxxx_
In view of the various issues raised in the use of Android-x86, we hereby summarize as follows:
1. Network Problems
This problem has been said many times! First, you have to report that you chose the bridging mode when creating the VM! (Of
AndroidCreate menu.
-Study Notes (Jin haijian)
You can use menuinflater to load menus from resources or create menus dynamically.
Method 1: menuinflaterCreate menu
UseMenuinflaterThe menuinflater interface is used to instantiate the menu XML file to
Each version update of Android has many new features that are expected, along with the addition of new classes or enhancement of some class functions in the API.However, compatibility issues will be added. For example, after Android, you can
Before reading this blog post, you need a little bit of Basic Java knowledge.
1. The role of referencequeue is explained in depth in my previous blog.
2. A brief introduction to the LRU algorithm. Here I recommend two blog posts to quickly
Cross-compilation environment settings:
Add the cross-compiling environment variable to the current user's home directory:
Open ~ /. Bashrc and add the path of my compiler at the end:
# Cross_compile_envExport arch = "arm"Export cross_compile = "
There are many data storage methods in Android. The local storage methods are summarized as follows: (1) data is stored in files through file storage. (2) SQLite storage, a micro-database on Android, although small, is nothing more than a tiny
Put a file to the/cache partition by yourself. After restarting, the file disappears. How does it disappear?
Step 1.
Packages \ providers \ downloadprovider \ SRC \ com \ Android \ providers \ downloads \ storagemanager. Java:
[HTML]
View
1. How do I set images of different sizes to display on the screen of a mobile phone?
Http://topic.csdn.net/u/20101112/16/df392ae4-42e2-4fe3-bcb9-98c8c2430d52.html? 14958
2. Explanation of Android layout
Article Source: http://blog.csdn.net/dany1202/archive/2011/01/26/6164450.aspx
1. Start camera1. An activity starts the call process:Oncreate () --> onstart () --> onresume ()Oncreate ():1. You can add the layout file and draw the interface.2.
Sometimes you want to do something after startup, such as creating directories on sdcard and modifying/Data Access Permissions, which can be put in init. how can I do this in RC? recently, due to the need of my work, I have made some research in
From: http://blog.csdn.net/itachi85/article/details/8278362
The following is a brief diagram of the framework:
Call the method in mediarecorder. Java, such as the start method, and call JNI:
That is, the start method of android_media_recorder.cpp
From: http://www.android100.org/html/201302/18/1625.html
Overview of mediarecorderAndroid mediarecorder includes the recording functions of audio and video. On the android interface, both the music and video applications call mediarecorder.
Document directory
1 Overview
2 libui Library
3. display the output and hardware interfaces
1 Overview
The android GUI system consists of a C language framework and a Java language framework. For the lower layer, the android GUI system calls
In initial contactAndroidWhen the camera is previewed, only black and white movies are displayed. These days are a little idle and I decided to study this. AboutAndroid cameraThe simulator uses a virtualCamera ----- fakecameraEveryone should know
Android has been transplanted recently. When android can run on a device, the first thing that comes to mind is to run the audio device. "No sound, no good drama ". This article briefly introducesAndroid audio adaptation layer.The world's audio
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