What is the name of Android class do we need to use to build up an JSON object?
a. JSONObject
b. JSONHandler
c. JSONReader
d. JSONStreamReader
Answer:...
There are two statements: Statement A: You should use AsyncTask to do a long operation. Statement B: You shoud use Service to do a shorter operation. Which of them are correct?
There are two statements:Statement A: You should use AsyncTask to do a long operation.Statement B: You shoud use Service to do a shorter operation.Which...
In auto-generated code of an Android app, what is R class?
In auto-generated code of an Android app, what is R class?
A. Contains code for authentication and authorization the app
B. Contains IDs of the project...
In HTML5, what is TRUE about localStorage?
In HTML5, what is TRUE about localStorage?
A. It is never expired
B. It is faster than sessionStorage
C. It is only available in one session
Answer:...
How to set data for a ListView?
How to set data for a ListView?
A. Define in XML file
B. Use function setListAdapter()
C. Use function addView()
D. b or c
E. None of above
Answer:...
Is it valid if we perform asynchronous operation in the onReceive() method?
Is it valid if we perform asynchronous operation in the onReceive() method?
A. No
B. Yes
Answer:...
On android, a layout can contain other layout?
On android, a layout can contain other layout?
A. False
B. True
Answer:...
Which statement is NOT correct about Google Map Overlay?
Which statement is NOT correct about Google Map Overlay?
A. To enable compass, you call .enableCompass() function of MyLocationOverlay instance
B....
What is NotificationManager class?
What is NotificationManager class?
A. The NotificationManager class is used to display notifications on the device's status bar and disappears after...
Which of the following item(s) is/ are a correct layout in Android?
Which of the following item(s) is/ are a correct layout in Android?
A. Frame Layout
B. Linear Layout
C. Relative Layout
D. All of the above
Answer:...
How to set data for a Gallery control?
How to set data for a Gallery control?
A. Define in XML file
B. Use function setGalleryAdapter()
C. Use function addView()
D. b or c
E. None of above
Answer:...
Which is Not a rule for Android single thread model?
Which is Not a rule for Android single thread model?
A. Do not block the UI thread
B. Do not access the Android UI toolkit from outside the UI thread
C....
What is NOT correct about Ext.Viewport in Sencha Touch?
What is NOT correct about Ext.Viewport in Sencha Touch?
A. Need declare in app.js
B. Extend from Ext.Container
C. Can add items to it at any time,...
Android is licensed under which open source licensing license?
Android is licensed under which open source licensing license?
A. OSS
B. Gnu's GPL
C. Sourceforge
D. Apache/MIT
Answer:...
What is NOT correct about HTML5?
What is NOT correct about HTML5?
A. All browsers support for all new elements of HTML5
B. HTML5 helps to reduce the need of browser plugin
C. HTML5...
Which one of four main components of an Android application that is corresponding with the following description: " They handle background processing associated with an application "
Which one of four main components of an Android application that is corresponding with the following description: " They handle background processing...
What is the method for monitoring a location?
What is the method for monitoring a location?
A. The method is addProximityAlert().
B. The method is addProximityNotify().
C. The method is addProximityLocation().
D....
Is TextView read-only by default?
Is TextView read-only by default?
A. True
B. False
Answer:...
How many threads are there in AsyncTask in android?
How many threads are there in AsyncTask in android?
A. Only One
B. Three
C. AsyncTask doesn't have tread
D. Two
Answer:...
Three main approaches to build GUI of Android app are Java-base, XML-base and ...?
Three main approaches to build GUI of Android app are Java-base, XML-base and ...?
A. Hybrid
B. JSON-base
C. Eclipse
D. HTML5-base
Answer:...
Android: Before the dialog is displayed, which callback methods will Android call?
Android: Before the dialog is displayed, which callback methods will Android call?
A. onlnitDialog(int)
B. onPrepareDialog(int, Dialog)
C. onShowDialog(int)
D....
Name the permissions you need to declare in your AndroidManifest.xml file for sending and receiving SMS message
Name the permissions you need to declare in your AndroidManifest.xml file for sending and receiving SMS message
A. The two permissions are SEND_PERMISSION...
Android: Which statements are correct about Broadcast receivers?
Android: Which statements are correct about Broadcast receivers?
A. Broadcast receivers are Android's implementation of the Publish/Subscribe messaging...
How to instantiate a Spinner control?
How to instantiate a Spinner control?
A. Via XML layout
B. Via code
C. All of above
D. None of above
Answer:...
What is not true about the Android application lifecycle?
What is not true about the Android application lifecycle?
A. Each application runs in its own process.
B. Processes are started and stopped as needed...
Why is the AbsoluteLayout not recommended for use?
Why is the AbsoluteLayout not recommended for use?
A. using the AbsoluteLayout makes it facility for your application to have a consistent look and...
How to call an AJAX request in Sencha Touch?
How to call an AJAX request in Sencha Touch?
A. Use Ext.Ajax()
B. Use Ext.Ajax.call()
C. Use Ext.Ajax.request()
D. None of above
Answer:...
What is Toast class?
What is Toast class?
A. The Toast class is used to display notifications on the device's status bar
B. The Toast class is used to display notifications...
In Android, which class is used to makes http connection.
In Android, which class is used to makes http connection.
A. Connection
B. TCPClient
C. HttpConnection
D. HttpURLConnection
Answer:...
Android: What is value on component's attribute "layout_width" and "layout_height" to display the component big enough to enclose its content only?
Android: What is value on component's attribute "layout_width" and "layout_height" to display the component big enough to enclose its content only?
A....
What is android view group?
What is android view group?
A. Layouts
B. Base class of building blocks
C. FragmentActivity
D. Collection of views and other child views
Answer:...
How many main approaches to build GUI of Android app?
How many main approaches to build GUI of Android app?
A. >=5
B. 2
C. 1
D. 3
E. 4
Answer:...
What are the Direct subclasses of Activity?
What are the Direct subclasses of Activity?
A. ListActivity
B. ActivityGroup
C. FragmentActivity
D. All of the above
Answer:...
"Gingerbread" is nickname of
"Gingerbread" is nickname of
A. Android version 2.3.x
B. Android version 4.x
C. Android version 2.2
D. Android version 3.x
Answer:...
Which statement is NOT correct about Intents Action?
Which statement is NOT correct about Intents Action?
A. The Intent class defines a number of pre-defined action constants
B. We can also define your...
How does Android system manage activity's life cycle?
How does Android system manage activity's life cycle?
A. Manually by the user
B. Via system GC
C. Via system activity stack
D. None of above
Answer:...
In Sencha Touch, which of the following folder contains the Models, Views, Controllers, and Stores for your app.
In Sencha Touch, which of the following folder contains the Models, Views, Controllers, and Stores for your app.
A. resource
B. app
C. src
Answer:...
Which statements are NOT correct about Intent Filters?
Which statements are NOT correct about Intent Filters?
A. Filters informs the system which implicit intents a component can handle
B. If a component...
Data type integrity is not maintained in SQLite, you can put a value of a certain data type in a column of another datatype (put string in an integer and vice versa)?
Data type integrity is not maintained in SQLite, you can put a value of a certain data type in a column of another datatype (put string in an integer...
Android: Is the main thread called the UI thread?
Android: Is the main thread called the UI thread?
A. No
B. Yes
Answer:...
How to create a Sencha Touch app?
How to create a Sencha Touch app?
A. Use Sencha SDK Guide: File New Project
B. Use command line: sencha generate app
C. Download app skeleton from...
The first step when working with SQLite is to create a class that inherits from a helper class, what is it?
The first step when working with SQLite is to create a class that inherits from a helper class, what is it?
A. SQLiteOpenHelper class
B. SQLiteHelper...
Android: Is a dialog always created and displayed as a part of an Activity?
Android: Is a dialog always created and displayed as a part of an Activity?
A. Yes
B. No
Answer:...
Do we need to declare all of Controller in app.js with Sencha Touch?
Do we need to declare all of Controller in app.js with Sencha Touch?
A. No
B. Yes
Answer:...
Name the method that enables you to obtain the path of the external storage of an Android device.
Name the method that enables you to obtain the path of the external storage of an Android device.
A. The method name is getExternalStorageDirectory()
B....
Which of the following is appropriate for saving the state of an Android application?
Which of the following is appropriate for saving the state of an Android application?
A. Activity.onDestroy()
B. Activity.onStop()
C. Activity.onPause()
D....
Android: How to calling Sub-Activities for result data?
Android: How to calling Sub-Activities for result data?
A. Use the startActivityForResult() method to start Activity, called a Sub-Activity.
B. In...
Do we need to register all of View classes in app.js with Sencha Touch?
Do we need to register all of View classes in app.js with Sencha Touch?
A. Yes
B. No
Answer:...
Does CSS support to detecting device size and orientation?
Does CSS support to detecting device size and orientation?
A. Yes
B. No
Answer:...
What is the geocoding?
What is the geocoding?
A. Geocoding is the act of converting an address into its coordinates (latitude and longitude).
B. Geocoding is the act of...
What will happen if you have two or more activities with the same intent filter action name?
What will happen if you have two or more activities with the same intent filter action name?
A. The Android OS will choose second activity.
B. The...
Android is based on which language?
Android is based on which language?
A. C++
B. PHP
C. Java
D. Objective C
Answer:...
How to display a Toast?
How to display a Toast?
A. Call .show() method
B. Call .getText() method
C. Call .display() method
D. None of above
Answer:...
There are two statements: Statement A: Using Shared Preferences, you can store private primitive data only. Statement B: Using External Storage option, you can store public data on the shared external storage. Which of them are correct?
There are two statements:Statement A: Using Shared Preferences, you can store private primitive data only.Statement B: Using External Storage option,...
Which of the following used to detect when a user clicks or taps on a button?
Which of the following used to detect when a user clicks or taps on a button?
A. OnClickListener
B. OnClickButton
C. OnClickDetector
D. OnPressListener
Answer:...
Intent mylntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); startActivity(mylntent); Which of following is true?
Intent mylntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); startActivity(mylntent);Which of following is true?
A. mylntent...
How to add a scroll view?
How to add a scroll view?
A. Use tag <ScrollView...
B. Use code:
ScrollView sv = new ScrollView();
setContentView(sv);
C. All of above
Answer:...
Does Sencha Touch provide access to the native Compass API when running on a device?
Does Sencha Touch provide access to the native Compass API when running on a device?
A. No
B. Yes
Answer:...
Assume that content of "parent" is stored in reader variable, and inside it has a child object named "child". Which of the following statement we need to you to get this child object?
Given the following JSON content:
{"parent":[
{"child":"Peter"}
]}
Assume that content of "parent" is stored in reader variable, and inside it has a...
Four main components of an Android application are: Activities, Services, Broadcast Receivers and.
Four main components of an Android application are: Activities, Services, Broadcast Receivers and.
A. Content Providers
B. Fragments Intents
C. Intents
D....
What is TRUE about sessionStorage?
What is TRUE about sessionStorage?
A. It is available in only one session
B. It is slower than localStorage
C. It is never expired
Answer:...
Intent mylntent = new Intent(this, ActivityTwo.class); myIntent.putExtra("Valuel", "This value one for ActivityTwo "); mylntent.putExtra("Value2", "This value two ActivityTwo"); Which of following is true?
Intent mylntent = new Intent(this, ActivityTwo.class);myIntent.putExtra("Valuel", "This value one for ActivityTwo ");mylntent.putExtra("Value2", "This...
How do you register a content provider in your AndroidManifest.xml file?
How do you register a content provider in your AndroidManifest.xml file?
A. <provider android:name="ProductsProvider" android:package="fu.android.provider.Products"...
Android: Which statements are correct about Broadcast receivers?
Android: Which statements are correct about Broadcast receivers?
A. Broadcast receivers are Android's implementation of Publish/Subcribe messaging...
Android MapActivity is
Android MapActivity is
A. Base class with code to manage the boring necessities of any activity that display a MapView
B. A View which display a Map...
In Android, by default, SQLite database save data in?
In Android, by default, SQLite database save data in?
A. Memory
B. External Storage
C. Internal Storage
D. On the cloud
Answer:...
Which database is natively supported by android?
Which database is natively supported by android?
A. MSSQL
B. MySQL
C. SQLite
D. Oracle
Answer:...
On Android SQLite: Where can we define tables, columns, views, triggers?
On Android SQLite: Where can we define tables, columns, views, triggers?
A. onUpgrade()
B. onInit()
C. onStart()
D. onCreate()
Answer:...
Which Android File API to create a file?
Which Android File API to create a file?
A. openInputFile()
B. openFileOutPut()
C. getFile()
Answer:...
Android: Services run without a dedicated GUI, so they don't execute in the main thread of the application's process.
Android: Services run without a dedicated GUI, so they don't execute in the main thread of the application's process.
A. False
B. True
Answer:...
How do we get access to the preference?
How do we get access to the preference?
A. Via getPreference() method
B. Via getSharedPreference() method
C. Via getDefaultSharedPreference() method
D....
There are five different methods to store persistent data. They are: Shared Preference, Internal Storage, External Storage, Network and ...?
There are five different methods to store persistent data. They are: Shared Preference, Internal Storage, External Storage, Network and ...?
A. Core...
Android: Which class provides a general framework that allows you to save and retrieve persistent key-value pairs of primitive data types?
Android: Which class provides a general framework that allows you to save and retrieve persistent key-value pairs of primitive data types?
A. File
B....
When ContentProvider would be actived?
When ContentProvider would be actived?
A. Using Intent
B. Using SQLite
C. Using ContentResolver
D. None of the above
Answer:...
How do you specify the minimum version of Android required by your application?
How do you specify the minimum version of Android required by your application?
A. You specify the minimum Android version required using the minNdkVersion...
Name the three events you can override to save an activity's state.
Name the three events you can override to save an activity's state.
A. onStop(), onSaveInstanceState(), and onRetainNonConfigurationInstance()
B....
Which statements are correct about Category?
Which statements are correct about Category?
A. A string containing additional information about the kind of component (activity, service, or broadcast...
Which is right xml-based way to load view layout?
Which is right xml-based way to load view layout?
A. setContentView(new XmlLayout())
B. loadContentView(new LinearLayout())
C. setContentView(R.layout.some_layout)
D....
Which method is NOT a method of activity class?
Which method is NOT a method of activity class?
A. onCreate()
B. onStart()
C. onPlay()
D. onResume()
E. onDestroy()
Answer: ...
The px unit corresponds to an actual pixcel on screen?
The px unit corresponds to an actual pixcel on screen?
A. True
B. False
Answer:...
Android: Which Layout adds each child View in a straight line, either vertically or horizontally and allows you to specify a "weight" for each child View that controls the relative size of each within the available space?
Android: Which Layout adds each child View in a straight line, either vertically or horizontally and allows you to specify a "weight" for each child...
Android: which attribute will be used in XML if the Java code needs a reference to View?
Android: which attribute will be used in XML if the Java code needs a reference to View?
A. android: gravity
B. android: background
C. android: index
D....
The application must declare all its component in Manifest file?
The application must declare all its component in Manifest file?
A. True
B. False
Answer:...
Subscribe to:
Posts (Atom)