Android Basics
What are the four components of Android?
Activity,service,broadcast and Contentprovide
What are the common container layouts for Android?
Framelayout, Linenarlayout,relativelayout
What methods are typically overloaded by activity to maintain their life cycle?
7 of them. OnCreate (), OnStart (), Onresume (), OnPause (), OnStop (), Ondestory (), Onrestart ()
What happens is that OnPause is executed and OnStop is not executed.
Activity is covered by another activity with transparent areas.
What are the methods of data storage for Android?
Sharedpreference, files, SQlite, ContentProvider, network
Which of the following statements is correct about Android memory recycling? (B)
A, the programmer must create a thread to free up memory
B, Memory Recovery program is responsible for releasing useless memory
C, Memory recycle program allows the programmer to free memory directly
D, Memory recycle program can free memory objects at specified time
Reference:
- 71 Classic Android Face questions and Answers
Android Project Development Knowledge
- What is the MVC model?
What are the most important external documents for Android development?
1, the Product manager's interactive document
2. UI designer's visual design document
3. Service-side interface documentation for back-end engineers
What are the most common Android data formats?
JSON, XML
What open source frameworks have you worked with?
Common: Afinal, XUTILS3, Thinkandroid, Loonandroid, kjframeforandroid
What graphics do you use to load the framework, and what is the rationale for it?
Common: Picasso (square provided), Android-universal-image-loader, Volley imageloader (provided by Google), Fresco (provided by Facebook), Glide
Which networks have you used to load libraries? What are their advantages?
Some frameworks are available. Other non-frame libraries have OkHttp (square), Litehttp, REST
What ORM libraries have you used? What is the principle of them?
Some frameworks are available. Other non-frame libraries have liteorm.
What cache management libraries have you used? What is the principle of them?
Some frameworks are available. Other non-frame libraries have asimplecache and Disklrucache.
Android Test and interview points