Android interview summary, android interview
Questions encountered during the interview: http ://
1. asynchronous loading of ListView
ListView asynchronously loads network images, uses the cache mechanism and thread pool to load network images, reads memory cache, File Cache, and downloads images over the network. LinkedHashMap is strongly referenced. SoftHashMap is soft referenced to listen to the scrolling status of ListView for better system variable collection. SCROLL_STATE_FLING, SCROLL_STATE_IDLE SCROLL_STATE_TOUCH_SCROLL proportional image compression, thread pool control OOM, two articles:
Http://blog.csdn.net/zircon_1973/article/details/7693839
Http://heisedeyueya.iteye.com/blog/1692192
2. Two important methods for ListView Adapter: getView () and getCount ()
Http://blog.csdn.net/veryitman/article/details/6959017
Http://blog.csdn.net/veryitman/article/details/6960936
3. Android version update
Http://blog.csdn.net/jj120522/article/details/7948554
4. Android Animation
Frame Animation: http://blog.csdn.net/liuhe688/article/details/6657776
Tween animation: http://blog.csdn.net/liuhe688/article/details/6660823
5. Differences between AsyncTask and Handler
Http://blog.csdn.net/tdk133/article/details/7613474
Recently, I am looking for android development. I have summarized some questions that I still don't know. I hope you can answer them one by one.
1. Write a service and the application uses createservice
2. The runtime is generally based on uid, and the file system has the same permissions as linux.
3. You can know the class name or how to write the specific manifest.
4 loose is a thread that processes the message in message queue cyclically, while handler is a class for the methods related to message sending.
5. pipe is not clear about the binder Mechanism. The socket uses sockets to send content for ipc. The binder uses shared memory and servicemanager as the service manager.
6 surfaceflinger manages windows,
7. bionic is a simplified version of glic.
What do I need to know about Android interviews?
I have knowledge about android components. For example, are services in a new thread? There are several Service startup methods. What are the differences between them, describes the lifecycle of an Activity. There are a lot of examples of Activity instantiation strategies, as well as the benefits of using Intent... and so on. You cannot list them all at once. This requires a good basic knowledge. But fortunately, during our android training, Mr. Li Gang (author of crazy java series) introduced this.