Your own summary of the problems and methods that often appear in Android1. Error: Build FAILEDD:\workspace\ganji\build.xml:144:the following error occurred while executing this line:
d:\workspace\ganji\build.xml:271:unable to delete file
1.Android Mobile phone driver end:
[GB Version]
File to Modify:alps\mediatek\custom\[chip]\kernel\usb\src\mtk_usb_custom.h
modification:vendor_id
[ICS and JB Version]
File to Modify:alps\mediatek\config\[chip]\init.usb.rc
Modification:sys.usb.vid
2:
first, ahead
In the study of "Android similar to the 360,qq Butler Suspension window" whim, want to apply the icon also displayed to the status bar, similar to mobile phone QQ, and when the message to change the status bar icon display.
Second,
In the last article I took you all together to achieve the effect of the Android waterfall flow photo wall, although this effect is very cool, but in fact, it is only a semi-finished product, because all the pictures in the wall of the picture is
This article summarizes the common intent action features of Android. Share to everyone for your reference, specific as follows:
Android's basic design philosophy is to encourage the reduction of coupling between components, so Android provides
Objective
Android custom controls often use canvas to draw 2D graphics and must be proficient in canvas drawing mechanisms before optimizing their own custom control skills. This paper explains the canvas drawing mechanism from the following three
Canvas, in English, the word means canvas. In Android, Canvas is used as a canvas, so long as we can draw anything we want on the canvas with the help of a set brush (Paint Class), it is also the core class for displaying bitmaps (bitmap classes).
Adapter mode is an important design pattern and has been widely used in Android. Adapters are similar to the plugs in the real world, and through adapters we can combine two different types of data that are classified into different classes without
A few days ago boss on the response that the machine every start program will flash a black screen, this customer does not accept. No way, can only think how to solve, finally found the following method. The main reason for flashing black screen is
First of all, "hungry." Navigation tab bar suspension effect diagram.
You can see that the "category", "Sort", and "filter" in the above image is suspended at the top of the app, and the state changes with ScrollView (or maybe not scrollview,
The code is as follows:
Copy Code code as follows:
public static final String playstate_changed = "com.android.music.playstatechanged";
public static final String meta_changed = "com.android.music.metachanged";
public static final
This article introduces some of the relevant knowledge of Android app startup, including app startup, app startup and App startup optimization!
App application startup mode
1. Cold start
When the application is started, the background does not
Filter out other players and use my own player to do
Copy Code code as follows:
Wv.setwebviewclient (New Webviewclient () {
Public boolean shouldoverrideurlloading (final WebView view,
Final String URL) {
if (Url.contains ("3gp") |
One, the effect demonstration
The project used a Gaussian blur effect, looked over some data, considering the performance of the final choice to use the Android Renderscript Library to achieve, on the use of renderscript to achieve a Gaussian blur
An introduction to this class in the API is basically this is a view that can display a Web page, such as:
Webview.loadurl (http://www.baidu.com/);
Show Results:
You can also load some HTML strings, such as:
String str = "you
Android Grab Pack Preparation1. Android phones need to have root access first. A test method that obtains root permissions: Installs and opens terminal simulators (available through channels such as the Android Market). In the Terminal simulator
Objective
I believe a lot of Android developers have encountered this requirement:
1. Implementation of a splash interface, the interface has application-related background picture and a Start button.2. Click on the button to enter the home page,
Products to do check-in function, check-in function to be based on a calendar, so on the basis of custom customized a calendar
Custom controls believe that doing Android knows:
(1) First create a class, inherit a container class, or a control
(2
Sometimes our applications need to invoke applications that others have already written (provided that they are already installed on the user's phone). Their application a calls their own application B, there are more methods, for example, in the
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.