Android Text mobile

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

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

1.5

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

2.0

What year was development on the Dalvik virtual machine started?

2005

When did Google purchase Android?

2005

What year was the Open Handset Alliance announced?

2007

Maximum results returned by getFromLocationName() method can be

5

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

<supports-screens>

16. What is an Activity?

A single screen in an application, with supporting Java code

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?

A3

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?

A4

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?

A4

7. Which of the following is the parent class for the main application class in an Android application that has a user interface?

Activity

9. Which of the following should be used to save the unsaved data and release resources being used by an Android application?

Activity.onDestroy()

22. Which of the following is/are appropriate for saving the state of an Android application?

Activity.onPause()

Android system uses intents to

All of the above.

Android is based on Linux for the following reason.

All of these

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

All of these are components of the APK

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

All three options will work.

1. What is an intent object?

An Intent object is a bundle of information

29. Which company developed android?

Android Inc

14. What does the .apk extension stand for?

Android Package

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

Android Virtual Device

12. Why cannot you run standard Java bytecode on Android?

Android uses Dalvik Virtual Machine

15. Android is licensed under which open source licensing license?

Apache/MIT

Android is licensed under which open source licensing license?

Apache/MIT

What does the .apk extension stand for?

Application Package

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

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

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

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

Android Applications must be signed.

Before they are installed

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

Context.sendBroadcast()

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

Context.startActivity()

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

Context.startService()

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

Create new id and add to resources

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

Dalvik

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

Dalvik byte code

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

Dex compiler

How is a simulator different from an emulator?

Emulators are only used to play old SNES games, simulators are used for software development | The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.

2. Intents designate the target component by its name and they are typically used for application-internal messages.

Explicit Intents

19. Is it possible to run java source code directly on Android?

False

30. Can you deploy executable JARs on Android?

False

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

False

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

False

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

False

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

False

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

False

Android releases since 1.5 have been given nicknames derived how?

Food

34. Which of the following is layout that you can use in a window in an Android application?

FrameLayout

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

Implicit Intents

17. Where will you declare your activity so the system can access it?

In the manifest xml file

20. Where can you define the icon for your Activity?

In the manifest xml file

An activity can be thought of as corresponding to what?

Java class

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

Java source code.

The ___________ file specifies the layout of your screen.

Layout file

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

Linux

4. Which one is not a nickname of a version of Android?

Muffin

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

Muffin

3. For writing Android code using C/C++, you need to use__________

NDK

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

NEW_TASK_LAUNCH in the startActivity() method call.

23. Does Android support AWT and Swing?

No

Screen has turned off' is an example

Normal broadcast

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

18. What is contained within the Layout xml file?

Orientations and layouts that specify what the display looks like

32. What is contained within the Layout xml file?

Orientations and layouts that specify what the display looks like

What is contained within the Layout xml file?

Orientations and layouts that specify what the display looks like.

33. Activity results handled by the onActivityResult() method are differentiated from one another using which parameter?

Result Code

The emulated device for android.

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

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

START_STICKY

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

Sensors

6. Which of the following are UI elements that you can not use in a window in an Android application?

SliderBar

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

T-Mobile G1

28. Which of the following are UI elements that you can use in a window in an Android application?

TextView

What is a funny fact about the start of Android?

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

What is contained within the manifest xml file?

The permissions the app requires

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

True

Google licensed some proprietary apps.

True

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

True

The Android SDK ships with an emulator.

True

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

True

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

True

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

True

26. How will you pass data to sub-activities?

Use Bundles

13. Which of the following are true about Intent.CALL_ACTION?

Used to dial a phone number on the device , Used when a phone number is to be dialled without showing a UI on the device

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

Users report malicious software to Google

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

Versions 1.6 or 2.0

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

Webkit

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

WiFi? driver

35. How do you access the string resource stored in the strings.xml file?

You can use the getResources() method

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

absract

10. The intents can communicate messages among any of the three core components of an application:

activities, services, broadcast receivers

What part of the Android platform is open source?

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

36. Which of the following methods is used to return a View from a layout file given the ID of the View?

findViewById(int id)

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

illegalArgumentException

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

ischeckable()

21. Which of the following is NOT a life-cycle methods of an Activity?

onInit

27. How will you launch an Activity within your application?

startActivity(intent);

The R file is a(an) generated file

Automatically

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

To allow them to advertise more

Zbmgr tool is used to

all of the above

foreground service

both a & c

what is false with respect to onBind()

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


Kaugnay na mga set ng pag-aaral

APUSH: Politics of the 20s and the Great Depression

View Set

College Anatomy Exam 1: Exam Jam Kahoot

View Set