I. First, I installed ubuntu10.04 64-bit through wubi in win7. wubi can only allocate up to 30 GB space for installation. If Android compilation is required, there is not enough space, you can refer to the
1. Install JDK first:
Sudo add-Apt-repository "Deb http://us.archive.ubuntu.com/ubuntu/ hard Multiverse"
Sudo apt-Get update
Sudo apt-Get install sun-java6-jdk
After completing these three steps, we can use Java-version to check whether the
Surfaceview
This article is a secondary article of "[Android] surfaceview using instances.
This article consists of four parts. The first three parts are taken from the network, posted in the original article, and the first part is the sodino
First, such as demo_sinaweibo.gif
From, the lower half is a simple effect superposition, and the upper half is the effect of Sina Weibo loading the image display progress. The translucent area of the display progress is only overlapped with the non-
The point prompted by Lily will be presented with flowers ..
Onwindowfocuschanged (): This method is called back when the current window of the activity gets or loses focus. When this method is called back, it indicates that the activity is
First, you must know that launcher is the main screen. It is the first program loaded after the Android system is started. The main screen is divided into two parts: Workspace and hotseats, the shortcut cut is added to the workspace. You can also
If you like to get started, skip to the third section because the problem described in the second section is abstract. Ignoring the second section does not affect understanding.
A while ago, our company's app project finally solved the bug that a
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
Part 1 mathematical principles of Matrix
In Android, if you have used matrix for image processing, you must know the matrix class. The matrix in Android is a 3x3 matrix with the following content:
Matrix processing of images can be divided into
Recently, my colleague installed a weather program and found that its special effects on sunny days were very dazzling. It also appeared on the system interface. I think it is very good. It is actually very easy to study, you can change the
In the Android system, long press the power key. By default, a dialog box will pop up asking you to choose "flight mode", "mute", "shutdown", and other functions. these functions are very suitable for mobile phones, but there is no need for set-top
I use a virtual machine to run Ubuntu in windows. For details about how to use a virtual machine, refer to the articles in Ubuntu.
1. Obtain the android source code
Git is an open source distributed version control software developed by Linux
Requirement
In the past, some mobile apps wanted to obtain automated data from interfaces, such as automatic download of music files or automated combat on mobile online games,
Some IDs or session IDs change from time to time. It is too difficult to
During Android development, some programs do not need to automatically lock the screen when running, that is, keep the background light of the system on normally, to prevent exceptions during program execution, you only need to add the following
AndroidIn init. Configure socket and use in RC
Generally, the communication between native and framework is through JNI, but this is generally only the framework that calls native. How can we notify the upper layer of native if there is a message?
Understanding thread message mechanism in real life
Android has a message queue statement, which can be understood as follows: if a tunnel is a message queue, every car in it is a message queue, here, we will ignore the overtaking and other factors,
Hello everyone, today we will learn how to open a webpage through webview:
First, the layout file main. XML code:
Android: Orientation = "vertical" Android: layout_width = "fill_parent" Android: layout_height = "fill_parent" Android:
Easy thread usage (painless threading)
This article introduces the android thread model and asynctask. The following translation content:
This article discusses the thread model used for Android applications, and how the application uses worker
This article from http://blog.csdn.net/hellogv/, reference must indicate the source!
The last time I talked about how to use the gallery control, this time I will talk about the combination of gallery and imageswitcher. This article implements a
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