Android Development Flashcards

1
Q

What is an Android application?

A

It is software designed to run on the android operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the components of an android application project?

A

There are several componenents that make up an android application project which include:
1. Kotlin/Java code
2. XML files that define the app UI
3. Manifest file, that contains information about the application
4. Assets, i.e. any images, fonts, audio, e.t.c. used in the application
5. Libraries and dependences i.e. any frameworks or external libries the application depends on

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to you prepare an Android-Powered device for Android developement?

A
  1. Enable USB debbugging on the device
  2. Install the google android SDK on your computer and Android studio too
  3. Connect you device to your computer using a USB cable and ensure that any neccessary drivers have been installed
  4. Configure android studio to recognize the divice and deploy your application to it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why would a developers chose Native application development over cross-plartform/hybrid application development and vice versa?

A

This will be because the advantages and disadvantages both types of application development provide where some advantages of one act as a solution to the disadvantages
of the other:
cross plartform development provides the following disadvantages which are all solved by native application development:
-> developers have limited access to hardware and sensors
-> developers might face performance issues
-> developers have to wory about complying to plart form spacific guidlines
-> developer might face issues with providing optimal user experince

On the other native application development provides these disadvantages that cross plartform development solves:
-> developers need multiple codebases for the application to run on different plartforms
-> maintain multiple code bases is difficult and expensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the tools used in android development?

A

The Google Android SDK and Android studio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the advantages of using emulators in android developement?

A

Devlopers can:
-> test applications without the need for a physical device
-> test applications with different cofigurations, android versions, and hardware capabilities, without having multiple android devices
-> find bugs earlier production as emuluators provide more rubust testing options

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the various states of application in the android application lifecycle?

A

OnCreate(), OnStart(), OnPause(), OnResume()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Android Matterial design?

A

Guidlines provided by google for the design of user-freindly and visually appealing applications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name Three android testing frameworks

A

JUnit, Espreso, Robolectric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly