The Droid Snippets

The Droid Snippets
  • Home
  • Android Q&A
    • Short Answer
    • Long Answer
 What are the type of flags to run an application in android?

What are the type of flags to run an application in android?

Monday, 2 May 2016 Android Question & Answer Short Answer
FLAG_ACTIVITY_NEW_TASK FLAG_ACTIVITY_CLEAR_TOP.
 What is drawable folder in android?

What is drawable folder in android?

09:08 Android Question & Answer Short Answer
A compiled visual resource that can used as a backgrounds,banners, icons,splash screen etc.
 How do you find any view element into your program?

How do you find any view element into your program?

09:08 Android Question & Answer Short Answer
Using with findViewById we can find view element.
 What are application Widgets in android?

What are application Widgets in android?

09:07 Android Question & Answer Short Answer
App Widgets are miniature application views that can embedded in other applications (such as the Home screen) and receive periodic upda...
 What folders are impotent in android project?

What folders are impotent in android project?

09:07 Android Question & Answer Short Answer
AndroidManifest.xml build.xml bin/ src/ res/ assets/
 How to update UI from a service in android?

How to update UI from a service in android?

09:07 Android Question & Answer Short Answer
Use a dynamic broadcast receiver in the activity, and send a broadcast from the service. Once the dynamic receiver is triggered update U...
 Which kernal is used in android?

Which kernal is used in android?

09:06 Android Question & Answer Short Answer
Android is customized Linux 3.6 kernel.
 What is sleep mode in android?

What is sleep mode in android?

09:06 Android Question & Answer Short Answer
Sleep mode mean CPU will be sleeping and it doesn't accept any commands from android device except Radio interface layer and alarm. ...
 What is fragment in android?

What is fragment in android?

09:05 Android Question & Answer Short Answer
Fragment is a piece of activity, if you want to do turn your application 360 degrees, you can do this by fragment.
 What is singleton class in android?

What is singleton class in android?

09:04 Android Question & Answer Short Answer
A class which can create only an object, that object can be share able to all other classes.
 How do you pass the data to sub-activities android?

How do you pass the data to sub-activities android?

09:03 Android Question & Answer Short Answer
Using with Bundle, we can pass the data to sub activities. Bundle bun = new Bundle(); bun.putString("EMAIL", "contact@tuto...
 How to launch an activity in android?

How to launch an activity in android?

09:02 Android Question & Answer Short Answer
Using with intent, we can launch an activity. Intent intent = new Intent(this, MyTestActivity.class); startActivity(intent);
 Define the application resource file in android?

Define the application resource file in android?

08:58 Android Question & Answer Short Answer
JSON,XML bitmap.etc are application resources.You can injected these files to build process and can load them from the code.
 How to change application name after its deployment?

How to change application name after its deployment?

08:58 Android Question & Answer Short Answer
It's not truly recommended to change application name after it's deployment, if we change, it will impact on all other internal ...
 How does android track the application on process?

How does android track the application on process?

08:57 Android Question & Answer Short Answer
Android provides a Unique ID to all applications is called as Linux ID,this ID is used to track each application.
 Why can't you run java byte code on Android?

Why can't you run java byte code on Android?

08:57 Android Question & Answer Short Answer
Android uses DVM (Dalvik Virtual Machine ) rather using JVM(Java Virtual Machine), if we want, we can get access to .jar file as a libra...
 How is the use of web view in Android?

How is the use of web view in Android?

08:56 Android Question & Answer Short Answer
WebView is UI component that can display either remote web-pages or static HTML
 How to Translate in Android?

How to Translate in Android?

08:56 Android Question & Answer Short Answer
Android uses Google translator to translate data from one language into another language and placed as a string while development
 What is a Sticky Intent in android?

What is a Sticky Intent in android?

08:56 Android Question & Answer Short Answer
Sticky Intent is also a type of intent which allows the communication between a function and a service for example,sendStickyBroadcast() ...
 What are the different storages available in android?

What are the different storages available in android?

08:55 Android Question & Answer Short Answer
Shared Preferences,Internal Storage,External Storage,SQLite Databases and Network Connection
 What is the order of dialogbox in android?

What is the order of dialogbox in android?

08:55 Android Question & Answer Short Answer
Positive, Neutral, Negative.
 What is the order of dialog-box in android?

What is the order of dialog-box in android?

08:54 Android Question & Answer Short Answer
Positive, Neutral, Negative.
 What are the exceptions available in android?

What are the exceptions available in android?

08:54 Android Question & Answer Short Answer
InflateException,Surface.OutOfResourceException,SurfaceHolder.BadSurfaceTypeException,and WindowManager.BadTokenException
 How many dialog boxes do support in android?

How many dialog boxes do support in android?

08:54 Android Question & Answer Short Answer
AlertDialog, ProgressDialog,DatePickerDialog, and TimePickerDialog
 What is nine-patch images tool in android?

What is nine-patch images tool in android?

08:53 Android Question & Answer Short Answer
We can change bitmap images in nine sections as four corners,four edges and an axis
 Where layouts are placed in android?

Where layouts are placed in android?

08:53 Android Question & Answer Short Answer
In The Layout folder, layouts are placed as XML files
 What does the intent filter do in android?

What does the intent filter do in android?

08:53 Android Question & Answer Short Answer
Intent filters are filter out the intents.
 What are the key components in android architecture?

What are the key components in android architecture?

08:52 Android Question & Answer Short Answer
Linux Kernel Libraries Android Framework Android applications.
 What is shared preferences in android?

What is shared preferences in android?

08:52 Android Question & Answer Short Answer
Shared preferences are the simplest mechanism to store the data in XML documents.
 What is ANR in android?

What is ANR in android?

08:52 Android Question & Answer Short Answer
ANR stands for application is not responding, basically it is a dialog box that appears when the application is not responding.
 What is ADB in android?

What is ADB in android?

08:51 Android Question & Answer Short Answer
It is acts as bridge between emulator and IDE, it executes remote shell commands to run applications on an emulator
 What is container in android?

What is container in android?

08:51 Android Question & Answer Short Answer
The container holds objects,widgets,labels,fields,icons,buttons.etc.
 What are the notifications available in android?

What are the notifications available in android?

08:51 Android Question & Answer Short Answer
Toast Notification − It will show a pop up message on the surface of the window Status Bar Notification − It will show notifications on ...
 What is a content provider in android?

What is a content provider in android?

08:50 Android Question & Answer Short Answer
A content provider component supplies data from one application to others on request. Such requests are handled by the methods of the Co...
 What is a service in android?

What is a service in android?

08:50 Android Question & Answer Short Answer
The Service is like as an activity to do background functionalities without UI interaction.
 What are the tools are placed in An Android SDK?

What are the tools are placed in An Android SDK?

08:50 Android Question & Answer Short Answer
Android SDK collaborated with Android Emulator,DDMS(Dalvik Debug Monitoring Services),AAPT(Android Asset Packaging tool) and ADB(Android ...
 What do ADT stands for?

What do ADT stands for?

08:49 Android Question & Answer Short Answer
ADT stands for Android development tool,This is useful to develop the applications and test the applications.
 What language does android support to develop an application?

What language does android support to develop an application?

08:49 Android Question & Answer Short Answer
Android applications has written using the java(Android SDK) and C/C++(Android NDK).
 What is an implicit Intent?

What is an implicit Intent?

08:48 Android Question & Answer Short Answer
Implicit Intent doesn't specifiy the component. In such case, intent provides information of available components provided by the sys...
 What is an explicit Intent?

What is an explicit Intent?

08:47 Android Question & Answer Short Answer
Android Explicit intent specifies the component to be invoked from activity. In other words, we can call another activity in android by ...
 What is the APK format?

What is the APK format?

08:47 Android Question & Answer Short Answer
The Android packaging key is compressed with classes,UI's, supportive assets and manifest.All files are compressed to a single file i...
 Describe Android application Architecture?

Describe Android application Architecture?

08:45 Android Question & Answer Short Answer
Android application architecture has the following components.They are as follows − Services − It will perform background functionalities...
 What is Android?

What is Android?

08:43 Android Question & Answer Short Answer
Android is a stack of software for mobile devices which includes an Operating System, middleware and some key applications. The application...
What is Adapter in Android?

What is Adapter in Android?

05:59 Android Question & Answer Short Answer
An adapter manages the data model and adapts it to the individual entries in the widget. An adapter extends the Base Adapter class.
What is Resources in Android?

What is Resources in Android?

05:58 Android Question & Answer Short Answer
Each of the documents in this section describe the usage, format and syntax for a certain type of application resource that you can provide...
What is Manifest file in Android?

What is Manifest file in Android?

05:58 Android Question & Answer Short Answer
The manifest file presents essential information about your app to the Android system, information the system must have before it can run a...
What is R.java file in Android?

What is R.java file in Android?

05:58 Android Question & Answer Short Answer
Android R.java is an auto-generated file by aapt (Android Asset Packaging Tool) that contains resource IDs for all the resources of res/ di...
What is Intent in Android?

What is Intent in Android?

05:57 Android Question & Answer Short Answer
Intents are objects of the android.content.Intent type. Your code can send them to the Android system defining the components you are targe...
What is View and ViewGroup in Android?

What is View and ViewGroup in Android?

05:57 Android Question & Answer Short Answer
A View Group is a special view that can contain other views (called children.) The view group is the base class for layouts and views conta...
What is 'Context' on Android?

What is 'Context' on Android?

05:57 Android Question & Answer Short Answer
It's an abstract class whose implementation is provided by the Android system. Context allows access to application-specific resources ...
What is an Android Activity?

What is an Android Activity?

05:56 Android Question & Answer Short Answer
Activity is a Java code that supports a screen or UI. In other words, building block of the user interface is the activity. Activity class ...
Newer Posts Home
Subscribe to: Posts (Atom)
Popular Posts
  • What are the tools are placed in An Android SDK?
    Android SDK collaborated with Android Emulator,DDMS(Dalvik Debug Monitoring Services),AAPT(Android Asset Packaging tool) and ADB(Android ...
  • What folders are impotent in android project?
    AndroidManifest.xml build.xml bin/ src/ res/ assets/
  • What is 'Context' on Android?
    It's an abstract class whose implementation is provided by the Android system. Context allows access to application-specific resources ...
  • What is Manifest file in Android?
    The manifest file presents essential information about your app to the Android system, information the system must have before it can run a...
  • How to change application name after its deployment?
    It's not truly recommended to change application name after it's deployment, if we change, it will impact on all other internal ...
  • What is Adapter in Android?
    An adapter manages the data model and adapts it to the individual entries in the widget. An adapter extends the Base Adapter class.
  • How to update UI from a service in android?
    Use a dynamic broadcast receiver in the activity, and send a broadcast from the service. Once the dynamic receiver is triggered update U...
  • What do ADT stands for?
    ADT stands for Android development tool,This is useful to develop the applications and test the applications.
  • What is Intent in Android?
    Intents are objects of the android.content.Intent type. Your code can send them to the Android system defining the components you are targe...
  • What is View and ViewGroup in Android?
    A View Group is a special view that can contain other views (called children.) The view group is the base class for layouts and views conta...
About Me
Alok S.
View my complete profile

Blog Archive

  • ▼  16 (51)
    • ▼  May (51)
      • What is an Android Activity?
      • What is 'Context' on Android?
      • What is View and ViewGroup in Android?
      • What is Intent in Android?
      • What is R.java file in Android?
      • What is Manifest file in Android?
      • What is Resources in Android?
      • What is Adapter in Android?
      • What is Android?
      • Describe Android application Architecture?
      • What is the APK format?
      • What is an explicit Intent?
      • What is an implicit Intent?
      • What language does android support to develop an a...
      • What do ADT stands for?
      • What are the tools are placed in An Android SDK?
      • What is a service in android?
      • What is a content provider in android?
      • What are the notifications available in android?
      • What is container in android?
      • What is ADB in android?
      • What is ANR in android?
      • What is shared preferences in android?
      • What are the key components in android architecture?
      • What does the intent filter do in android?
      • Where layouts are placed in android?
      • What is nine-patch images tool in android?
      • How many dialog boxes do support in android?
      • What are the exceptions available in android?
      • What is the order of dialog-box in android?
      • What is the order of dialogbox in android?
      • What are the different storages available in android?
      • What is a Sticky Intent in android?
      • How to Translate in Android?
      • How is the use of web view in Android?
      • Why can't you run java byte code on Android?
      • How does android track the application on process?
      • How to change application name after its deployment?
      • Define the application resource file in android?
      • How to launch an activity in android?
      • How do you pass the data to sub-activities android?
      • What is singleton class in android?
      • What is fragment in android?
      • What is sleep mode in android?
      • Which kernal is used in android?
      • How to update UI from a service in android?
      • What folders are impotent in android project?
      • What are application Widgets in android?
      • How do you find any view element into your program?
      • What is drawable folder in android?
      • What are the type of flags to run an application i...

Copyright © The Droid Snippets • All Rights Reserved.