Exam 14: Making an Android Widget
Exam 1: Basics of Android: Hello World23 Questions
Exam 2: Model View Controller, Gui Components, Events20 Questions
Exam 3: Coding the Gui Programmatically, Layout Managers20 Questions
Exam 4: Multiple Activities, Passing Data Between Activities, Transitions, Persistent Data22 Questions
Exam 5: Menus, Sqlite21 Questions
Exam 6: Managing the Device Orientation22 Questions
Exam 7: Touches and Swipes22 Questions
Exam 8: Graphics, Animations, Sounds and Gaming27 Questions
Exam 9: Fragments26 Questions
Exam 10: Using Libraries and Their Apis: Speech Recognition and Maps33 Questions
Exam 11: Using the Gps and Location Services21 Questions
Exam 12: Using an Existing App: Taking a Photo and Sending an Email28 Questions
Exam 13: Xml and Content Apps25 Questions
Exam 14: Making an Android Widget35 Questions
Exam 15: In App Advertising25 Questions
Exam 16: Security and Encryption23 Questions
Exam 17: Android Development: Extending Views, Fragments, and Google Maps Permissions127 Questions
Select questions type
There are no restrictions regarding the use of Views and layout managers inside a widget.
(True/False)
4.7/5
(36)
What attribute, included in the XML file defining the AppWidgetProviderInfo for the widget, specifies the frequency of updates of the widget?
(Multiple Choice)
4.9/5
(38)
The execute method of the AsyncTask class accepts a variable number of arguments.
(True/False)
4.9/5
(40)
The getJSONObject method of the JSONObject class has this API:
JSONObject getJSONObject( String name )
What does it return?
(Multiple Choice)
4.8/5
(39)
To create a widget, we need to extend the ____________ class or the BroadcastReceiver class.
(Short Answer)
4.9/5
(35)
A RemoteViews reference can be obtained by inflating an XML resource.
(True/False)
4.7/5
(47)
The __________________ method of the AppWidgetManager sets the RemoteViews for a widget based on its id.
(Short Answer)
4.8/5
(32)
If we allow the user to configure the widget, we need to add to the app-provider element an android:configure attribute in the widget configuration XML file.
(True/False)
4.8/5
(36)
What method of the AppWidgetProvider class is called when the last widget of a type of widget is deleted from the host screen?
(Multiple Choice)
4.8/5
(41)
What static method of the PendingIntent class can we use to create a PendingIntent?
(Multiple Choice)
4.8/5
(35)
The getInputStream method from the URLConnection class returns an InputStream.
(True/False)
5.0/5
(44)
The Home screen and the ____________ screen are examples of app widget hosts.
(Short Answer)
4.9/5
(44)
What method of the AsyncTask class is automatically called after doInBackground finishes?
(Multiple Choice)
4.8/5
(34)
Showing 21 - 35 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)