Android Application Development - Exam Sample



Similar documents
Q1. What method you should override to use Android menu system?

Android Application Development

Android Development. Marc Mc Loughlin

Android Application Development: Hands- On. Dr. Jogesh K. Muppala

App Development for Smart Devices. Lec #2: Android Tools, Building Applications, and Activities

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Jordan Jozwiak November 13, 2011

Introduction to Android. CSG250 Wireless Networks Fall, 2008

Developing NFC Applications on the Android Platform. The Definitive Resource

How to Create an Android Application using Eclipse on Windows 7

Getting Started: Creating a Simple App

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Android Basics. Xin Yang

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

1. Introduction to Android

Android Tutorial. Larry Walters OOSE Fall 2011

INTRODUCTION TO ANDROID CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 11 02/15/2011

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

directory to "d:\myproject\android". Hereafter, I shall denote the android installed directory as

Android Application Development. Daniel Switkin Senior Software Engineer, Google Inc.

Specialized Android APP Development Program with Java (SAADPJ) Duration 2 months

Frameworks & Android. Programmeertechnieken, Tim Cocx

Introduction to Android Programming (CS5248 Fall 2015)

Open Source Telemedicine Android Client Development Introduction

Chapter 2 Getting Started

Android Development Exercises Version Hands On Exercises for. Android Development. v

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

J A D E T U TO R I A L

COURSE CONTENT. GETTING STARTED Select Android Version Create RUN Configuration Create Your First Android Activity List of basic sample programs

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

Running a Program on an AVD

Android Environment SDK

Mobile Application Development

Android Environment SDK

Developing Android Apps: Part 1

Tutorial #1. Android Application Development Advanced Hello World App

Introduction to Android Development

Android Fundamentals 1

Developing In Eclipse, with ADT

AndroLIFT: A Tool for Android Application Life Cycles

Introduction to Android: Hello, Android! 26 Mar 2010 CMPT166 Dr. Sean Ho Trinity Western University

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

How to develop your own app

How To Develop An Android App On An Android Device

MMI 2: Mobile Human- Computer Interaction Android

Mobile Application Development 2014

Table of Contents. Adding Build Targets to the SDK 8 The Android Developer Tools (ADT) Plug-in for Eclipse 9

ID TECH UniMag Android SDK User Manual

Android Application Development Lecture Notes INDEX

Hello World. by Elliot Khazon

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi

An Introduction to Android Application Development. Serdar Akın, Haluk Tüfekçi

ITG Software Engineering

06 Team Project: Android Development Crash Course; Project Introduction

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To

Beginning Android Programming

Developing Android Applications Introduction to Software Engineering Fall Updated 7 October 2015

CS378 -Mobile Computing. Android Overview and Android Development Environment

ANDROID APP DEVELOPMENT: AN INTRODUCTION CSCI /19/14 HANNAH MILLER

Programming with Android

Now that we have the Android SDK, Eclipse and Phones all ready to go we can jump into actual Android development.

Mobile Application Development Android

Introduction to Android

Building Your First App

Android Certified Application Developer AND-401

Android Developer Fundamental 1

Android Programming. Høgskolen i Telemark Telemark University College. Cuong Nguyen,

Mocean Android SDK Developer Guide

Practical Android Projects Lucas Jordan Pieter Greyling

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

Here to take you beyond Mobile Application development using Android Course details

Basics of Android Development 1

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3

Android Programming and Security

Android Setup Phase 2

INTERMEDIATE ANDROID DEVELOPMENT Course Syllabus

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02

Installing the Android SDK

Creating a 2D Game Engine for Android OS. Introduction

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

ANDROID PROGRAMMING - INTRODUCTION. Roberto Beraldi

Mobile App Design and Development

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 2 Android Platform. Marco Picone

Android 多 核 心 嵌 入 式 多 媒 體 系 統 設 計 與 實 作

ECWM511 MOBILE APPLICATION DEVELOPMENT Lecture 1: Introduction to Android

Android For Java Developers. Marko Gargenta Marakana

Getting started with Android and App Engine

-Android 2.3 is the most used version of Android on the market today with almost 60% of all Android devices running 2.3 Gingerbread -Winner of

Android Programming: Installation, Setup, and Getting Started

Lab 4 In class Hands-on Android Debugging Tutorial

Login with Amazon Getting Started Guide for Android. Version 2.0

Application Development

Getting Started with Android Development

Application Development Setup Guide

Deep Inside Android. OpenExpo Zurich September 25 th, Gilles Printemps - Senior Architect. Copyright 2007 Esmertec AG.

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

Transcription:

Android Application Development - Exam Sample 1 Which of these is not recommended in the Android Developer's Guide as a method of creating an individual View? a Create by extending the android.view.view class. b Create by extending already existing View classes such as Button or TextView. c Create by copying the source of an already existing View class such as Button or TextView. d Create by combining multiple Views. 2 Which of these is the incorrect explanation of the Android SDK and AVD Manager? a They are provided from version 1.6 of the SDK. Up to Version 1.5, there was an AVD Manager but it lacked SDK management functions. b You can create and startup AVD, and on startup you can delete user data up to that point. c The "android" command can be used if "<SDK install folder>/tools" is added to the command path. d The development tools that can be downloaded from Android SDK and AVD Manager are SDK Android platform, NDK-platform, emulator images, and USB drivers for handsets. 3 Which of these is the correct explanation regarding the following methods? (1)android.content.Context.sendBroadcast (2)android.content.Context.startActivity a Both methods are defined by overloading. b Both methods throw an exception. c Both methods are asynchronous. d Both methods are able to broadcast an Intent. 4 Which of the following is incorrect about ProgressDialog? a ProgressDialog inherits from the AlertDialog class. b ProgressDialog can be set as 2 types of style: STYLE_HORIZONTAL and STYLE_SPINNER. c ProgressDialog is able to apply a custom XML-defined layout by using the setcontentview(...) method. d ProgressDialog can be freely configured to use a Drawable class to display as its progress bar. 1

5 Which of these is the correct function of Traceview? a Displays a graphical task execution log. b Displays graphically a memory acquisition and release log c Displays graphically the call stack. d Displays graphically the Ul state hierarchy. 6. Which configuration file holds the permission to use GPS? a. Layout file b. Manifest file c. Source file d. Property file 7. Which of the following is the correct way to add an access permission to your application? a. Add a <uses-permission> tag as a child tag of the <manifest> tag in b. Add a <add-permission> tag as a child tag of the <manifest> tag in c. Add a <uses-permission> tag as a child tag of the <application> tag in d. add a <permission> tag as a child tag of the <application> tag in 8. Which of the following statements is correct about SQLite? a. It is an object database. b. It is client-server format. c. It is possible to create and access a database by using SQLOpenHelper. d. It can be accessed by other applications through ContentProvider. 9. When including a text file in your application to read from as a resource, what is the recommended location of such file? a. res/anim b. res/files c. res/raw d. res/values 2

10. Which of the following statements about DDMS is incorrect? e You can display a list of currently running threads and select one to check its stack trace. f You can use it to acquire screenshots of a terminal. g You can forcibly execute garbage collection and check the present heap usage status. h You can do simulations of network zone speed and bandwidth limitations. 11. What does the following code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class); startactivityforresult(intent); a. Starts a browser activity b. Starts a sub-activity c. Starts an activity service d. Sends results to another activity. 12. When using an implicit intent, what process does the system use to know what to do with it. a. Intent resolution b. Intent declaration c. Intent overloading d. Intent transition 13. Which of the following is incorrect about the MenuItem interface? a. The MenuItem instance will be returned by the Menu class add(...) method. b. MenuItem can decide the Intent issued when clicking menu components. c. MenuItem can display either an icon or text. d. MenuItem can set a checkbox. 3

14. Which of these is correct about XML layout files? A. In order to display a Ul defined in the XML layout file "main.xml", call the setcontentview method of the Activity with the parameter string main.xml". B. There is no distinction between implementation of the layout definition by code, or by XML layout file. C. In an Eclipse project using the ADT plugin, the XML layout file is found in the /res/layout directory. D. Layout information written in the XML layout file will be converted into code by the Android platform when the screen is displayed. 15. The DalvikVM core libraries are a subset of which of the following? A. Java ME B. Java SE C. Java EE D. JAX-WS 16. Which of the following is correct about file access in the Android system? A. Generally, files are handled as dedicated resources per each application. B. Files created by an application can be directly accessed by any application. C. The content of file created by application cannot be accessed by any other application. D. You can only access a file from within an Activity. 17. Which is the correct explanation of ListView? A. It is necessary to use ListView as a set with ListActivity. B. You cannot use a ListView when there is no information to be displayed. C. When displaying a list of Strings using an ArrayAdapter class in ListView, you must save the value in an ArrayList.. D. ListView has a function to display a list of uniquely defined Views other than TextView. 18. Which of following is incorrect about the Toast class? A. You cannot set a custom layout for for a Toast. B. A Toast can only created by an Activity class 4

C. There is no need to close or hide a Toast, since it closes automatically. D. A Toast is displayed for only one of the following periods: Toast.LENGHT_SHORT or Toast.LENGTH_LONG 19. Which of the following is not a ContentProvider provided natively by Android? A. The contacts list B. The telephone log C. The bookmarks D. The application list 20.. What method you should override to use Android menu system? A. oncreateoptionsmenu() B. oncreatemenu() C. onmenucreated() D. oncreatecontextmenu(). 21. What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML? A. findviewbyreference(int id); B. findviewbyid(int id) C. retrieveresourcebyid(int id) D. findviewbyid(string id) 22. Which of the following is not an Android component (i.e. a point from which the system can enter your application)? A. Service B. Activity C. Layout D. Content Provider 23. During an Activity lifetime, what is the first method callback invoked by the system? A. onstop() B. onstart() C. oncreate() D. onrestore() 5

24.Which of these is the correct explanation of BroadcastReceiver? A. The process which BroadcastReceiver makes active will be protected so that it cannot be forcequit. B. BroadcastReceiver will only be assumed active when executing getreceive(). C. BroadcastReceiver notifies the source of optional processing results based on the broadcast contact(s). D. BroadcastReceiver displays a user interface. 25. Which configuration file holds the permission to use the internet? A. Layout file B. Property file C. Java source file D. Manifest file 26. What does the following line of code achieve? Intent intent = new Intent(FirstActivity.this, SecondActivity.class ); A. Creates an hidden Intent B. Creates an implicit Intent C. Create an explicit Intent D. Starts an activity. 27. Which of the following is not a valid usage for Intents? A. Activate and Activity B. Activate a Service C. Activate a Broadcast receiver D. Activate a SQLite DB Connection. 28. Which of the following is not a valid Android resource file name? A. mylayout.xml B. mylayout.xml C. my_layout.xml D. mylayout1.xml 6

29. Which of these is not defined as a process state? A. Non-visible B. Visible C. Foreground D. Background 30.Which of these is the correct interface definition used to bind a Service? A. AIDL B. IDL C. KML D. XML 31. What is the name of the folder that contains the R.java file? A. src B. res C. bin D. gen 7