supriya kamble
17-08-2018
A toast notification is a message that pops up on the surface of the window. It only fills the amount of space required for the message and the user’s current activity remains visible and interactive. The notification automatically fades in and out, and does not accept interaction events. Reply
supriya kamble
17-08-2018
Android supports 4 dialog boxes: a.) AlertDialog: It supports 0 to 3 buttons and a list of selectable elements which includes radio buttons and check boxes. b.) ProgressDialog: This dialog box is an extension of AlertDialog and supports adding buttons. It displays a progress wheel or bar. c.) DatePickerDialog: The user can select the date using this dialog box. d.) TimePickerDialog: The user can select the time using this dialog box. Reply
supriya kamble
17-08-2018
Activities: They dictate the UI and handle the user interaction to the screen. Services: They handle background processing associated with an application. Broadcast Receivers: It handles the communication between Applications and Android Operating system Content Providers: They handle data and database management stuff. Reply
supriya kamble
17-08-2018
The Android SDK and Virtual Device Manager- It is used to create and manage Android Virtual Devices (AVD) and SDK packages. The AVD hosts an emulator running a particular build of Android, letting you specify the supported SDK version, screen resolution, amount of SD card storage available, and available hardware capabilities (such as touch screens and GPS). The Android Emulator– Android virtual machine designed to run within a virtual device on your development computer. Use the emulator to test and debug your Android applications. Dalvik Debug Monitoring Service (DDMS) – Use the DDMS perspective to monitor and control the Dalvik virtual machines on which you’re debugging your applications. Android Asset Packaging Tool (AAPT) – Constructs the distributable Android package files (.apk). Android Debug Bridge,(adb) – Android Debug Bridge, is a command-line debugging application shipped with the SDK. It provides tools to copy tools on the device, browse the device and forward ports for debugging. Reply
supriya kamble
17-08-2018
There can be more than one intents, depending on the services and activities that are going to use them and each component wants to tell which intents they want to response to. Intent filters out the intents that these components are willing to respond to. viii)What is the difference between an implicit intent and explicit intent? There are two types of Intent implicit and explicit intent, let see some more difference between them. Implicit: Implicit intent is when you call system default intent like send email, send SMS, dial number. For example, Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, textMessage); sendIntent.setType(“text/plain”) startactivity(sendIntent); Explicit: Explicit intent when you call you’re on application activity from one activity to another For example, first activity to second activity: Intent intent = new Intent(first.this, second.class); startactivity(intent); Reply