1. Understand two concepts: Abstraction and Derivation
Abstraction: Extracts commonalities from similar things and obtains a similar structure.
Derivative: Based on the abstract structure, add other functions to get specific things.
2. System
The significance of modifying the host in the great tianchao is self-evident. You must be clear about what you can do by modifying the host. For example, if the famous Motorola mobile Forum itfunz crashes, you can log on to the host by modifying the
Today, I read about Android programming and thought it was very troublesome. But after a careful look, it was all about Java. After so many years of development, it was just a piece of cake for me, it is extremely simple. Next we will build the
During this time, I have been learning about andengine and developed a tower guard game "android defensive warfare".
Can be learned and used :)
The following is an introduction to the game. If you are interested, you can come and play it.
This popular article on the csdn blog introduces 10 blogs about Android Application Development and shares their accumulated experience.ArticleIt is helpful for Android Developers.
[1] Zhang Guowei: Android from entry to upgrade Series
I have
Convenient and practical tools.When you think of something you want to buy, you can use its voice input function to quickly record it, so that the next time you go to the supermarket, you just need to refer to this list, there will be no
List (listview), table (gridview), which must be indispensable in mobile apps. How to implement a more complex interface? Let's take a look at my.
This layout is the most basic and commonly used. There are many implementation methods for such
* Similarities between Res/raw and assets:
1. Files in the two directories will be stored in the APK package intact after packaging, and will not be compiled into binary.
* Differences between Res/raw and assets: 1. files in RES/RAW will be
In the layout, edittext is often used in the android layout, and the content entered in edittext is often restricted. We can use textwatcher to observe the content entered in the input box and take notes.
Main layout:
Android: Orientation =
Home Key (small house key)
The Home Key is mapped on the keyboard, which is quite memorable.
Menu key
The button used to open the menu. The F2 key is mapped to the keyboard, and the pgup key is also supported. In addition, it seems that this
Here, we have integrated the three types of information used to obtain the webpage content. We have already processed the preceding three methods for submitting and uploading files through a form. Now we have integrated these three methods into one,
Original article:Http://blog.csdn.net/hongchangfirst/article/details/7934759
Author:Hongchangfirst
The PC can access the Internet, while the android simulator on the PC cannot access the Internet. As longThe simulator is the same as your PC.In
Listview is a common space in Android.However, its height is sometimes difficult to control.If the layout contains , include the listview. The height of a unit is changed to the height of a unit.Solution
/*** Set the height of the list box to solve
In the APK Resource Package
When the screen density is 240, resources that use the hdpi label use the ldpi label when the screen density is 160 and the resources that use the mdpi label use the ldpi label when the screen density is 120. Resources
Document directory
1. image rotation:
2. Obtain the mobile phone number:
3. format the string in string. xml:
4. How to set full screen for Android:
5. Set activity to dialog:
6. Check whether the current network is connected:
7. Check
If selector is set to null in listview, a null pointer is returned?Mlistview. setselector (null); // NULL pointerTry the following:Mlistview. setselector (New colordrawable (color. Transparent ));How can I select an item during listview
I have always wanted to know how to add advertisements to Android apps. I used my spare time to find a very useful advertisement platform in China called "universal Century" (you can click to learn more ), A small application was added to the
When learning the operating system, we know that there is an interrupt mechanism when the cup processes transactions to facilitate transaction switching and the process of Interrupt Processing: 1) Wake up the blocked Driver (Program) process; 2)
Android uses the SQLite library to provide complete relational database capabilities without imposing additional restrictions.
Using SQLite, you can create independent and associated databases for each application. They are used to store and
A good habit is to create a helper class to simplify your database interaction.
Consider creating a database adapter to add a packaging layer that interacts with the database. It should provide intuitive and strong-type methods, such as adding,
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