Android Interview Summary

Source: Internet
Author: User

First, the choice question

  1. Android's four main layouts: LinearLayout, Tablelayout, Framelayout, Relativelayout.
  2. The four components of Android: Activity,service Service, content provider contents provider, Broadcastreceiver broadcast receiver.
  3. reader and Writer in the Java.io installation package are used primarily for reading and writing objects (Obeject).
  4. The service implementation methods in Android are StartService () and Bindservice ().
  5. Activity typically overloads 7 methods to maintain its lifetime, in addition to onCreate (), OnStart (), Ondestory () , Onrestart, Onresume, OnPause, OnStop .
  6. Android's data is stored in sharedpreferences,SQLite,contentprovider , and File.
  7. When an activity is started and a new activity execution completes, the callback function that returns the activity that initiates it is Startactivityresult.

Ii. Question and answer questions

/****************************************************************************************

Please wait until you are done!

****************************************************************************************/

Android Interview Summary

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.