In versions earlier than 2.1, there is only one drawable. In version 2.1, there are three types: drawable-mdpi, drawable-ldpi, and drawable-hdpi. These three types are mainly used to support multi-resolution.
Differences between drawable-hdpi,
Friends who develop Android applications sometimes encounter such bugs ,,
Android. content. res. resources $ notfoundexception: string resource ID #0x0 cannot find the resource file ID #0x0
Cause analysis:
In this case, it is very likely that the
Android often has this problem during the eclipse import project. Many statements about the @ override mark error are as follows:
"Eclipse uses Java 1.5 for compilation by default when no settings are made.Code, So this problem often occurs.
The two parameters have the same meaning.
What type is match_parent?
In fact, from Android 2.2, fill_parent is renamed as match_parent.The API level is 8.In the beginning, we can directly use match_parent to replace fill_parent. In essence,
About the design pattern, MVC is used in iPhone development, while MVP (check: MVP on Android) is used in Android ). Mvvm:
Mvvm:
M: model, data model, can be simply understood as a traditional data entity, but in fact the model will be
The listener that receives text messages will always be in the background, even if
Program The listener will always exist and activate the main program when receiving the message. In general design, this is not the case because it is a waste of
The sharedpreferences provided by Android is similar to WindowsProgramCommon INI files are saved in the form of key-value (data type differentiation ). For example, it can be used to save the user's last login information, the volume setting of the
Android 3.0 and later versions support two animation modes: tween animation and Frame Animation. In android3.0, a new animation system is introduced: Property animation, these three animation modes are called property animation, view animation, and
In Android, shape is often used to define some Display Properties of the control. Today I have read some shapes and have a general understanding of shape. I would like to make a summary:
First look at the followingCode:
Copy to clipboard
I. Handler definition:It mainly accepts data sent by sub-threads and uses this data with the master thread to update the UI.Explanation: When an applicationProgramAt startup, Android will first open a main thread (that is, the UI thread). The main
This article from: http://www.apkbus.com/android-16708-1-1.html
In general, it is to develop web pages for mobile devices. With the advent of the 3G era and the continuous advancement of browser technology, more and more people begin to leave the
Skype has finally released its Android version.
If you only have Android phones, you would have to be jealous of those Android phones with iPhones or Verizon, because these phones can run Skype, you can make international long-distance calls for
Android has made remarkable achievements in the market. Especially this summer, Google released the Android 2.2 froyo update, which brings a qualitative leap to Android. However, Android is not perfect for users. The app tiger below summarizes the
Advanced UI controls
1. listview that can be pulled down and refreshed Https://github.com/chrisbanes/Android-PullToRefresh
Https://github.com/johannilsson/android-pulltorefresh
2. Indexed listview
In actual developmentLayoutinflaterThis class is very useful, and its function is similar to findviewbyid (). The difference is that layoutinflater is used to find and instantiate XML layout files under Res/layout/, while findviewbyid () is to find
This article comes fromHttp://blog.csdn.net/hellogv/, The reference must indicate the source!
There are a lot of commonly used Widgets. Now I want to talk about the commonly used widgets in mobile phone development. To understand how to draw
Document directory
Request Process
In the hardware/RIL directory, the ril driver module of Android is divided into three parts: rild, libril. so, and librefrence_ril.so, and radiooptions are available for automatic or manual debugging. All
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