GoConqr has a new look! Let us know what you think.

Flashcards

DSG

Ash B English 11 cards

DSG

Cards in this deck (11)

  1. 1What is the difference between implicit and explicit intent?Implicit Intents do not directly specify the Android components which should be called, it only specifies action to be performed
    Explicit intents are used in the application itself wherein one activity can switch to another activity
    What is the difference between implicit and explicit intent?
  2. 2What is an activity?UI component of an application
    2 parts : the class and the xml
  3. 3What is activity life-cycle?it contains some methods we use to track a
    state of the activity.
  4. 4Order of Activity Life CycleOrder of Activity Life Cycle
  5. 5What is the difference between onStart and onResume?you can start on start but only interact after onResume :
    suppose we have a button: on the onStart we Can see it; only after
    onResume we can interact with it.
  6. 6activity flow from a to b: then hit back arrow in the bottom of screenfrom launch:
    create(A)
    start(A)
    resume(A)
    from button press to launch activity B
    paused(A)
    create(B)
    start(B)
    resume(B)
    stop(A)
    when you press back button
    pause(A)
    restart(A)
    start(A)
    resume(A)
    stop(B)
    destroy (B)
  7. 7What is use of android manifest.xml file?It’s the application level contribution file, which contains the activities and metadata used in the application.
    :(metadata) app name, launch icon, permissions, list of all activities , services
  8. 8Best place to write static string content?Strings.xml
  9. 9What is the String.xml file? Similarly: colors.xml? Similarly: styles.xmlglobal file used to get common string names in the activity
    colors.xml: used to store common colors used
    style.xml: global style-sheet just like a CSS file
  10. 10Where are images stored for an app? What is stored in the mipmap folder?images: drawable folder
    stored in mipmap: launch icons
  11. 11What is the use of a gradle file?tool that compiles source code and gives the apk file
    shows what are the dependencies we want to use.
    11.

Information

Description
Flashcards on DSG, created by Ash B on 09/04/2020.
Created by
Ash B
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?