1.
The first most common problem is that acitivity's life cycle is believed to be memorized by friends at school, but some companies ask the service lifecycle and the two ways to start the service (StartService and Bindservice), And the difference between the two, and ask how you can get the service to start without being killed.
2.
The second often asked is the ListView, as well as the optimization of the ListView, ListView optimization is generally said to use Viewholder to reduce the use of Findviewbyid, followed by the asynchronous loading of pictures, there is a page load, If you've ever used Pullltorefresh this open source component, you can talk to the interviewer.
3.
The third is the parsing of XML, DOM,SAX,PULL,DOM4J, the general this is directly let you write, so we must write their own before the interview, followed by the JSON parsing, and let you say the difference between XML and JSON, Have time to look at Google's Gson analysis.
4.
Threads are also frequently encountered problems, that is, the relationship between Handler,looper,messagequeen and message
5.
There are often asked about the design patterns, of course, the most frequently asked is MVC, a brief introduction to MVC
6.
Say about Android Four components, this is mainly from the four components of the relationship to illustrate, is the Android design these four components are also implemented in accordance with the MVC architecture, the specific function of each component and meaning to speak
7.
The five layouts are often asked, but the absolute layout is not much used now.
8.
Oom solution, is the memory overflow problem, this is mainly loading the picture will appear, but the memory of Android is generally around 16-24m, why your picture is a little more than a bit, loading the time there was a memory overflow it, the original is because Android in the loading of images in accordance with the pixel to calculate, You can look at the picture properties to see a pixel, it may be 1024*800 these, and then use this value multiplied by the memory occupied by each pixel, the result is that you occupy the size of the memory, so often more than 1m pictures will appear such a result, then how to avoid it, you learn to compress the picture, There is also a soft reference to the picture.
9.
The database is also frequently asked questions, will give you a question directly, let you create a database, and then create a table, write some SQL statements
10.
Finally, you still need to look at some of the online more basic topics, because a lot of companies are first through the written test to interview, the test is a lot of the basic things, above those are often encountered during the interview some problems, may forget some, I remember to add, as just from Dahne out of seniors, Hope to help the learning younger brothers learn!
Rush to Daniel's Android---2014.11 months interview frequently encountered some problems