Software required: Android platform-tools http://dl-ssl.google.com/android/repository/platform-tools_r03-linux.zip
1. DownloadDecompress the above software
# UnzipPlatform-tools_r03-linux.zip
2. Add the path to the PATH variable.
# Vim ~ /.
Nokia rejects android
Article/author of rush to digitalization
I can drop Cao, But the Lord cannot.
This is a famous saying that Lu Su made up his mind to resist Cao on the eve of the Chibi war. It is very appropriate to use it today.
This is not a
In the natural state, the coordinate system takes the upper left corner of the screen as the origin, the right is the X positive axis, and the down is the y positive axis. How can we achieve this by translating the origin of the coordinate system to
There are four ways to implement the composite controls of image and text. The first method is to use Gallery.
Part 1: Create a layout file to add text to images. The name is pic_text.xml and the content is:
Part 2: Layout file of the entire
Compile the android2.3.4 source code on fedora 14 (32-bit) and customize the compilation records of the vendor.
Preparation: Download the android 2.3.4 source code and the 2.3.4 source code provided by friendly T.
Tool: friendly cross-compilation
1. X. SH is the script for dropping the current process X, because there are inevitably a lot of processes for restarting the application during debugging. Writing this part into the script saves you the need to go back every time. Of course, mainly
1. There are many online tutorials for compiling the kernel.
2. after the source code is compiled, the IMG image and some tools will be generated under the corresponding directory. Most of the practices on the Internet are to import environment
The audiomanager class is located in the Android. Media package, which provides operations to control the volume and audible mode.
Note: UseContext.getSystemService(Context.AUDIO_SERVICE)To get an instance of this class.
Therefore, we can use the
Question:Briefly describe the differences between string, stringbuffer and stringbuilder, and explain why string is immutable.
Analysis:The main differences between the preceding three types of strings are as follows:
String: A String constant
I have never remembered how many times did Android fail to complete his homework because he was lying in front of a computer, and how many times worried about whether he was able to pass the course, which often points to the classic game Red Police.
The following content is reproduced from: http://shazhuzhu1.iteye.com/blog/1095694
Android calls system programs
1. Search for content from Google
Intent intent = new intent ();
Intent. setaction (intent. action_web_search );
Intent. putextra
Add the following two sentences to the android program: to downgrade the version, you must add
Strictmode. setthreadpolicy (New strictmode. threadpolicy. Builder (). detectdiskreads (). detectdiskwrites (). detectnetwork (). penaltylog (). Build ());
If you have installed eclipse, Adt, and Android SDK, you must configure the following:
1. m2eclipseEclipse plug-in address: http://m2eclipse.sonatype.org/sites/m2eIf you do not know, search for how to install the Eclipse plug-in online.
2. MAVENIn
Http://source.android.com/source/version-control.html
Android uses Git as a code management tool and developed Gerrit for code review to better manage code in a centralized manner. It also developed the repo command line tool to encapsulate some git
Download the base64.java File
Http://iharder.sourceforge.net/current/java/base64/, do not go to the client and server.1> we know that files can be uploaded on the Web through Apache projects, so you can upload files to the server in Android, but
I believe many of my friends have made Android music players, but will it be monotonous to play songs? Many of my friends have thought about synchronizing the lyrics, so I will share my personal experience with you;
In fact, the process of
We need start a new process when we tap application launcher or start a new service which is in a different process. this artical will describe how a new process is created but no matter whoever the caller is.
1. startprocesslocked in
A few days ago, I downloaded the source code of Android 2.3.1 and compiled it on Ubuntu 10.04 (32-bit. This article briefly records the download and compilation processes.
There are many articles about how to build an android development
1. Add two parts in androidmanifest. xml:
(1)
This is to be added to the label and declared before the four components.
(2)
This is written outside the label. Note that the name and targetpackage are required, and the content of
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