Premium

Associate Android Developer Certification Questions and Answer (Dumps and Practice Questions)



Question : Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?

 : Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?
1. Create by extending the android.view.View class.

2. Create by extending already existing View classes such as Button or TextView.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Create by combining multiple Views.

Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : Which of these is the incorrect explanation of the Android SDK and AVD Manager?

 : Which of these is the incorrect explanation of the Android SDK and AVD Manager?
1. They are provided from version 1.6 of the SDK. Up to Version 1.5, there was an AVD Manager but it lackedSDK management functions.

2. You can create and startup AVD, and on startup you can delete user data up to that point.

3. Access Mostly Uused Products by 50000+ Subscribers

4. The development tools that can be downloaded from Android SDK and AVD Manager are SDK
Androidplatform, NDK-platform, emulator images, and USB drivers for handsets.

Correct Answer : Get Lastest Questions and Answer :
Explanation: The AVD Manager provides a graphical user interface in which you can create and manage Android Virtual Devices (AVDs), which are required by the Android Emulator.

You can launch the AVD Manager in one of the following ways:

In Android Studio: select Tools > Android > AVD Manager, or click the AVD Manager icon in the toolbar.
In other IDEs: Navigate to your SDK's tools/ directory and execute android avd.




Question : Which of these is the correct explanation regarding the following methods?
(1)android.content.Context.sendBroadcast
(2)android.content.Context.startActivity

 : Which of these is the correct explanation regarding the following methods?
1. Both methods are defined by overloading.

2. Both methods throw an exception.

3. Access Mostly Uused Products by 50000+ Subscribers

4. Both methods are able to broadcast an Intent.

Correct Answer : Get Lastest Questions and Answer :
Explanation: public abstract void sendBroadcast (Intent intent, String receiverPermission)

Added in API level 1
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced. This call is asynchronous; it returns immediately, and you will continue executing while the receivers are run. No results are propagated from receivers and receivers can not abort the broadcast. If you want to allow receivers to propagate results or abort the broadcast, you must send an ordered broadcast using sendOrderedBroadcast(Intent, String).

public abstract void startActivity (Intent intent, Bundle options)

Added in API level 16
Launch a new activity. You will not receive any information about when the activity exits.

Note that if this method is being called from outside of an Activity Context, then the Intent must include the FLAG_ACTIVITY_NEW_TASK launch flag. This is because, without being started from an existing Activity, there is no existing task in which to place the new activity and thus it needs to be placed in its own separate task.




Related Questions


Question : What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?

 : What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?
1. findViewByReference(int id);

2. findViewById(int id)

3. retrieveResourceById(int id)

4. findViewById(String id)


Question : Which of the following is not an Android component (i.e. a point from which the system can enter your application)?

 : Which of the following is not an Android component (i.e. a point from which the system can enter your application)?
1. Service

2. Activity

3. Layout

4. Content Provider


Question : During an Activity life-cycle, what is the first callback method invoked by the system?

 : During an Activity life-cycle, what is the first callback method invoked by the system?
1. onStop()

2. onStart()

3. onCreate()

4. onRestore()


Question : Which configuration file holds the permission to use the internet?

 : Which configuration file holds the permission to use the internet?
1. Layout file

2. Property file

3. Java source file

4. Manifest file


Question : What does the following line of code achieve?

Intent intent = new Intent(FirstActivity.this, SecondActivity.class );

 : What does the following line of code achieve?
1. Creates an hidden Intent

2. Creates an implicit Intent

3. Create an explicit Intent

4. Create an explicit Intent


Question : Which of the following is NOT a valid usage for Intents?

 : Which of the following is NOT a valid usage for Intents?
1. Activate and Activity

2. Activate a Service

3. Activate a Broadcast receiver

4. Activate a SQLite DB Connection.