What is base of all Sencha Touch component? What is base of all Sencha Touch component? Answer: Ext COmponent
Which permission needed in order to use MapActivity? Which permission needed in order to use MapActivity? Answer: <uses-permission android:name="android.permission.INTERNET" />
How to get the form data in Sencha Touch? How to get the form data in Sencha Touch? Answer: getFormInstance().getValues();
How to apply stylesheet with HTML element by id? How to apply stylesheet with HTML element by id? Answer: #id
How to check if browser supports web storage? How to check if browser supports web storage? Answer: Check if typeof(Storage) !== "undefined"
Does HTML5 native support for local storage? Does HTML5 native support for local storage? Answer: true
Which Android File API to create a file? Which Android File API to create a file? Answer: opentfileoutput()
Which kind of application when creating with Sencha Touch? Which kind of application when creating with Sencha Touch? Answer: Hubrid app
Which database is natively supported by android? Which database is natively supported by android? Answer: SQlite
Which file is entry point for Sencha Touch app? Which file is entry point for Sencha Touch app? Answer: app.js
What is NOT correct about Controller in Sencha Touch? What is NOT correct about Controller in Sencha Touch? Answer: Responsible for responding to events that occur within your app
Does CSS support to detecting device size and orientation? Does CSS support to detecting device size and orientation? Answer: true
What is the correct HTML5 element for playing video files? What is the correct HTML5 element for playing video files? Answer: video
How does Android system manage activity's life cycle How does Android system manage activity's life cycle Answer: Via system activity stack Correct
In auto-generated code of an Android app, what is R class? In auto-generated code of an Android app, what is R class? Answer: Contains IDs of the project resources
Which of the following are UI elements that you can use in a window in an Android application? Which of the following are UI elements that you can use in a window in an Android application? Answer: TextView
How to set data for a Spinner control? How to set data for a Spinner control? Answer: Use method setAdapter()
On android, a layout can contain other layout? On android, a layout can contain other layout? Answer: true
What is NotificationManager class? What is NotificationManager class? Answer: The NotificationManager class is used to display notifications on the device's status bar
Which statement correctly changes the nameLabel TextView to Nguyen Van A? Which statement correctly changes the nameLabel TextView to Nguyen Van A? Answer: nameLabel.setText("Nguyen Van A") |
What is contained within the Layout xml file? What is contained within the Layout xml file? Answer: Orientations and layouts that specify what the display looks like
How do you programmatically determine whether a RadioButton is checked? How do you programmatically determine whether a RadioButton is checked? Answer: You should check the isChecked() method
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? Answer: android:id
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? Answer: wrap_content
What is contained within the manifest xml file? What is contained within the manifest xml file? Answer: The permissions the application requires
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? Answer: OnClickListene
What is the android:versionCode attribute in the AndroidManifest.xml file? What is the android:versionCode attribute in the AndroidManifest.xml file? Answer: The android:versionCode attribute is used to programmatically check if an application can be upgrade
Which of the following methods is used to return a View from a layout file given the ID of the View? Which of the following methods is used to return a View from a layout file given the ID of the View? Answer: findViewById(int id)
How do you access the string resource stored in the strings.xml fill How do you access the string resource stored in the strings.xml fill Answer: You can use the getResources()
Which of the following is layout that you can use in a window in an Android application? Which of the following is layout that you can use in a window in an Android application? Answer: FrameLayout
Activity results handled by the onActivityResult() method are differentiated from one another using which parameter? Activity results handled by the onActivityResult() method are differentiated from one another using which parameter? Answer: Result Code
What is contained within the Layout xml file? What is contained within the Layout xml file? Answer: Orientations and layouts that specify what the display looks
Can you deploy executable JARs on Android? Can you deploy executable JARs on Android? Answer: False Correct
Which of the following are UI elements that you can use in a window in an Android application? Which of the following are UI elements that you can use in a window in an Android application? Answer: TextView Correc
How will you pass data to sub-activities? How will you pass data to sub-activities? Answer: Use Bundles Correct
The Intent object is passed to this method to deliver the message to all interested broadcast receivers The Intent object is passed to this method to deliver the message to all interested broadcast receivers Answer: Context.sendBroadcast() Correct
The Intent object is passed to this method to launch a new activity or get an existing activity to do something new The Intent object is passed to this method to launch a new activity or get an existing activity to do something new Answer: Context.startActivity() Correct
Which of the following is/are appropriate for saving the state of an Android application? Which of the following is/are appropriate for saving the state of an Android application? Answer: Activity.onPause() Correct
Which of the following is NOT a life-cycle methods of an Activity? Which of the following is NOT a life-cycle methods of an Activity? Answer: onInit Correct
Where can you define the icon for your Activity? Where can you define the icon for your Activity? Answer: In the style xml file
What is contained within the Layout xml file? What is contained within the Layout xml file? Answer: Orientations and layouts that specify what the display looks like Correct
Where will you declare your activity so the system can access it? Where will you declare your activity so the system can access it? Answer: In the manifest xml file Correct
What is an Activity? What is an Activity? Answer: A single screen in an application, with supporting Java code Correct
Android is licensed under which open source licensing license? Android is licensed under which open source licensing license? Answer: Apache/MIT Correct
What does the .apk extension stand for? What does the .apk extension stand for? Answer: Application Program Kit Incorrect
Which of the following are true about Intent.CALL_ACTION? Which of the following are true about Intent.CALL_ACTION? Answer: Used when a phone number is to be dialled without the user having to explicitly initiate the call. Incorrect
Why cannot you run standard Java bytecode on Android? Why cannot you run standard Java bytecode on Android? Answer: Android uses Dalvik Virtual Machine Correct
The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service Answer: Context.startService() Correct
The intents can communicate messages among any of the three core components of an application: The intents can communicate messages among any of the three core components of an application: Answer: activities, services, broadcast receivers Correct
Which of the following should be used to save the unsaved data and release resources being used by an Android application? Which of the following should be used to save the unsaved data and release resources being used by an Android application? Answer: Activity.onDestroy() Correct
Intents do not name a target and the field for the component name is left blank Intents do not name a target and the field for the component name is left blank Answer: Implicit Intents Correct
Which of the following is the parent class for the main application class in an Android application that has a user interface? Which of the following is the parent class for the main application class in an Android application that has a user interface? Answer: Activity Correct
Which of the following are UI elements that you can not use in a window in an Android application? Which of the following are UI elements that you can not use in a window in an Android application? Answer: SliderBar Correct
The R.java file is where you edit the resources for your project The R.java file is where you edit the resources for your project Answer: False Correct
Which one is not a nickname of a version of Android? Which one is not a nickname of a version of Android? Answer: Muffin Correct
For writing Android code using C/C++, you need to use__________ For writing Android code using C/C++, you need to use__________ Answer: NDK Correct
Intents designate the target component by its name and they are typically used for application-internal messages. Intents designate the target component by its name and they are typically used for application-internal messages. Answer: Explicit Intents Correct
What is an intent object? What is an intent object? Answer: An Intent object is a bundle of information Correct
Android: Is the main thread called the UI thread? Android: Is the main thread called the UI thread? Answer: Yes
In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they? In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they? Answer: onCreate() and onUpgrade()
How to set position of a Sencha Touch component? How to set position of a Sencha Touch component? Answer: Only a & b
You must declare all application components in Manifest file in this way: You must declare all application components in Manifest file in this way: Answer: <provider> elements for content providers
How many CSS files can be included in a Sencha Touch project? How many CSS files can be included in a Sencha Touch project? Answer: Many
Which attribute will be used in XML if the Java code needs a reference to View? Which attribute will be used in XML if the Java code needs a reference to View? Answer: android: id
Which statement is NOT correct about PhoneGap? Which statement is NOT correct about PhoneGap? Answer: It doesn't support for Java phone
Which method to open a Hap connection to an Uri? Which method to open a Hap connection to an Uri? Answer: url.openConnection()
How to listen to an event in Sencha Touch class? How to listen to an event in Sencha Touch class? Answer: Write event handler within listeners:{} body
What is value on component's attribute layout_widtlf and layout_heighl to display the component big enough to What is value on component's attribute layout_widtlf and layout_heighl to display the component big enough to Answer: wrap_content
Intent myIntent = new Intent(this. ActivityTwo.class); Intent myIntent = new Intent(this. ActivityTwo.class); Answer: myIntent is explicit Intent
What is not true about the Android application lifecycle What is not true about the Android application lifecycle Answer: Each activity of an app is run in its own process
Android AsyncTask create new thread in background Android AsyncTask create new thread in background Answer: True
What are location providers in Android? What are location providers in Android? Answer: GPS & Network
There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? Answer: SQLite Database
There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? Answer: SQLite Database
Android MapActivity is Android MapActivity is Answer: Base class with code to manage the boring necessities of any activity that displays a MapView
If the action is ACTION_CALL. what the data field would be? If the action is ACTION_CALL. what the data field would be? Answer: URI with the number to call
How to define a new Sencha Touch class? How to define a new Sencha Touch class? Answer: Use Extdefine()
What is NOT correct about Store in Sencha Touch? What is NOT correct about Store in Sencha Touch? Answer: Load data via a Proxy
How to make a TextView to be editable? How to make a TextView to be editable? Answer: Either set its attribute editable ='true' or Use EditText class instead of TextView class
Which class do we use for listening location update? Which class do we use for listening location update? Answer: LocationManager class
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? Answer: No
How many main approaches to build GUI of Android app? How many main approaches to build GUI of Android app? Answer: 2
Which statement is correct about web storage? Which statement is correct about web storage? Answer: It is key/value data
On android, a layout can contain other layout? On android, a layout can contain other layout? Answer: True
Which of the following is best choice for simple animations for your website? Which of the following is best choice for simple animations for your website? Answer: JavaScript
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? Answer: Yes
Android: When a dialog is requested for the first time, which method will Android call from your Activity? Android: When a dialog is requested for the first time, which method will Android call from your Activity? Answer: onCreateDialog(int)
How to show or hide a Sencha Touch component? How to show or hide a Sencha Touch component? Answer: Call .show() or .hide() method of component itself
Which activity class do you need to inherit to show Google map? Which activity class do you need to inherit to show Google map? Answer: MapActivity class
Does HTML5 native support for local storage? Does HTML5 native support for local storage? Answer: Yes
How to change the main color of Sencha Touch application? How to change the main color of Sencha Touch application? Answer: Change the $base-color variable in app.scss
How to set layout's attribute programmatically in android? How to set layout's attribute programmatically in android? Answer: Use LayoutParams class
Does CSS support to detecting device size and orientation? Does CSS support to detecting device size and orientation? Answer: Yes
By default UI components made in the UI editor should have text defined in file? By default UI components made in the UI editor should have text defined in file? Answer: string.xml
Android: Where we can create tables and columns to them, create views or triggers? Android: Where we can create tables and columns to them, create views or triggers? Answer: onCreate()
In android intent. The activity can be embedded inside of another activity that hosts gadgets is belonged to In android intent. The activity can be embedded inside of another activity that hosts gadgets is belonged to Answer: CATEGORY_GADGET
Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent): Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent): Answer: myIntent is implicit Intent
How to get the form data in Sencha Touch? How to get the form data in Sencha Touch? Answer: getFormInstanceagetValues();
In auto-generated code of an Android app, what is R class? In auto-generated code of an Android app, what is R class? Answer: Contains IDs of the project resources
How to register a broadcast receiver? How to register a broadcast receiver? Answer: Via AndroidManifestxml file
Android: Do we need API key for displaying Google Maps in Android? Android: Do we need API key for displaying Google Maps in Android? Answer: yes
On android services, onStart() and onBind() are the same? On android services, onStart() and onBind() are the same? Answer: False
What is base of all Sencha Touch component? What is base of all Sencha Touch component? Answer: Ext.Component
Which permission needed in order to use MapActivity? Which permission needed in order to use MapActivity? Answer: <uses-permission android:name="android.permission.INTERNET" />
How to get the form data in Sencha Touch? How to get the form data in Sencha Touch? Answer: getFormInstance().getValues();
How to apply stylesheet with HTML element by id? How to apply stylesheet with HTML element by id? Answer: #id
How to check if browser supports web storage? How to check if browser supports web storage? Answer: Check if typeof(Storage) !== "undefined"
Does HTML5 native support for local storage? Does HTML5 native support for local storage? Answer: True
Which Android File API to create a file? Which Android File API to create a file? Answer: openFileOutput()
IntentFilters are typically defined via IntentFilters are typically defined via Answer: Both of above
Which kind of application when creating with Sencha Touch? Which kind of application when creating with Sencha Touch? Answer: Hybrid app
Which database is natively supported by android? Which database is natively supported by android? Answer: SQLite
Which file is entry point for Sencha Touch app? Which file is entry point for Sencha Touch app? Answer: app.js
What is NOT correct about Controller in Sencha Touch? What is NOT correct about Controller in Sencha Touch? Answer: Responsible for responding to events that occur within your app
Does CSS support to detecting device size and orientation? Does CSS support to detecting device size and orientation? Answer: True
What is the correct HTML5 element for playing video files? What is the correct HTML5 element for playing video files? Answer: <video>
How does Android system manage activity's life cycle How does Android system manage activity's life cycle Answer: Via system activity stack
In auto-generated code of an Android app, what is R class? In auto-generated code of an Android app, what is R class? Answer: Contains IDs of the project resources
Which of the following are UI elements that you can use in a window in an Android application? Which of the following are UI elements that you can use in a window in an Android application? Answer: TextView
How to set data for a Spinner control? How to set data for a Spinner control? Answer: Use method setAdapter()
On android, a layout can contain other layout? On android, a layout can contain other layout? Answer: True
Which dialog box can you use in you Android application? Which dialog box can you use in you Android application? Answer: AlertDialog
What is NotificationManager class? What is NotificationManager class? Answer: The NotificationManager class is used to display notifications on the device's status bar
Which statement correctly changes the nameLabel TextView to Nguyen Van A? Which statement correctly changes the nameLabel TextView to Nguyen Van A? Answer: nameLabel.setText("Nguyen Van A");
What is contained within the Layout xml file? What is contained within the Layout xml file? Answer: Orientations and layouts that specify what the display looks like
How do you programmatically determine whether a RadioButton is checked? How do you programmatically determine whether a RadioButton is checked? Answer: You should check the isChecked() method
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? Answer: android:id
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? Answer: wrap_content