Select chapter



basics (6.papers)
activities (5.papers)
services (2.papers)
threads (2.papers)
receivers (1.papers)
advanced android (2.papers)
SQLite database (1.papers)
adapters (1.papers)
adb and ddms (1.papers)
widgets (1.papers)
fragments (1.papers)
UI (1.papers)
Hide

Sponsored Links


  

android interview questions and answers

1
How to implement a snake game in android? What kind of view has to be used for this implementation?
  1. You can use ImageView
  2. Use ImageSwitcher
  3. Use Custome View and draw directly on Canvas
  4. Use existing predefined views and draw directly on canvas
Show Answer
Share Facebook gmail Twitter
2
What is tween animation in android?
  1. animating an image which is at a fixed location, like scaling, rotating, and alpha is called as tween animation.
  2. switch between two images using image switcher is called as tween animation
  3. playing frame after frame using animation-list xml property is called as tween animation.
  4. all of the above are examples of tween animation.
Show Answer
Share Facebook gmail Twitter
3
what is frame animation in android?
  1. animating an image which is at a fixed location, like scaling, rotating, and alpha is called as frame animation.
  2. switch between two images using image switcher is called as frame animation
  3. playing frame after frame using animation-list xml property is called as frame animation.
  4. all of the above are examples of frame animation.
Show Answer
Share Facebook gmail Twitter
4
Tween animation is part of which package?
  1. it is part of android.graphics.drawable package
  2. it is part of view package.
  3. it is part of 3D graphics library (open GLES).
  4. it is part of kernel.
Show Answer
Share Facebook gmail Twitter
5
To achieve frame animation we use AnimationDrawable class. In which package it is located?
  1. it is part of android.graphics.drawable package
  2. it is part of view package.
  3. it is part of 3D graphics library (open GLES).
  4. it is part of kernel.
Show Answer
Share Facebook gmail Twitter
6
How to draw directly on canvas of android UI?
  1. Implement your own custom View by extending View class, and then implement onDraw method in it.
  2. Take any UI control like ImageView, and draw image using canvas.
  3. it is not possible to directly touch Canvas.
  4. both option 1 and 2 are right.
Show Answer
Share Facebook gmail Twitter
7
I am creating a game where a snake will be moving dynamically based on the user key directions, then how should I implement this snake image in my activity?
  1. Use image view and put a snake image in that view, and move the view based on user key movements.
  2. Use frame animation with multiple snake images on the same image view.
  3. Use custom view, where you can draw your own shapes dynamically on canvas.
  4. we can use any of the above 3 options for this requirement.
Show Answer
Share Facebook gmail Twitter
Show Answer
Share Facebook gmail Twitter
9
What is the tool to convert images to 9 patch image? where it will be located?
  1. draw9patch is the tool name, it is located in android-sdk/platform-tools.
  2. draw9patch is the tool name, it is located in android-sdk/tools.
  3. 9patch is the tool name, it is located in android-sdk/platform-tools.
  4. 9patch is the tool name, it is located in android-sdk/tools.
Show Answer
Share Facebook gmail Twitter
10
What is the use of 9 patch image compared to other images?
  1. It will scale the images automatically based on the device screen sizes on which app is loaded.
  2. it will make the images smaller in size compared to other png images.
  3. it is used for security purpose for the images used in the project.
  4. all of the above options are true.
Show Answer
Share Facebook gmail Twitter
11
what are the tags used in tween animation?
  1. <scale>
  2. <alpha>
  3. <rotate>
  4. all of the above.
Show Answer
Share Facebook gmail Twitter
12
If programmer don't know c/c++ and still wants to perform 3D graphics in android application, then how to do it?
  1. use openGLES.
  2. use AndEngine.
  3. Use android.graphics.library.
  4. Programmer can use any of the above mentioned options.
Show Answer
Share Facebook gmail Twitter
Read more papers :