21⟩ Tell me what is the order of dialog-box in android?
☛ Positive
☛ Neutral
☛ Negative
“Team Leader Android Developer related Frequently Asked Questions by expert members with professional career as Team Leader Android Developer. These list of interview questions and answers will help you strengthen your technical skills, prepare for the new job interview and quickly revise your concepts”
☛ Positive
☛ Neutral
☛ Negative
Using with intent, we can launch an activity.
Intent intent = new Intent(this, MyTestActivity.class);
startActivity(intent);
The Adapter is used to create child views to represent the parent view items.
FLAG_ACTIVITY_NEW_TASK
FLAG_ACTIVITY_CLEAR_TOP.
ADT stands for Android development tool,This is useful to develop the applications and test the applications.
Shared preferences are the simplest mechanism to store the data in XML documents.
Shared Preferences,Internal Storage,External Storage,SQLite Databases and Network Connection
Android provides a Unique ID to all applications is called as Linux ID,this ID is used to track each application.
Android application architecture has the following components.They are as follows −
Services − It will perform background functionalities
Intent − It will perform the inter connection between activities and the data passing mechanism
Resource Externalization − strings and graphics
Notification − light,sound,icon,notification,dialog box,and toast
Content Providers − It will share the data between applications
☛ AlertDialog : An alert dialogue box supports 0 to 3 buttons and a list of selectable elements.
☛ ProgressDialog : An extension to AlertDialog and you may add buttons to it. It shows a progress wheel or a progress bar.
☛ DatePickerDialog : It is used for selecting a date by the user.
☛ TimePickerDialog : It is used for selecting time by the user.
ADB stands for Android Debug Bridge. It is a command line tool that is used to communicate with the emulator instance. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more. It is a client-server program that includes three components:
• A client, which runs on your development machine. You can invoke a client from a shell by issuing an ADB command. Other Android tools such as DDMS also create ADB clients.
• A server, which runs as a background process on your development machine. The server manages communication between the client and the ADB daemon running on an emulator or device.
• A daemon, which runs as a background process on each emulator or device instance.
In The Layout folder, layouts are placed as XML files
Using with findViewById we can find view element.
Fragment is a piece of activity, if you want to do turn your application 360 degrees, you can do this by fragment.
Android Explicit intent specifies the component to be invoked from activity. In other words, we can call another activity in android by explicit intent.
It is a resizable bitmap resource that can be used for backgrounds or other images on the device. NinePatch class permits drawing a bitmap in nine sections. The nine patch images have extension as.9.png. It allows extension in 9 ways, i.e. 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.
We can change bitmap images in nine sections as four corners,four edges and an axis
Android SDK collaborated with Android Emulator,DDMS(Dalvik Debug Monitoring Services),AAPT(Android Asset Packaging tool) and ADB(Android debug bridge)
• Entire lifetime – activity happens between onCreate and onDestroy
• Visible lifetime – activity happens between onStart and onStop
• Foreground lifetime – activity happens between onResume and onPause
JSON,XML bitmap.etc are application resources.You can injected these files to build process and can load them from the code.