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
It seems that I have been studying Android development for more than half a year. Along the way, I gradually feel that the foundation is so important. some low-level errors will occur when I am doing it during the development process, after summing
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
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. Set the color of Some fonts
Pass
Spannablestringbuilder style = new spannablestringbuilder (charsequence CS );
Style. setspan (New foregroundcolorspan (color), begin, end, spannable. span_exclusive_exclusive );
TV. settext (style );
Settings.
(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
1. Customize a View File myview. Java
2. Define the custom property file values/attrs. xml
3. Use custom views and attributes in the main layout File
Xmlns: MySpace = "http://schemas.android.com/apk/res/com.example.attrtest" // Add namespace, red
Public String convertstreamtostring (inputstream is ){/** To convert the inputstream to string we use the bufferedreader. Readline ()* Method. We iterate until the bufferedreader return NULL which means* There's no more data to read. Each line will
The android. app package contains an activitygroup class, which is the activity container and can contain multiple nested activitys. This article uses the activitygroup function to nest the activity to implement the tab function. The tab UI can be
We all know that many applications will have a new feature display when they are used for the first time after installation. A good new feature display will bring a better user experience to the customer. Therefore, when we make an application, we
Preferenceactivity contains many items similar to controls to indicate different setting requirements, such as classification setting, selection box setting, drop-down list setting, edit box setting, and ringtone setting, in addition, these settings
Summarize some keywords Based on the Development basics.
Architecture:
Network, Protocol
Data Storage
Page Jump
Inter-process communication
Inter-thread Communication
Inter-page communication
SINGLE PAGE
Refresh Mechanism
Reuse Mechanism
Technical
1. What is actionbar?
If you have a picture and the truth, you will know about it.
For most applications, the Operation bar can be divided into four different functional areas.
1. Application icons
The application icon is the icon of your
Original post address: http://blog.csdn.net/Android_Tutor/archive/2010/08/24/5834246.aspx
We all know that hanlder is a bridge between threads and activities. We will use threads in many applications. Some users may improperly process the threads.
The dialog box is certainly familiar to everyone. The Windows operating system and IE browser often bring up dialog boxes. Most of these dialog boxes are modal synchronization dialogs. The so-called Mode means that the current pop-up dialog blocks
During Android development, many people use activity statck to simulate the activity stack that is invisible to the android underlying layer.
The advantages and disadvantages are not mentioned much ..
The following is an implementation.
private
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