1. for jeallybean 4.2.2, the location of the permission list . /frameworks/base/CORE/RES/androidmanifest. XML when compiling APK ,. /out directory, some will be based on the androidmanifest of APK. XML crop the above XML to generate manifest. java
1. View. ondraw () method is a very performance-criticalpiece of code, so it's best to do as little as possible there.
• If possible, avoid doing any object allocations in the method ondraw ().
• Prefetch things such as color constants
I. Handler Introduction
There is a message queue in a thread. When there is a message in the message queue, handler will process the messages. Let's consider this scenario:
It takes a long time for us to execute a business. After execution, we need
As we all know, an activity is an interface. Multiple activities represent multiple interfaces, while switching between multiple interfaces is important in applications, when we learned about intent, we also learned how to use intent for
Generally, listview is used to display the list. Generally, the data in the list comes from the database. Therefore, we assume that a dbservice class has been implemented before, and pagecursorquery (INT offset, int length) exists in it );
For
Absolutelayout is not introduced because it has been abolished;
As long as there is an interface, there will be a layout, like swing. Although one is a desktop application and the other is a mobile application, they are similar.
1.
1. Introduction to log
View Android log information in the logcat view; (1) log. V (): Any information;
(2) log. E (): Error information;
(3) log. W (): warning information;
(4) log. I (): prompt information;
(5) log. D (): debug information;
Where:
1. Introduction to intent
If Android wants to perform any event, it must be related to intent. Intent can perform many actions, such as call, text message, and jump interface actions;
Ii. Intent inheritance Structure
Java. Lang. Object|-Android.
1. Communicate with the server
Similar to communication between browsers and servers, Android applications can also communicate with Web servers. For example, Android applications can access servlet, JSP, and images;
By specifying content-type, the
I. Introduction to binding services
As mentioned in the previous article, the service is generally enabled through startservice. When a visitor closes, the service still exists. However, if a visitor needs to communicate with the service, then we
1. Enter ddms perspective
Go to the ddms view, as shown in:
1. Devices: displays available devices, such as virtual machines or real machines, and programs of each device;
2. emulator control: ability to call and send text messages to devices;
3
If sencha is not set, it is a framework page. When you click the return key of a browser or Android, the page or the entire program will pop out.
Therefore, you need to implement the route path
I have provided a detailed description on the Internet.
Address: http://blog.sina.com.cn/s/blog_67cc6cc201014ioe.html
Memory) the CPU and memory usage is very high, which directly causes the AVD to slow down when loading the app. It is shown that when AVD is started, the interface remains in the
(Ah, I accidentally deleted this article and had to come back without backup .)
In the view-> animation of the API demo, you can find four animation demos. The first 3D translate is complicated. Finally, let's talk about it. Let's talk about 2nd
## Check whether sqlite3 is available#Sqlite3ver = 'sqlite3 -- version>/dev/null 2> & 1'Sqlite3_ OK = "yes"If [$? -Ne 0]; thenSqlite3_ OK = "no"Echo-e "\ 033 [31 m not found \ 033 [1; 34 m sqlite3 \ 033 [31 m in host, verify failed! \ 033 [0 m
Recently recommended by apprentices, interested in visual data. A language called Processing is used.
Processing is a relatively new language. It has been widely used as an alternative language for Java. The principle is that Java is used as the
We can use the code to generate hprof, then use the batch processing hprof file, and then use Memory Analyzer tool (MAT) to compare and analyze multiple hprof files.
I. Batch Processing configuration filesThe batch configuration file config. bat is
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