PRELIM Flashcards
is an operating system for mobile devices such as smartphones and tablet computers
Android
Who developed android?
Open Handset Alliance
The first beta version of ANDROID Software Development Kit (SDK) was released by Google in what year?
2007
What date does the commercial version was released?
Sept 2008
What date does Google announced the next android version, 4.1 Jelly Bean?
June 27, 2012
is an incremental update, with the primary aim of improving the user interface, both in terms of functionality and performance.
Jelly Bean
Why Android?
Open Source
Larger Developer and Community Reach
Increased Marketing
Inter-app Integration
Reduced cost of Development
Higher Success Ratio
This contains the.javasource files for your project.
Java
a directory for drawable objects that are designed for high-density screens.
res/drawable-hdpi
A directory for drawable objects that are designed for high-density screens.
res/layout
A directory for other various XML files that contain a collection of resources, such as strings and colours definitions.
res/values
The manifest file which describes the fundamental characteristics of the app and defines each of its components.
AndroidManifest.xml
An auto generated file which contains compileSdkVersion, buildToolsVersion, applicationId, minSdkVersion, targetSdkVersion, versionCode and versionName.
Build.gradle
This is the actual application file which ultimately gets converted to a Dalvik executable and runs your application.
MainActivity.java
This file resides at the root of the application project directory. This file works as an interface between Android OS and your application, so if you do not declare your component in this file, then it will not be considered by the OS.
Manifest.xml
tags enclosed the components related to the application.
<application>...</application>
Attribute _________ will point to the application icon available under res/drawable-hdpi.
android:icon
The application uses the image named ic_launcher.png located in the drawable folders
res/drawable-hdpi
The _________ tag is used to specify an activity
<activity>
</activity>
attribute that specifies the fully qualified class name of the Activity subclass
android:name
attributes that specifies a string to use as the label for the activity
android:label
The action for the intent filter is named __________________ to indicate that this activity serves as the entry point for the application.
android.intent.action.MAIN
The category for the intent-filter is named ___________________ to indicate that the application can be launched from the device’s launcher icon.
android.intent.category.LAUNCHER
The ______ refers to the strings.xml file which will be explained later.
@string
__________ refers to the app_name string defined in the strings.xml file, which is “HelloWorld”.
@string/app_name
The_________is a layout file available inres/layoutdirectory, that is referenced by your application when building its interface.
activity_main.xml
is an Android control used to build the GUI and it have various attributes like android:layout_width, android:layout_height etc which are being used to set its width and height etc..
TextView
The ______ file is located in the res/values folder and it contains all the text that your application uses.
strings.xml
Give 5 Android versions:
Pie (9.0)
Oreo (8.0)
Nougat (7.0)
Marshmallow (6.0)
Lollipop (5.0)