1. Brief description of activity life cycle
When Onreate () is created, OnStart () starts Onresume () when interacting with the user, the Onrestart () activity is called before it is started again (), the current activity is paused, and another activity is invoked at startup. Onstop () Called when activity becomes invisible, ondestory () is called before the activity is destroyed
2. Which two streams are read and written by Object objects
ObjectInputStream ObjectOutputStream
3. Your view of Android system; Talk about his pros and cons.
This wood has written
4, intent start activity there are several ways, please describe separately
Three, one is to use the class call directly, and the second is to use the package name plus the class name call three is the action stealth call
5, the ListView How to deal with a large number of loading data, such as 100,000 data, you in the ListView How to deal with, you can not be a one-way down
It's jammed. I made a mistake about what he meant, I said to the data do not load, can be based on the screen size of the phone to pull a few data, and then need to pull down to the server to fetch data; in fact, he meant
For example, pull 100,000 of these 100,000 how to deal with, you are pulling a few data and then put the data released the previous days, or has been on the screen, the data on the screen is how to handle, ListView data A multi-response program performance Brother instant Egg broken, which idiot will always pull 100,000 data has been pulled down to see Ah; No way to go home Baidu
6. Brief introduction of Android application structure
I have directly written code blocks, resource files, Androidmanifest.xml
7, how to stop activity, multiple activity how to safely exit
8, Contentvalues and map similar, key is not any type, value is not any type
(This brother is really wood to pay attention to AH) moral integrity again broken AH
Key is a string type and value is the base type
9. What kinds of layouts are commonly used in Android, please describe
Linear layout, relative layout, table layout, zhen layout, absolute layout
10, please say contentprovider how to achieve data sharing.
Brother wrote a simple and clear set a contentprovider, such as the implementation of the parent class additions and deletions method, and then in Androidmanifest.xml (this English will not write I directly use the main configuration file instead of estimating the interviewer to see the egg pain) file registration, And bind a URI to expose the data, and need to get the data to invoke the Contentresolver method by acquiring the
11, service How to start and stop, there are several
Two kinds of startservice, StopService, Bindservice, Unbindservice (elder brother Remember this seems to have lifted the service binding service does not seem to stop)
12. How the activity is set into windowed mode
Android:theme= "Android:stype/theme.dialog"
This is the interview of a Shanghai company to pay to remember the Android so much, there are styles, SQL statements and so on
Keep working hard next week ...
Android face Test (with detailed answers)