Mobile

¡Supera tus tareas y exámenes ahora con Quizwiz!

23) What year was the Open Handset Alliance announced?

C. 2007

40) When developing for the Android OS, Java byte code is compiled into what?

C. Dalvik byte code

The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service.

Context.startService()

64) While developing Android applications, developers can test their apps on...

D. All three options will work.

30) Which one is not a nickname of a version of Andriod?

D. Muffin

55) How is a simulator different from an emulator?

D. The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.

4. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A4--A3.A2 calls A4 with intent flag FLAG_ACTIVITY_CLEAR_TOP.When finish() method is called on A3, what will be the current running activity?

a)A4

24) Difference between android api and google api?

a)The google API includes Google Maps and other Google-specific libraries. The Android one only includes core android libraries.

20) AsyncTask allows you to perform asynchronous work on your user interface. It performs the blocking operations in a worker thread and then publishes the results on the UI thread.

a)true

15. what is false with respect to onBind()

b) calling startService() results in a call to onBind()

11) Maximum results returned by getFromLocationName() method can be

d) 5

8) Android system uses intents to

d) All of the above.

19) If you need your interface to work across different processes, you can create an interface for the service with a ________?

d) b or c

4) What are the indirect Direct subclasses of Activity?

d)All the above

2) Parent class of Activity?

d)ContextThemeWrapper

2. foreground service

d)both a & c

52) The emulated device for android.

A. Runs the same code base as the actual device, all the way down to the machine layer.

50) What is contained within the manifest xml file?

A. The permissions the app requires

26) Google licensed some proprietary apps.

A. True

31) Android doesn't make any assumptions about a device's screen size, resolution, or chipset.:

A. True

42) When you distribute your application commercially,you'll want to sign it with your own key.

A. True

48) The AWT and Swing libraries have been removed from the Android library set.

A. True

59) The Android SDK ships with an emulator.

A. True

61) The manifest explains what the application consists of and glues everything together.

A. True

62) The Android Software Development Kit (SDK) is all you need to develop applications for Android.

A. True

18) As an Android programmer, what version of Android should you use as your minimum development target?

A. Versions 1.6 or 2.0

36) Android is based on Linux for the following reason.

D. All of these

19) What was Google's main business motivation for supporting Android?

D. To allow them to advertise more

44) Which of these are not one of the three main components of the APK?

D. Webkit

39) What is a key difference with the distribution of apps for Android based devices than other mobile device platform applications?

B. Applications are distributed by multiple vendors with different policies on applications.

46) Android Applications must be signed.

B. Before they are installed

35) Which among these are NOT a part of Android's native libraries?

B. Dalvik

24) A device with Android installed is needed to develop apps for Android.

B. False

34) Android is built upon the Java Micro Edition (J2ME) version of Java.

B. False

49) The R.java file is where you edit the resources for your project.

B. False

53) Your Java source code is what is directly run on the Android device.

B. False

29) Android releases since 1.5 have been given nicknames derived how?

B. Food

20) What was the first phone released that ran the Android OS?

B. T-Mobile G1

22) What is a funny fact about the start of Android?

B. The first version of Android was released without an actual phone on the market

43) How does Google check for malicious software in the Android Market?

B. Users report malicious software to Google

33) Which piece of code used in Android is not open source?

B. WiFi? driver

Intents designate the target component by its name and they are

Explicit Intents

25) Android tries hard to _____low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily.

B. absract

27) What part of the Android platform is open source?

B. all of these answers #The entire stack is an open source platform

45) What is the name of the program that converts Java byte code into Dalvik byte code?

C. Dex compiler

17) Although most people's first thought when they think of Android is Google, Android is not actually owned by Google. Who owns the Android platform?

C. Open Handset Alliance

54) The Emulator is identical to running a real phone EXCEPT when emulating/simulating what?

C. Sensors

The Intent object is passed to this method to deliver the message to all interested broadcast receivers.

Context.sendBroadcast()

The Intent object is passed to this method to launch a new activity or get an existing activity to do something new

Context.startActivity()

Intents do not name a target and the field for the component name is left blank

Implicit Intents

Although most people's first thought when they think of Android is Google, Android is not actually owned by Google. Who owns the Android platform

Open Handset Alliance

When the activity is not in focus, but still visible on the screen it is in?

Paused State

14. Applications that require filtering based on screen size can use the attributes.

b) <supports-screens>

18) If your service is private to your own application and runs in the same process as the client (which is common), you should create your interface by extending the ________class?

b) Binder

6. The plus(+) means in statement android:id="@+id/my_id"?

b) Create new id and add to resources

10) If you try to acces the column which does not exit, system throws

b) illegalArgumentException

5. A1,A2,A3 and A4 are activities called using intents.Then A1-A2-A3-A4. A3 calls A4 with no intent flag, when finish() method called on A4. What will be the current running activity?

b)A3

3. A1,A2,A3 and A4 are activities called using intents.Then A1-A4-A2--A3.A4 calls A2 with intent flag FLAG_ACTIVITY_NO_HISTORY.When finish method is called on A3, What will be the currtent running activity?

b)A4

5) Parent class of Service?

c) ContextWrapper

7. When you want system to run the service indefinitely, by restarting it when get killed, use

c) START_STICKY

1) Once installed on a device, each Android application lives in_______?

c) security sandbox

7) Which component is not activated by an Intent?

c)ContentProvider

8) When contentProvider would be activated?

c)Using ContentResolver

17) How many ways to start services?

c)a & b

12) You can shut down an activity by calling its _______ method

c)finish()

14) Which one is NOT related to fragment class?

d)CursorFragment

6) What are the indirect Direct subclasses of Services?

d)InputMethodService

1. bmgr tool is used to

d)all of the above

23) If you want share the data accross the all applications ,you should go for?

d)content provider

10) Which are the screen sizes in Android?

e)All of the above

11) Which are the screen densities in Android?

e)All of the above

21) Layouts in android?

e)All of the above

22) Dialog classes in android?

e)All of the above

9) Which of the important device characteristics that you should consider as you design and develop your application?

e)All of the above

16) Characteristics of the Loaders?

e)All of the above.

3) What are the Direct subclasses of Activity?

f) all the aove

How will you launch an Activity within your application

startActivity()

51) What is contained within the Layout xml file?

A. Orientations and layouts that specify what the display looks like.

Android is licensed under which open source licensing license?

B. Apache/MIT

What is an Activity?

A single screen the user sees on the device at one time

41) What does the .apk extension stand for?

A. Application Package

21) From a phone manufacturer's point of view, what makes Android so great?

A. Aside from some specific drivers, it provides everything to make a phone work

56) The R file is a(an) generated file

A. Automatically

63) What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable?

A. Java source code.

60) The ___________ file specifies the layout of your screen.

A. Layout file

37) What operating system is used as the base of the Android stack?

A. Linux

65) How can I check if an activity is already running before starting it?

A. NEW_TASK_LAUNCH in the startActivity() method call.

32) Which Android version had the greatest share of the market as of January 2011?

B. 1.5

28) When did Google purchase Android?

B. 2005

38) What year was development on the Dalvik virtual machine started?

B. 2005

57) An activity can be thought of as corresponding to what?

B. A Java class

47) Which of the following are not a component of an APK file?

B. All of these are components of the APK

58) To create an emulator, you need an AVD. What does it stand for?

B. Android Virtual Device

16) Android is licensed under which open source licensing license?

B. Apache/MIT

12. The methods startForeground() and stopForeground() were introduced in which API level.

a) 2.0

9) 'Screen has turned off' is an example

a) Normal broadcast

13) What is the difference between Activity context and Application Context?

a) The Activity ... of an Activity... of the application,

13. Should always first check availability of audio effects by calling the following method on the corresponding audio effect class.

a) ischeckable()

15) Definition of Loader?

a) loaders make it easy to asynchronously load data in an activity or fragment.

Which of the following is the parent class for the main application class in and Android Application that has a user interface?

activity


Conjuntos de estudio relacionados

Temporomandibular Joint and muscles of Mastication

View Set

Excel Chapter 2: Review Study Sheet

View Set

WIO2: Work It Out - Ch. 2: Economic Models: Trade-offs and Trade

View Set

Chapter 5 - Chemical Reactions (Quiz)

View Set