41⟩ Described TimePickerDialog in Android?
This dialog box is used for selecting time by the user.
“Learn Windows Communication Foundation (WCF) SDK Interview Questions and Answers”
This dialog box is used for selecting time by the user.
Content provider is a data store that enables data sharing across different applications. Content providers provide a uniform interface to access the data. An example is Call logs.
This dialog box displays a progress wheel or a progress bar. It is an extension of AlertDialog and supports adding buttons.
This dialog box is used for selecting a date by the user.
It is one of a re-sizable bitmap resource which is being used as backgrounds or other images on the device. The Nine-Patch class allows drawing a bitmap in nine sections. The four corners are un-scaled; the middle of the image is scaled in both axes, the four edges are scaled into one axis.
Think of Intent as a message to allow the application to request action from the other application components (like activity), for instance VIEW, CALL, PLAY etc.
Suppose, on your Facebook app, the running activity is the Newsfeed, and you want to view (in full frame) a pic your friend posted. The click action on the photo would be the View Photo Intent, and the Photo screen (which is a new activity) gets loaded on the click (as the message is communicated).
The APK file is compressed AndroidManifest.xml file with extension .apk. It also includes the application code (.dex files), resource files, and other files which are compressed into a single .apk file.
This folder contains all the information about HTML file, text files, databases, etc.
It contains the .apk file (Android Package) that is generated by the ADT during the build process. An .apk file is the application binary file. It contains everything needed to run an Android application.
This folder contains the R.java file. It is compiler-generated file that references all the resources found in your project. You should not modify this file.
This folder contains android.jar file, which contains all the class libraries needed for an Android application.
This folder contains all the resource file that is used byandroid application. It contains subfolders as: drawable, menu, layout, and values etc.
src Contains the .java source files for your project. You write the code for your application in this file. This file is available under the package name for your project.
When we create android application the following folders are created in the package explorer in eclipse which are as follows:
★ src
★ gen
★ assets
★ bin
★ res
Android supports 4 dialog boxes:
★ AlertDialog
★ ProgressDialog
★ DatePickerDialog
★ TimePickerDialog
★ Storing the information about number of visitors (counter).
★ Storing the date and time (when your Application is updated).
★ Storing the username and password.
Storing the user settings.
★ It contains the package name of the application.
★ The version code of the application is 1.This value is used to identify the version number of your application.
★ The version name of the application is 1.0
★ The android:minSdkVersion attribute of the element defines the minimum version of the OS on which the application will run.
★ ic_launcher.png is the default image that located in the drawable folders.
★ app_name defines the name of applicationand available in the strings.xml file.
★ It also contains the information about the activity. Its name is same as the application name.
★ AIDL is the abbreviation for Android Interface Definition Language.
★ It handles the interface requirements between a client and a service to communicate at the same level through inter-process communication.
★ The process involves breaking down objects into primitives that are Android understandable.
AIDL supports following data types:
★ String
★ List
★ Map
★ CharSequence
★ All native Java data types like int,long, char and Boolean
Android Architecture consists of 4 key components:
★ Linux Kernel
★ Libraries
★ Android Framework
★ Android Applications