Look at Android Basics, who can help me answer

Source: Internet
Author: User

Anyway, it's necessary to learn a little bit about Android, just broaden your horizons ....


  • The four functional components of Android are the _activity_,_service_,_broadcastreceive broadcast receiver _,_Content Provider_.
  • Android's system architecture is android,_java_ virtual machines and _linux_ operating systems.
  • activitya, the following method is executed:

    intent Intent = new Intent (This, Activityb.class);

    startactivity ( Intent);

    Excuse me: Activitya and activityb respectively triggered their birth Life events of the life cycle? The answer format is as follows:

    activitya.onxxx () ACITVITYA.ONYYY ()-Activityb.onxxx ()-->activitya.onzzz ().

  • The layout that is commonly used in Android has an __,_ table layout _,_ relative layout _,_ Absolute layout _,_ frame layout _.
  • Android can store data with SQLite, file system, Sharepreference,ContentProvider , and _______?____.
  • already put the data into bundles,

    Intent Intent = new Intent ();

    Intent.setclass (This,activityx.class);

    Bundle bundle = new bundle ();

    Bundle.putstring ("Key_height", Field_heigth.gettext (). toString ());

    Bundle.putstring ("Key_weitht", Field_weight.gettext (). toString ());

    Intent.putextras (bundle);

    StartActivity (Intent);

    What is the value of "Key_height" and "key_weight" from the bundle in the OnCreate () event of Activityx? Please answer in code.

    Who will answer?

  • <uses-permission android:name=" Android.permission.INTERNET "/>

    <uses-permission android:name=" Android.permission.CAMERA "/

    &NBSP;

  • <INTENT-FILTER>

    <action android:name= "Android.intent.action.MAIN"/>

    <category android:name=" Android.intent.category.LAUNCHER "/

    </ Intent-filter>

    &NBSP;


  • 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.