-
Notifications
You must be signed in to change notification settings - Fork 208
/
Copy pathPRM391.txt
1139 lines (1138 loc) · 103 KB
/
PRM391.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
The difference between SQLite and Content provider is: | Content provider can share data with other application but SQLite cannot.
A call to the _________ method of the ActivityCompat class will return a true result if the user has previously denied a request for the specified permission, and a false result if the request has not previously been made. | shouldShowRequestPermissionRationale()
Android Storage Access Framework can only work with local storage. | False
Which element use to define a permission in Android? | uses-permission
Which type of Google map display the standard view consisting of the classic road map? | GoogleMap.MAP_TYPE_NORMAL
To check a feature is available on system as camera or micro phone, we can use which method? | PackageManager.hasSystemFeature()
On android services, onStart() and onBind() are the same? | False
Which method perform a single SQL statement that does NOT return result data. | execSQL()
Do we need API key for displaying Google Maps in Android? | Yes
How many type of Android service do we have? | 2
Android: What is value on component’s attribute “layout_width” and “layout_height“ to display the component big enough to enclose its content only? | wrap_content
Which of following statement is true? | When an activity start sub-activity, the sub-activity can send data back by finish() method and activity can get data by onActivityResult() method
To access through the result of database query, we can use class: | Cursor
Which one is NOT a multi-windows mode? | Separate mode
Which method use to check permission is granted by user or not? | checkSelfPermission()
Android: Which attribute will be used in XML if the Java code needs a reference to View? | android: id
Which file contain Android permissions for and application? | AndroidManifest.xml
Use of the video capture intent involves to implementation of code to call the intent activity and a method to handle the return from the activity. The Android built-in video recording intent is represented by | MediaStore.ACTION_VIDEO_CAPTURE
Which class use to display the Storage Access Framework picker user interface to the user and let user open or create a file? | Intent
Which class use to play audio in Android? | MediaPlayer
Choose the right answer to fill in blank To develop your own service in Android, which of the following step you need to do? | implements onStartCommand, onBind, onUnbind, onRebind, onCreate, onDestroy methods
If you have embedded the Google Maps API into your Android application but it does not show the map when the application is loaded, what could be the likely reasons? | All of others
Android: How do we execute Queries? | rawQuery()/query()
The ____________ class provide a set of controls allowing the user to manage the playback such as pausing and seeking backwards/forwards in the video timeline. | MediaController
Which method is NOT an override method of class ContentProvider? | select()
Which multi-windows mode make two activities appear either side by side or one above the other. | Split-screen mode
To share data for other application, the other application must be using ________ to access data from content provider. | Content Uri
Which class must be implement to using SQLite database? | SQLiteOpenHelper
Which class use enable or disable user gesture like zoom in, zoom out, rotate map and scroll on Google map? | UiSettings
In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they? | onCreate() and onUpgrade()
How to set data for a ListView? | Use function setListAdapter() & Use function addView()
Intent myIntent = new Intent(this. ActivityTwo.class); myIntentputExtra("Value1". "This value one for ActivityTwo "); myIntentputExtra("Value2". "This value two ActivityTwo"); | myIntent is explicit Intent
Android MapActivity is | Base class with code to manage the boring necessities of any activity that displays a MapView
Which statements are correct about Category? | All of above
Name the three events you can override to save an activity’s state | onPause() , onSaveInstanceState() , and on RetainNonConfigurationInstance()
How do you specify the minimum version of Android rnew equired by your application? | You specify the minimum Android version required using the minSDKVersion attribute in the AndroidManifest.xml file
When contentProvider would be activated? | using ContentResolver
Android : Which class provides a general framework that allows you to save and retrieve persistent key-value pairs of primitive data types | SharedPreferences
There are five different methods to store persistent data . They are : Shared Preferences , Internal Storage , External Storage , Network and …? | SQLite Database
How do we get access to the preference? | Via getPreference() method
Name the method that enables you to obtain the path of the external storage of an Android | The method name is getExternalStorageDirectory()
What is the geocoding? | Geocoding converts a pair of location coordinates into an address
Android : Services run without a dedicated GUI, so they don’t execute in the main thread of the application’s process | False
Which Android File API to create a file? | getFile()
On Android SQLite: Where can we define tables, columns , views , triggers? | onCreate()
Which database is natively supported by android | SQLite
In Android, by default, SQLite database save data in | Internal storage
In auto-generated code of an Android app, what is R class? | Contains IDs of the project resources
There are two statements:Statement A: You should use AsyncTask, to do a long operation.Statement B : You should use Service to do a shorter operation.Which of them are correct? | Statement A is False, and Statement B is False
What is the name of Android class do we need to use to build up an JSON object? | JSONObject
The application must declare all its components in Manifest file | False
Android : Which attribute will be used in XML if the Java code needs a refrence to View? | android: id
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? | LinearLayout
The px unit corresponds to an actual pixel on screen | False
Android: Which statements are correct about Broadcast receivers ? | All of above
How to display a Toast? | None of above
Which method is NOT a method of activity class? | onPlay()
Which is right xml-based way to load view layout | setContentView(R.layout.some_layout)
Four main components of an Android application are: Activities,Services,Broadcast Receivers and _ | Intents
What are the Direct subclasses of Activity? | ListActivity
How many main approaches to build GUI of Android app? | 2
What is android view group? | Layouts
Android: What is value on component’s attribute “layout_width” and “layout_height” to display the component big enough to enclose its content only? | wrap_content
In Android, which class is used to makes http connection | HttpURLConnection
What is Toast class? | The Toast class is used to display notifications on the device’s status bar and disappears after a few seconds
How to call an AJAX request in Sencha Touch? | Use Ext.Ajax.request()
Why is the AbsoluteLayout not recommended for use | using the AbsoluteLayout makes it quick for your application to have a consistent look and feel across devices
What is not true about the Android application lifecycle | Each activity of an app is run in its own process
How to instantiate a Spinner control? | All of above
Name the permissions you need to declare in your AndroidManifest.xml file for sending and receiving SMS message | The two permissions are SEND_PERMISSION and RECEIVE_PERMISSION
Android : Before the dialog is displayed, which callback methods will Android call? | onShowDialog(int)
Three main approaches to build GUI of Android app are Java-base, XML-base and …? | Hybrid
How many threads are there in AsyncTask in android? | Three
Is TextView read-only by default? | Yes
What is the method for monitoring a location? | The method is addProximityNotify().
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.” | Services
What is NOT correct about HTML5? | All browsers support for all new elements of HTML5
Android is licensed under which open source licensing license? | Apache/MIT
What is NOT correct about Ext.Viewport in Sencha Touch? | Can add items to it at any time, from anywhere in code
Which is Not a rule for Android single thread model? | Do manipulation of the UI from both UI thread and Worker thread to increase performance
How to set data for a Gallery control? | Define in XML file
Which of the following item(s) is/ are a correct layout in Android? | Relative Layout
What is NotificationManager class? | The NotificationManager class is used to display notifications on the device’s status bar
Which statement is NOT correct about Google Map Overlay? | Overlay is added to map automatically after instancing it
On android, a layout can contain other layout? | True
Is it valid if we perform asynchronous operation in the onReceive() method? | Yes
In HTML5, what is TRUE about localStorage? | It is never expired
How do you register a content provider in your AndroidManifest.xml file? | <provider android:name=”ProductsProvider” android:path=”fu.android.provider.Products” />
What is TRUE about sessionStorage? | It is slower than localStorage
Given the following JSON content:{“parent”:[{“child”:”Peter”}]}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? | JSONObject childObj = reader.getJSONObject(“child”);
Does Sencha Touch provide access to the native Compass API when running on a device? | No
How to add a scroll view? | All of above
Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent): | myIntent is implicit Intent
Which of the following used to detect when a user clicks or taps on a button? | OnClickListener
There are two statements:Statement A : Using Shared Perferences, 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? | Statement A is True, and Statement B is False
How to display a Toast? | Call .show() method
Android is based on which language? | Java
What will happen if you have two or more activities with the same INTENT FILTER action name | The Android OS will display a dialog from which users can choose which activity they want to use.
Does CSS support to detecting device size and orientation? | Yes
Do we need to register all of Controller in app.js with Sencha Touch? | No
Android: How to calling Sub-Activities for result data? | All of above
Which of the following is/are appropriate for saving the state of an Android application? | Activity.onPause()
Do we need to declare all of Controller in app.js with Sencha Touch? | Yes
Android: Is a dialog always created and displayed as a part of an Activity? | Yes
The first step when working with SQLite is to create a class that inherits from a helper class, what is it? | SQLiteDatabaseHelper class
How to create a Sencha Touch app? | Download app skeleton from Sencha Touch website
Android: Is the main thread called the UI thread? | Yes
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)? | True
Which statements are NOT correct about Intent Filters? | If a component does not have any intent filters, it can receive only explicit intents
In Sencha Touch, which of the following folder contains the Models, Views, Controllers, and Stores for your app | app
How does Android system manage activity’s life cycle | Via system activity stack
Which statement is NOT correct about Intents Action? | All of above
“Gingerbread” is nickname of | Android version 2.3.x
Zbmgr tool is used to | all of the above
foreground service | both a & c
currtent running activity? | A4
current running activity? | A4
intent flag, when finish() method called on A4. What will be the current running activity? | A3
The plus(+) means in statement android:id="@+id/my_id"? | Create new id and add to resources
When you want system to run the service indefinitely, by restarting it when get killed, use | START_STICKY
Android system uses intents to | All of the above.
Screen has turned off' is an example | Normal broadcast
If you try to acces the column which does not exit, system throws | illegalArgumentException
Maximum results returned by getFromLocationName() method can be | 5
The methods startForeground() and stopForeground() were introduced in which API level. | 2.0
the corresponding audio effect class. | ischeckable()
Applications that require filtering based on screen size can use the attributes. | <supports-screens>
what is false with respect to onBind() | calling startService() results in a call to onBind()
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
As an Android programmer, what version of Android should you use as your minimum development target? | Versions 1.6 or 2.0
What was Google's main business motivation for supporting Android? | To allow them to advertise more
What was the first phone released that ran the Android OS? | T-Mobile G1
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
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 year was the Open Handset Alliance announced? | 2007
A device with Android installed is needed to develop apps for Android. | False
Android tries hard to _____low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily. | absract
Google licensed some proprietary apps. | True
What part of the Android platform is open source? | all of these answers #The entire stack is an open source platform
When did Google purchase Android? | 2005
Android releases since 1.5 have been given nicknames derived how? | Food
Which one is not a nickname of a version of Andriod? | Muffin
Android doesn't make any assumptions about a device's screen size, resolution, or chipset.: | True
Which Android version had the greatest share of the market as of January 2011? | 1.5
Which piece of code used in Android is not open source? | WiFi? driver
Android is built upon the Java Micro Edition (J2ME) version of Java. | False
Which among these are NOT a part of Android's native libraries? | Dalvik
Android is based on Linux for the following reason. | All of these
What operating system is used as the base of the Android stack? | Linux
What year was development on the Dalvik virtual machine started? | 2005
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.
When developing for the Android OS, Java byte code is compiled into what? | Dalvik byte code
What does the .apk extension stand for? | Application Package
When you distribute your application commercially,you'll want to sign it with your own key. | True
How does Google check for malicious software in the Android Market? | Users report malicious software to Google
Which of these are not one of the three main components of the APK? | Webkit
What is the name of the program that converts Java byte code into Dalvik byte code? | Dex compiler
Android Applications must be signed. | Before they are installed
Which of the following are not a component of an APK file? | All of these are components of the APK
The AWT and Swing libraries have been removed from the Android library set. | True
The R.java file is where you edit the resources for your project. | False
What is contained within the manifest xml file? | The permissions the app requires
What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like.
The emulated device for android. | Runs the same code base as the actual device, all the way down to the machine layer.
Your Java source code is what is directly run on the Android device. | False
The Emulator is identical to running a real phone EXCEPT when emulating/simulating what? | Sensors
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.
The R file is a(an) generated file | Automatically
An activity can be thought of as corresponding to what? | Java class
To create an emulator, you need an AVD. What does it stand for? | Android Virtual Device
The Android SDK ships with an emulator. | True
The ___________ file specifies the layout of your screen. | Layout file
The manifest explains what the application consists of and glues everything together. | True
The Android Software Development Kit (SDK) is all you need to develop applications for Android. | True
What is the driving force behind an Android application and that ultimately gets converted into a Dalvik executable? | Java source code.
While developing Android applications, developers can test their apps on... | All three options will work.
How can I check if an activity is already running before starting it? | NEW_TASK_LAUNCH in the startActivity() method call.
1. What is an intent object? | An Intent object is a bundle of information
2. Intents designate the target component by its name and they are typically used for application-internal messages. | Explicit Intents
3. For writing Android code using C/C++, you need to use__________ | NDK
4. Which one is not a nickname of a version of Android? | Muffin
5. The R.java file is where you edit the resources for your project | False
6. Which of the following are UI elements that you can not use in a window in an Android application? | SliderBar
7. Which of the following is the parent class for the main application class in an Android application that has a user interface? | Activity
8. Intents do not name a target and the field for the component name is left blank | Implicit Intents
9. Which of the following should be used to save the unsaved data and release resources being used by an Android application? | Activity.onDestroy()
10. The intents can communicate messages among any of the three core components of an application: | activities, services, broadcast receivers
11. The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service | Context.startService()
12. Why cannot you run standard Java bytecode on Android? | Android uses Dalvik Virtual Machine
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
14. What does the .apk extension stand for? | Android Package
15. Android is licensed under which open source licensing license? | Apache/MIT
16. What is an Activity? | A single screen in an application, with supporting Java code
17. Where will you declare your activity so the system can access it? | In the manifest xml file
18. What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
19. Is it possible to run java source code directly on Android? | False
20. Where can you define the icon for your Activity? | In the manifest xml file
21. Which of the following is NOT a life-cycle methods of an Activity? | onInit
22. Which of the following is/are appropriate for saving the state of an Android application? | Activity.onPause()
23. Does Android support AWT and Swing? | No
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()
25. The Intent object is passed to this method to deliver the message to all interested broadcast receivers | Context.sendBroadcast()
26. How will you pass data to sub-activities? | Use Bundles
27. How will you launch an Activity within your application? | startActivity(intent);
28. Which of the following are UI elements that you can use in a window in an Android application? | TextView
29. Which company developed android? | Android Inc
30. Can you deploy executable JARs on Android? | False
32. 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
34. Which of the following is layout that you can use in a window in an Android application? | FrameLayout
35. How do you access the string resource stored in the strings.xml file? | You can use the getResources() method
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)
37. What is the android:versionCode attribute in the AndroidManifest.xml file? | The android:versionCode attribute is used to programmatically check if an application can be upgrade
38. Which of the following used to detect when a user clicks or taps on a button? | OnClickListener
39. What is contained within the manifest xml file? | The permissions the application requires Correct
40. Android: What is value on components attribute layout_width and layout_height to display the component big enough to enclose its content only? | wrap_content
41. Android: Which attribute will be used in XML if the Java code needs a reference to View? | android:id
42. How do you programmatically determine whether a RadioButton is checked? | You should check the isChecked() method
43. What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
44. Which statement correctly changes the nameLabel TextView to Nguyen Van A? | nameLabel.setText(Nguyen Van A);
45. What is NotificationManager class? | The NotificationManager class is used to display notifications on the devices status bar
46. Which dialog box can you use in you Android application? | AlertDialog
47. On android, a layout can contain other layout? | True
48. How to set data for a Spinner control? | Use method setAdapter()
49. Which of the following are UI elements that you can use in a window in an Android application? | TextView
50. In auto-generated code of an Android app, what is R class? | Contains IDs of the project resources
51. How does Android system manage activity’s life cycle | Via system activity stack
52. What statement is NOT correct about Canvas? | None of above
53. What is the correct HTML5 element for playing video files? | <video>
54. Does CSS support to detecting device size and orientation? | True
55. What is NOT correct about Controller in Sencha Touch? | Responsible for responding to events that occur within your app
56. Android: When will onUpgrade() be invoked? | All of above
57. Which file is entry point for Sencha Touch app? | app.js
58. Which doctype is correct for HTML5? | <!DOCTYPE html>
59. Which database is natively supported by android? | SQLite
60. Which kind of application when creating with Sencha Touch? | Hybrid app
61. Graphics defined by SVG is in which format? | XML
62. In HTML5, onblur and onfocus are: | Event attributes
63. IntentFilters are typically defined via | Both of above
64. Which Android File API to create a file? | openFileOutput()
65. Does HTML5 native support for local storage? | True
66. How to check if browser supports web storage? | Check if typeof(Storage) !== undefined
67. How to apply stylesheet with HTML element by id? | #id
68. How to get the form data in Sencha Touch? | getFormInstance().getValues();
69. Which permission needed in order to use MapActivity? | <uses-permission android:name="android.permission.INTERNET" />
70. What is base of all Sencha Touch component? | Ext.Component
71. On android services, onStart() and onBind() are the same? | False
72. Android: Do we need API key for displaying Google Maps in Android? | Yes
73. IntentFilters are typically defined via | Both of above
74. How to register a broadcast receiver? | Via AndroidManifestxml file
75. In auto-generated code of an Android app, what is R class? | Contains IDs of the project resources
76. How to get the form data in Sencha Touch? | getFormInstanceagetValues();
77. Is color a new HTML5 element of input type? | Yes
78. Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent): | myIntent is implicit Intent
79. In android intent. The activity can be embedded inside of another activity that hosts gadgets is belonged to | CATEGORY_GADGET
80. Android: Where we can create tables and columns to them, create views or triggers? | onCreate()
81. “Gingerbread” is nickname of | Android version 2.3.x
82. By default UI components made in the UI editor should have text defined in file? | string.xml
83. SQLite database save data in | Internal storage
84. Does CSS support to detecting device size and orientation? | Yes
85. How to set layout's attribute programmatically in android? | Use LayoutParams class
86. What is base of all Sencha Touch component? | ExtComponent
87. Which method to display a dialog? | show()
88. How to change the main color of Sencha Touch application? | Change the $base-color variable in app.scss
89. Does HTML5 native support for local storage? | Yes
90. Which activity class do you need to inherit to show Google map? | MapActivity class
91. Which statements are correct about Broadcast receivers? | All of above
92. What are 2 ways a Service can run? | Bounded and Unbounded
93. How to show or hide a Sencha Touch component? | Call .show() or .hide() method of component itself
94. Android: When a dialog is requested for the first time, which method will Android call from your Activity? | onCreateDialog(int)
95. Do we need to declare all of Controller in app.js with Sencha Touch? | Yes
96. In android, normally SDCard is | External storage
97. Which of the following is best choice for simple animations for your website? | JavaScript
98. On android, a layout can contain other layout? | True
99. Which statement is correct about web storage? | It is key/value data
00. How to play a video in HTML5? | Only a & c
01. What is NOT a new elements of input type in HTML5? | None of above
02. How many main approaches to build GUI of Android app? | 2
03. Android UI is threadsafe | False
04. Do we need to register all of View classes in app.js with Sencha Touch? | No
05. Which class do we use for listening location update? | LocationManager class
06. How to make a TextView to be editable? | Either set its attribute editable ='true' or Use EditText class instead of TextView class
07. What is NOT correct about Store in Sencha Touch? | Load data via a Proxy
08. How to define a new Sencha Touch class? | Use Extdefine()
09. If the action is ACTION_CALL. what the data field would be? | URI with the number to call
10. Android MapActivity is | Base class with code to manage the boring necessities of any activity that displays a MapView
11. There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? | SQLite Database
12. What are location providers in Android? | GPS & Network
13. Android: When will onUpgrade() be invoked? | All of above
14. Android AsyncTask create new thread in background | True
15. What is not true about the Android application lifecycle | Each activity of an app is run in its own process
16. Intent myIntent = new Intent(this. ActivityTwo.class); myIntentputExtra("Value1". "This value one for ActivityTwo "); myIntentputExtra("Value2". "This value two ActivityTwo"); | myIntent is explicit Intent
17. What is value on component's attribute layout_widtlf and layout_heighl to display the component big enough to enclose its content only? | wrap_content
18. What is TRUE about localStorage? | It is never expired
19. How to listen to an event in Sencha Touch class? | Write event handler within listeners:{} body
20. Which method to open a Hap connection to an Uri? | url.openConnection()
21. Which statement is NOT correct about PhoneGap? | It doesn't support for Java phone
22. Which are location providers in android | GPS
23. Which attribute will be used in XML if the Java code needs a reference to View? | android: id
24. How many CSS files can be included in a Sencha Touch project? | Many
25. You must declare all application components in Manifest file in this way: | <provider> elements for content providers
26. How to set position of a Sencha Touch component? | Only a & b
27. In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they? | onCreate() and onUpgrade()
28. Android: Is the main thread called the UI thread? | Yes
29. Android: Which statement does not correct about Activity? | None of above
30. Android: Which statement is NOT correct about Toasts? | None of above
bmgr tool is used to | all of the above
Android doesn't make any assumptions about a device's screen size, resolution, or chipset | true
Which piece of code used in Android is not open source? | WiFi driver
How is a simulator different from an emulator? | The emulator imitates the machine executing the binary code, rather than simulating the behavior of the code at a higher level.
What is an intent object? | An Intent object is a bundle of information Correct
Intents designate the target component by its name and they are typically used for application-internal messages. | Explicit Intents Correct
For writing Android code using C/C++, you need to use__________ | NDK Correct
Which one is not a nickname of a version of Android? | Muffin Correct
The R.java file is where you edit the resources for your project | False Correct
Which of the following are UI elements that you can not use in a window in an Android application? | SliderBar Correct
Which of the following is the parent class for the main application class in an Android application that has a user interface? | Activity Correct
Intents do not name a target and the field for the component name is left blank | Implicit Intents Correct
Which of the following should be used to save the unsaved data and release resources being used by an Android application? | Activity.onDestroy() Correct
The intents can communicate messages among any of the three core components of an application: | activities, services, broadcast receivers Correct
The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service | Context.startService() Correct
Why cannot you run standard Java bytecode on Android? | Android uses Dalvik Virtual Machine Correct
Which of the following are true about Intent.CALL_ACTION? | Used when a phone number is to be dialled without the user having to explicitly initiate the call. Incorrect
What does the .apk extension stand for? | Application Program Kit Incorrect
Android is licensed under which open source licensing license? | Apache/MIT Correct
What is an Activity? | A single screen in an application, with supporting Java code Correct
Where will you declare your activity so the system can access it? | In the manifest xml file Correct
What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like Correct
Where can you define the icon for your Activity? | In the style xml file
Which of the following is NOT a life-cycle methods of an Activity? | onInit Correct
Which of the following is/are appropriate for saving the state of an Android application? | Activity.onPause() Correct
The Intent object is passed to this method to launch a new activity or get an existing activity to do something new | Context.startActivity() Correct
The Intent object is passed to this method to deliver the message to all interested broadcast receivers | Context.sendBroadcast() Correct
How will you pass data to sub-activities? | Use Bundles Correct
Which of the following are UI elements that you can use in a window in an Android application? | TextView Correc
Which company developed android? | Android Inc Correct
Can you deploy executable JARs on Android? | False Correct
Android is based on which language? | Java |
What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks
Activity results handled by the onActivityResult() method are differentiated from one another using which parameter? | Result Code
Which of the following is layout that you can use in a window in an Android application? | FrameLayout
How do you access the string resource stored in the strings.xml fil | You can use the getResources()
Which of the following methods is used to return a View from a layout file given the ID of the View? | findViewById(int id)
What is the android:versionCode attribute in the AndroidManifest.xml file? | The android:versionCode attribute is used to programmatically check if an application can be upgrade
Which of the following used to detect when a user clicks or taps on a button? | OnClickListene
What is contained within the manifest xml file? | The permissions the application requires
Android: What is value on components attribute layout_width and layout_height to display the component big enough to enclose its content only? | wrap_content
Android: Which attribute will be used in XML if the Java code needs a reference to View? | android:id
How do you programmatically determine whether a RadioButton is checked? | You should check the isChecked() method
What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
Which statement correctly changes the nameLabel TextView to Nguyen Van A? | nameLabel.setText("Nguyen Van A") |
What is NotificationManager class? | The NotificationManager class is used to display notifications on the devices status bar
On android, a layout can contain other layout? | true
How to set data for a Spinner control? | Use method setAdapter()
Which of the following are UI elements that you can use in a window in an Android application? | TextView
How does Android system manage activitys life cycle | Via system activity stack Correct
What statement is NOT correct about Canvas? | none of
What is the correct HTML5 element for playing video files? | video
Does CSS support to detecting device size and orientation? | true
What is NOT correct about Controller in Sencha Touch? | Responsible for responding to events that occur within your app\
Android: When will onUpgrade() be invoked? | all of
Which file is entry point for Sencha Touch app? | app.js
Which doctype is correct for HTML5? | <!DOCTYPE html>
Which database is natively supported by android? | SQlite
Which kind of application when creating with Sencha Touch? | Hubrid app
Graphics defined by SVG is in which format? | xml
In HTML5, onblur and onfocus are: | Event attribute
IntentFilters are typically defined via | both of
Which Android File API to create a file? | opentfileoutput()
Does HTML5 native support for local storage? | true
How to check if browser supports web storage? | Check if typeof(Storage) !== undefined
How to apply stylesheet with HTML element by id? | #id
How to get the form data in Sencha Touch? | getFormInstance().getValues();
Which permission needed in order to use MapActivity? | <uses-permission android:name="android.permission.INTERNET" />
What is base of all Sencha Touch component? | Ext COmponent
Intents designate the target | implicit inten
Intents do not name a target | explicit inten
Can you deploy excu | false
What does the apk extension | Application program kit
Why cannot you run standard | Android use dalvik
What is an intent | is a bunlde
which of the following file(s) is | Layout file
For writing Android code using C | NDK
The intent can communicate messages among | activities , services , broadcast receiver
The Intent object is passed to this method to launch | Context.startActivity()
The Intent object is passed to this method to initiate | Context.startService()
The Intent object is passed to this method to deliver | Context.sendBroadcast()
What is an Activity | Asingle screen in an application , with supporting Java
Does Android support AWT and Swing | False
Which of the following is NOT a life | onInit
Which of the following are true about Intent. | dai nhat
Which of the following is/are appropriate | Activity.onPause()
Which of the following should be used to save the unsave | Activity.onDestroy()
Which of the following is the parent class for the main | Activity
Which of the following are UI elements | textview
How will you launch an Activity | startActivity
Is it possible to run java source | false
Which on is not a nickname of | Muffin
The R.java file is where you | false
Which company developed android | Android inc
On android service, onStart() and onBind() are the same? | false
IntentFilter are typically defind via | both of
How to register a broadcast reciever? | Via AndroidManifest.xml file
In auto-generated code of an Android app, what is R class? | Contains ID of the project resources
How to get the form data in sencha touch? | x-type.getValues()
Is color a new HTML5 element of input type? | yes
startActivity(myIntent): | myIntent is implicit Intent
In android intent. The activity can be embedded inside of another activity that hosts gadget is belonged to | CATEGORY_GADGET
Android: where we can create tables and comlumns to them, create views or triggers ? | onCreate()
Gingerbread is nickname of | Android version 2.3.x
By default, UI component made in the UI editor should have text defined in file ? | string.xml
SQLite database save data in | internal storage
How to set layouts attribute programmatically in android ? | Use LayoutParams class
Does CSS support to detecting device size and orientation ? | YES
What is base of all sencha touch component ? | Ext.Component
Which method to display a dialoge ? | show()
How to change the main color of Sencha Touch application ? | change the $base-color variable in app.scss
Does HTML5 native support for local storage ? | Yes
Which activity class do you need to inherit to show Google Map ? | MapViewActivity class
What are 2 ways a Service can run ? | Bouned and Unbouned
How to show or hide a Sencha Touch component ? | Call.show() or .hide() method of component itself
Android: When a dialog is requested for the first time, which method Android call from your Activity ? | onCreateDialog(int)
Do we need to declare all of Controller in app.js with Sencha Touch ? | No
In Android, normally SDCard is | External storage
Which of the following is best choice for simple animation for your website ? | JavaScript
On android, a layout can contain other layout ? | True
Which statement is correct about web storage ? | It can be accessed by serveral web page running in the same domain
How to play a video in HTML5 ? | Insert<video> tag to HTML5 page only, the video is played automatically
What is NOT a new elements of input type in HTML5 ? | Non of above
How many main approaches to build GUI of Android app? | 1
Android UI is threadsafe | True
Do we need to register all of View classes in app.js with Sencha Touch | Yes
Which class do we use for listening location update ? | LocationListener class
How to make a TextView to be editable? | Either set attribute editable = true or Use EditText class instead of TextView class
What is NOT correct about Store in Sencha Touch ? | Load data via a proxy
How to define a new Sencha Touch class ? | Use Ext.define()
If the action is ACTION_CALL, what the data field would be ? | URI with the number to call
There are five different methods to store persistent data. They are: Sharred Preferrences, Internal Storage, External Storage, Network and ... ? | SQLite Database
What are location providers in Android ? | GPS & Wifi
Android: when will onUpgrade() be invoked ? | All of above
Android Async Task create new thread in background | true
What is not true about the Android application lifecycle | Each activity of an apps is run in its own process
Intent myintent = new Intent(this, ActivityTwo.class); | myIntent.putExtra(Value1, This value one for ActivityTwo)
Which of following is true? | myIntent is explicit intent
Android: What is value on components attribute layout_height to display the component big enough to enclose its content only ? | wrap_content
What is true about localStorage ? | it is never expired
How to listen to an event in Sencha Touch class ? | write event handler within listeners:{} body
Which method to opena Http connection to an Uri? | url.openConnection()
Which statement is Not correct about PhoneGap ? | it doesnt support for Java phone
Which are location provider in Android ? | LBS
Android: which attribute will be used in XML if the Java code needs a reference to View ? | android: id
How many css file can be included in a Sencha Touch project ? | many
How to set position of a Sencha Touch component? | all of above
In class SQLiteOpenHelper class, there are 2 method we usually override. What are they? | onCreate() and onUpdagrade()
Android: Which statement does not correct about Activity? | None of above
Android: Which statement is not correct about Toasts ? | Toasts are perfect for informing your users of event without forcing them
In Android, which of the following statement is CORRECT to reload a layout | setContentView(R.layout.some_layout)
In Android, which statement is NOT correct about AsyncTask | none of
In Android, which layout mode defines the positions of each component relative to each other | RelativeLayout
Choose whether the statement is TRUE or FALSE | true
Read the following content and answer the question | SmsManager<
Does AsyncTask create new thread in background? | True
Statement A: android.telephony.SmsManager class can send SMS on both GSM and CDMA network | Statement A is True, and Statement B is False
When using android.app.AlertDialog.Builder class to display a | show()
In auto-generated code of an Android app, what is R class | It is the main controller of the app
In Android, which manifest permission is needed when use GPS location | ACCESS_FINE_LOCATION
How can you define the minimum version of Android required | Using the minSdkVersion attribute in the AndroidMan
Which of the following is appropriate for saving the state of an Android application | Activity.onPause()
Which of the following is appropriate for restoring the state of an An | Activity.onPause()
In Android, how do you access the string resource stored in the strings | Using the getResources() method
Read the following 2 URLs and answer the question | True
Which Android File API to create a file | openFileOutput()
Toast is a class to display a message in Android. How to set position of a Toast | Using setGravity()
In Android, what does dp unit stand for | density-independent
In Android, which method you can use to obtain the path of the external storage | getExternalStorageDirectory()
What is the permission you need to declare in AndroidManifes | WRITE_EXTERNAL_STORAGE
Given a table data (click to see the figure). And assume that this is on a device at 160 dpi | dp * scaler = px
In Android, does Service create new thread in background | False
To display a notification on upper left of Android screen, which of the following class you need to use? | NotificationManager + Notification
You need to process when user clicks on a notification on upper left of Android screen | PendingIntent
Which is the method you need to use to post a notification to be shown in the status bar? | notify(...)
To develop your own service in Android, which of the following step you need to do? | Step 2 is: implements onStartCommand, onBind, onUnbind, onRebind, onCreate, onDestroy methods
There are two statements | Statement A is False, and Statement B is False
To get data from Webserver to Android application, which of the following class you need to use to establish connection? | HttpURLConnection
How many kind of Android service do we have? | 2
Assume that we have an Android object named stored in reader variable, and inside it has a child object named | JSONObject mainObj = reader.getJSONObject(&quot;main&quot;);
In Android, can we change the GPS setting by write my own Java code? | False
Statement A: dp is the default units for fonts. Statement B: sp is the default measurement unit for views | Statement A is False, and Statement B is False
To install and run Sencha Touch, we need: | True
When you need to use mp3 file in Android application, which folder you need to create and store mp3 file? | raw folder
Which of the following is NOT a right codename of Android version? | Eclair
What is the android:versionCode attribute in the AndroidManifest.xml file? | It is used to programmatically check if an application can be upgraded.
When you have two or more activities with the same INTENT FILTER action name, the Android OS will display a | True
Which of the following is the based class for the main application class in an Android application that has a user interface? | Activity
In Android, which is two location providers that you can use to obtain your position data? | LocationManager.GPS_PROVIDER and LocationManager.NETWORK_PROVIDER
the following content | The method is addProximityAlert() is used for monitoring a location
In Android, the process technical to convert an address into its latitude and longitude is called | Geocoding
What happen if the latitude is less than -90 or greater than 90? | It returns an IllegalArgumentException
Given the following statements using openFileOutput function to store data into a file in Android: | The created file can be accessed by all the other applications at the same time.
How many activities are in focus at any time? | Just one
What is a change Gravity? | A tool that changes the linear alignment of a control so that is is aligned to the left, center, right top or bottom of an
What onListItemClick() function used for? | A method called when an item in a list is selected.
What setListAdapter() function used for? | A command that projects your data to the onscreen list on your device by connecting the listActivity
In Sencha Touch, app folder contains | the Models, Views, Controllers and Stores for your app.
Choose right kind of layouts supported in Sencha Touch. | - Justify Layout
As discussed, there are 4 main components in Android application. And in AndroidManifest.xml file, you need to declare: | elements for configurations
Android tries hard to _____low-level components, such as the software stack, with interfaces so that vendor-specific code can be managed easily | absract
Which shortcut key we can use to change orientation in an AVD simulator? | Ctrl+F11
In Android, what is contained within the XML files in layout folder? | The layouts and direction of screen of the app
What is Content Provider? | It is a means to share data between applications which are by default run in completely different space by Dalvik instances.
the following content about Fragment | A fragment can be displayed without be embedded in an activity.
In Android, what is the meaning of the following code in MainActivity class? | the main thread calls the UI thread
Sencha Touch is | - a Java framework
There is a kind of animation that using an XML file to define a sequence of pictures using | Tween Animation
Given the following code AsyncHttpClient asynClient = new AsyncHttpClient() | Yes, if it is not yet completed (success or failed)
Choose whether the statement is true or false Does PhoneGap support iOS, Android, Windows Phone, BlackBerry, webOS, Bada, Symbian at the same time? | True
PhoneGap uses HTML5, CSS, and __________ to write and deploy application. | JavaScript
Can PhoneGap work with Contacts data of mobile device? | true
Can PhoneGap framework support for playing audio? | true
Which class does the Activity class extend? | Context.
One of the key aspects of Android programming is using the _____ to call activities from other applications. | Intent
(Choose 1 answer) | Explicit Intents specify an exact Activity class to run in the other app.
The easiest way is to "anchor" your views to the four edges of the screen: when the screen orientation changes, the views can anchor neatly to the edges. | anchoring
Which of the following statement is false? | Explicit Intents specify an exact Activity class to run in the other app.
What is a type of autocompletion controls? | What is a type of autocompletion controls?
Besides specifying the action, the data, and the type, an Intent object can also specify a _______. | Category
If your app takes a while to load, use a (an) _________ an image the will be displayed when the icon it tapped on the screen so that the user sees an immediate response white waiting for the app to load. | Splash screen
Setting the android:layout_width and android:layout_height attributes to ________ indicates that the view should be just large enough to fit its content. | wrap_cotent
Intent filter contain these component? | Action, data, type and category.
_______ are displays of timely information on the user’s Home screen, such as the current weather, stock prices and news. | Widgets
Which is not the value of attribute android:inputType? | string
Which of the following statement is false? | EditText controls are derived from Control class.
Which of the following method can be used to create "OK" button for a AlertDialog? | Any of them
____ are useful for cases in which you need to obtain the user’s response before continuing with execution. | DialogFragment.
What mechanism acts as the "glue" between a data source and a ListView control? | a data adapter.
What is not a type of dialogs available within the Android SDK? | PresentationDialog
What is not a subclass of android.app.Fragment class? | WebFragment
What is the name of the control for adding horizontal scrolling? | HorizontalScrollView
Setting the choice mode on a ListView object to CHOICE_MODE_SINGLE will: | Make the ListView track only "selected" item.
Which of the following statement correctly describes about the ResourceCursorAdapter? | This adapter extends CursorAdapter and knows how to create views from resources.
How do you programmatically determine whether a RadioButton is checked | check the isChecked() method of each RadioButton to determine whether it has been checked.
Which are levels user interacts with UI in android? | Activity level and view level
A/An _____ is a/an ____ that appears when the user performs a long-click on an element. It provides actions that affect the selected content or context frame. | Context menu - floating menu
What paramaters we need to make a Toast? | Message, duration and context.
Context menus are launched using ________. | a long-click on a View control.
What is a fragment like an activity? | They have a lifecycle that includes multiple of callback methods.
The ________ menu accessed through the device’s Menu button provides actions and operations for the app’s current screen. | Options
URIMatcher is used for. | to figure out the URIs.
To share data across packages in Android which object you will prefer? | ContentProvider
Files in the assets folders are accessed via a( n ) ________. | AssetManager
Which type is not supported in SQLite? | STRING
Which data storage option is used to store private data on the device memory? | Internal Storage
To persist your changes to preference made via the editor, you can use apply() or commit(). When does the apply() method is added in Android? | Android 2.3
What is Android MIME type that indicates that this type and subtypes are nonstandard, vendor-specific forms? | vnd
What is the purpose of the IntentService class? | The IntentService runs the tasks in a separate thread and automatically stops the service when the task has finished execution.
With the Cursor, you can: | All of the others.
Name the methods that you need to override in your own implementation of a content provider? | getType(), onCreate(), query(), insert(), delete(), and update().
What is the permission you need to declare in your Android.manifest.xml for a HTTP connection | INTERNET
Which one of the following is correct? | AnimateCamera() will smoothly animate the map from its original state to the new state supplied by the CameraUpdate.
Which action does the method setZoomControlsEnabled() support? | For the + and - buttons
Which class do you use to send SMS messages in your application without using built-in Messaging application? | SmsManager
Which services are not provided as part of the Android SDK? | Mapping services.
Name the class for performing background asynchronous task | AsyncTask
What method is used to determine how many fingers are being tracked by Android? | getPointerCount()
Which of the following Sensor types did the SensorCompass application use? | TYPE_MAGNETIC_FIELD and TYPE_ACCELEROMETER.
What is the permission for using the camera? | android.permission.CAMERA
Which sensor types that can appear in an Android device? | All of the others
"Time, in milliseconds, to wait before the gesture fades out after the user is done drawing it" is the description of the following property: | fadeOffset
What does pressure sensor measure? | Barometric pressure, which could detect altitude for example or be used for weather predictions.
How do you specify the minimum version of Android required by your application? | Using the minSdkVersion attribute in the AndroidManifest.xml file.
A user who has paid for your application and who has uninstalled it, but not requested a refund, is NOT allowed to reinstall it later if: | Google pulls it due to violation of the rules.
The LVL request is not responsible for providing the following information about the expansion files that the application requires: | File size
Which built-in HTML5 object is used to draw on the canvas? | getContext
Which HTML5 element is used to display a scalar measurement within a known range? | <meter>
In HTML5, onblur and onfocus are: | Event attributes
Function connection.type will return a list of connection type, they are | UNKNOWN, ETHERNET, WIFI, CELL_2G, CELL_3G, CELL_4G, NONE.
What is the difference between PhoneGap and Apache Cordova? | PhoneGap is a distribution of Apache Cordova.
______ provides an application with the ability to work with images, either captured directly from the camera or retrieved from the device's photo repository. | Camera PhoneGap API
When comparing the features of Sencha Touch and jQuery Mobile, what the following statement is true? | Sencha Touch supports a more MVC style application design, whereas jQuery mobile will simply be a load of markup and a load of jQuery script converting your HTML elements into touch friendly interface components.
Which of the following statement is false about Sencha Touch? | Sencha Touch is fully based on web standards such as PHP, Python.
What is an intent object? | An Intent object is a bundle of information
Intents designate the target component by its name and they are typically used for application-internal messages. | Explicit Intents
3.For writing Android code using C/C++, you need to use__________ | NDK
4.Which one is not a nickname of a version of Android? | Muffin
5.The R.java file is where you edit the resources for your project | False
6.Which of the following are UI elements that you can not use in a window in an Android application? | SliderBar
7.Which of the following is the parent class for the main application class in an Android application that has a user interface? | Activity
8.Intents do not name a target and the field for the component name is left blank | Implicit Intents
9.Which of the following should be used to save the unsaved data and release resources being used by an Android application? | Activity.onDestroy()
10.The intents can communicate messages among any of the three core components of an application: | activities, services, broadcast receivers
11.The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service | Context.startService()
12.Why cannot you run standard Java bytecode on Android? | Android uses Dalvik Virtual Machine
13.Which of the following are true about Intent.CALL_ACTION? | dial + dialled
14.What does the .apk extension stand for? | Android Package
15.Android is licensed under which open source licensing license? | Apache/MIT
16.What is an Activity? | . A single screen in an application, with supporting Java code
17.Where will you declare your activity so the system can access it? | In the manifest xml file
18.What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
19.Is it possible to run java source code directly on Android? | False
20.Where can you define the icon for your Activity? | . In the manifest xml file
21.Which of the following is NOT a life-cycle methods of an Activity? | onInit
22.Which of the following is/are appropriate for saving the state of an Android application? | Activity.onPause()
23.Does Android support AWT and Swing? | No
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()
25.The Intent object is passed to this method to deliver the message to all interested broadcast receivers | Context.sendBroadcast()
26.How will you pass data to sub-activities? | Use Bundles
27.How will you launch an Activity within your application? | startActivity(intent);
28.Which of the following are UI elements that you can use in a window in an Android application? | TextView
29.Which company developed android? | Android Inc
30.Can you deploy executable JARs on Android? | False
31.Android is based on which language? | Objective C
32.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 | Result Code
34.Which of the following is layout that you can use in a window in an Android application? | FrameLayout
35.How do you access the string resource stored in the strings.xml file? | You can use the getResources() method
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)
37.What is the android:versionCode attribute in the AndroidManifest.xml file? | dai cmn nhat
38.Which of the following used to detect when a user clicks or taps on a button? | OnClickListener
39.What is contained within the manifest xml file? | The permissions the application requires Correct
40.Android: What is value on component’s attribute “layout_width” and “layout_height” to display the component big enough to enclose its content only? | wrap_content
41.Android: Which attribute will be used in XML if the Java code needs a reference to View? | android:id
42.How do you programmatically determine whether a RadioButton is checked? | You should check the isChecked() method
43.What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
44.Which statement correctly changes the nameLabel TextView to Nguyen Van A? | nameLabel.setText(“Nguyen Van A”);
45.What is NotificationManager class? | The NotificationManager class is used to display notifications on the device’s status bar
46.Which dialog box can you use in you Android application? | AlertDialog
47.On android, a layout can contain other layout? | True
48.How to set data for a Spinner control? | Use method setAdapter()
49.Which of the following are UI elements that you can use in a window in an Android application? | TextView
50.In auto-generated code of an Android app, what is R class? | Contains IDs of the project resources
51.How does Android system manage activity’s life cycle | Via system activity stack
52.What statement is NOT correct about Canvas? | None of above
53.What is the correct HTML5 element for playing video files? | <video>
54.Does CSS support to detecting device size and orientation? | True
55.What is NOT correct about Controller in Sencha Touch? | Responsible for responding to events that occur within your app
56.Android: When will onUpgrade() be invoked? | All of above
57.Which file is entry point for Sencha Touch app? | app.js
58.Which doctype is correct for HTML5? | <!DOCTYPE html>
59.Which database is natively supported by android? | SQLite
60.Which kind of application when creating with Sencha Touch? | Hybrid app
61.Graphics defined by SVG is in which format? | XML
62.In HTML5, onblur and onfocus are: | Event attributes
63.IntentFilters are typically defined via | Both of above
64.Which Android File API to create a file? | openFileOutput()
65.Does HTML5 native support for local storage? | True
66.How to check if browser supports web storage? | Check if typeof(Storage) !== “undefined”
67.How to apply stylesheet with HTML element by id? | #id
68.How to get the form data in Sencha Touch? | getFormInstance().getValues();
69.Which permission needed in order to use MapActivity? | <uses-permission android:name="android.permission.INTERNET" />
70.What is base of all Sencha Touch component? | Ext.Component
71.On android services, onStart() and onBind() are the same? | False
72.Android: Do we need API key for displaying Google Maps in Android? | yes
73.IntentFilters are typically defined via | C.Both of above
74.How to register a broadcast receiver? | A.Via AndroidManifestxml file
75.In auto-generated code of an Android app, what is R class? | Contains IDs of the project resources
76.How to get the form data in Sencha Touch? | getFormInstanceagetValues();
77.Is color a new HTML5 element of input type? | yes
78.Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent): | myIntent is implicit Intent
79.In android intent. The activity can be embedded inside of another activity that hosts gadgets is belonged to | CATEGORY_GADGET
80.Android: Where we can create tables and columns to them, create views or triggers? | C. onCreate()
81.“Gingerbread” is nickname of | B. Android versiov2.3.x
82.By default UI components made in the UI editor should have text defined in file? | A. string.xml
83.SQLite database save data in | C. Internal storage
84.Does CSS support to detecting device size and orientation? | Yes
85.How to set layout's attribute programmatically in android? | C. Use LayoutParams class
87.Which method to display a dialog? | C. show()
88.How to change the main color of Sencha Touch application? | A. Change the $base-color variable in app.scss
89.Does HTML5 native support for local storage? | B. Yes
90.Which activity class do you need to inherit to show Google map? | A. MapActivity class
91.Which statements are correct about Broadcast receivers? | D. All of above
92.What are 2 ways a Service can run? | A. Bounded and Unbounded
93.How to show or hide a Sencha Touch component? | A. Call .show() or .hide() method of component itself
94.Android: When a dialog is requested for the first time, which method will Android call from your Activity? | D. onCreateDialog(int)
95.Do we need to declare all of Controller in app.js with Sencha Touch? | B. Yes
96.In android, normally SDCard is | B. External storage
97.Which of the following is best choice for simple animations for your website? | A. JavaScript
98.On android, a layout can contain other layout? | B. True
99.Which statement is correct about web storage? | D. It is key/value data
100.How to play a video in HTML5? | E. Only a & c
101.What is NOT a new elements of input type in HTML5? | F. None of above
102.How many main approaches to build GUI of Android app? | E. 2
103.Android UI is threadsafe | B. False
104.Do we need to register all of View classes in app.js with Sencha Touch? | A. No
105.Which class do we use for listening location update? | B. LocationManager class
106.How to make a TextView to be editable? | B. Either set its attribute editable ='true' or Use EditText class instead of TextView class
107.What is NOT correct about Store in Sencha Touch? | B. Load data via a Proxy
108.How to define a new Sencha Touch class? | A. Use Extdefine()
109.If the action is ACTION_CALL. what the data field would be? | A. URI with the number to call
110.Android MapActivity is | D. Base class with code to manage the boring necessities of any activity that displays a MapView
111.There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __? | B. SQLite Database
112.What are location providers in Android? | A. GPS & Network
113.Android: When will onUpgrade() be invoked? | D. All of above
114.Android AsyncTask create new thread in background | True
115.What is not true about the Android application lifecycle | D. Each activity of an app is run in its own process
116.Intent myIntent = new Intent(this. ActivityTwo.class); | C. myIntent is explicit Intent
117.What is value on component's attribute layout_widtlf and layout_heighl to display the component big enough to | A. wrap_content
118.What is TRUE about localStorage? | A. It is never expired
119.How to listen to an event in Sencha Touch class? | A. Write event handler within listeners:{} body
120.Which method to open a Hap connection to an Uri? | B. url.openConnection()
121.Which statement is NOT correct about PhoneGap? | B. It doesn't support for Java phone
122.Which are location providers in android | GPS
123.Which attribute will be used in XML if the Java code needs a reference to View? | B. android: id
124.How many CSS files can be included in a Sencha Touch project? | Many
125.You must declare all application components in Manifest file in this way: | A. <provider> elements for content providers
126.How to set position of a Sencha Touch component? | E. Only a & b
127.In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they? | A. onCreate() and onUpgrade()
128.Android: Is the main thread called the UI thread? | A Yes
129.Android: Which statement does not correct about Activity? | D. None of above
130.Android: Which statement is NOT correct about Toasts? | E. None of above
How does Android system manage activity’s life cycle | Via system activity stack Correct
How to check if browser supports web storage? | Check if typeof(Storage) !== “undefined”
How to set layout’s attribute programmatically in android ? | Use LayoutParams class
How to make a TextView to be editable? | Either set attribute editable = “true” or Use EditText class instead of TextView class
Intent myintent = new Intent(this, ActivityTwo.class); | myIntent.putExtra(“Value1”, “This value one for ActivityTwo”)
Android: What is value on component’s attribute “layout_height” to display the component big enough to enclose its content only ? | wrap_content
Which statement is Not correct about PhoneGap ? | it doesn’t support for Java phone
What is contained within the Layout xml file | Orientations and layouts that specify what the display looks like
What are the different states wherein a process is based | foreground, visible, background activity and empty process
Activities can be closed, or terminated anytime the user wishes. on the other hand, services are designed to run behind the scenes, and and act independently | False
Android archtecture is made up of 4 key components: Linux kernel, Libraries, Android Frameworks and | Android Applications
What are the four essential states of an activity | active, paused, stopped and destroyed
What items are important in every Android project | AndroidManifest.xml res src
When is the onStop() method invoked | When an activity process is killed or completed terminated
What is adb | It allows developers the power to execute remote shell commands
What is an intent object | An Intent object is a bundle of information
Intents designate the target component by its name and they are typically used for application-internal messages | Explicit Intents
For writing Android code using C/C++, you need to use | NDK
Which one is not a nickname of a version of Android | Muffin
The R.java file is where you edit the resources for your project | False
Which of the following are UI elements that you can not use in a window in an Android application | SliderBar
Which of the following is the parent class for the main application class in an Android application that has a user interface | Activity
Intents do not name a target and the field for the component name is left blank | Implicit Intents
Which of the following should be used to save the unsaved data and release resources being used by an Android application | Activity.onDestroy()
The intents can communicate messages among any of the three core components of an application | activities, services, broadcast receivers
The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service | Context.startService()
Why cannot you run standard Java bytecode on Android | Android uses Dalvik Virtual Machine
Which of the following are true about Intent.CALL_ACTION | dial + dialled
What does the .apk extension stand for | Android Package
Android is licensed under which open source licensing license | Apache/MIT
What is an Activity | A single screen in an application, with supporting Java code
Where will you declare your activity so the system can access it | In the manifest xml file
Is it possible to run java source code directly on Android | False
Where can you define the icon for your Activity | In the manifest xml file
Which of the following is NOT a life-cycle methods of an Activity | onInit
Which of the following is/are appropriate for saving the state of an Android application | Activity.onPause()
Does Android support AWT and Swing | No
The Intent object is passed to this method to launch a new activity or get an existing activity to do something new | Context.startActivity()
The Intent object is passed to this method to deliver the message to all interested broadcast receivers | Context.sendBroadcast()
How will you pass data to sub-activities | Use Bundles
How will you launch an Activity within your application | startActivity(intent)
Which of the following are UI elements that you can use in a window in an Android application | TextView
Which company developed android | Android Inc
Can you deploy executable JARs on Android | False
Android is based on which language | Objective C
Activity results handled by the onActivityResult() method are differentiated from one another using which | Result Code
Which of the following is layout that you can use in a window in an Android application | FrameLayout
How do you access the string resource stored in the strings.xml file | You can use the getResources() method
Which of the following methods is used to return a View from a layout file given the ID of the View | findViewById(int id)
What is the android:versionCode attribute in the AndroidManifest.xml file | dai cmn nhat
Which of the following used to detect when a user clicks or taps on a button | OnClickListener
What is contained within the manifest xml file | The permissions the application requires Correct
Android: What is value on component’s attribute “layout_width” and “layout_height” to display the component big enough to enclose its content only | wrap_content
Android: Which attribute will be used in XML if the Java code needs a reference to View | android:id
How do you programmatically determine whether a RadioButton is checked | You should check the isChecked() method
Which statement correctly changes the nameLabel TextView to Nguyen Van A | nameLabel.setText(“Nguyen Van A”)
What is NotificationManager class | The NotificationManager class is used to display notifications on the device’s status bar
Which dialog box can you use in you Android application | AlertDialog
On android, a layout can contain other layout | True
How to set data for a Spinner control | Use method setAdapter()
In auto-generated code of an Android app, what is R class | Contains IDs of the project resources
What statement is NOT correct about Canvas | None of above
What is the correct HTML5 element for playing video files | <video>
Does CSS support to detecting device size and orientation | True
What is NOT correct about Controller in Sencha Touch | Responsible for responding to events that occur within your app
Android: When will onUpgrade() be invoked | All of above
Which file is entry point for Sencha Touch app | app.js
Which doctype is correct for HTML5 | <!DOCTYPE html>
Which kind of application when creating with Sencha Touch | Hybrid app
Graphics defined by SVG is in which format | XML
In HTML5, onblur and onfocus are | Event attributes
IntentFilters are typically defined via | Both of above
Does HTML5 native support for local storage | True
How to check if browser supports web storage | Check if typeof(Storage) !== “undefined”
How to apply stylesheet with HTML element by id | #id
How to get the form data in Sencha Touch | getFormInstance().getValues()
Which permission needed in order to use MapActivity | <uses-permission android:name="android.permission.INTERNET" />
What is base of all Sencha Touch component | Ext.Component
On android services, onStart() and onBind() are the same | False
Android: Do we need API key for displaying Google Maps in Android | yes
How to register a broadcast receiver | Via AndroidManifestxml file
How to get the form data in Sencha Touch | getFormInstanceagetValues()
Is color a new HTML5 element of input type | yes
Intent mylntent = new Intent(IntentACTION_VIEW Uri.pars("http://www.google.com")); startActivity(myIntent) | myIntent is implicit Intent
In android intent. The activity can be embedded inside of another activity that hosts gadgets is belonged to | CATEGORY_GADGET
Android: Where we can create tables and columns to them, create views or triggers | onCreate()
“Gingerbread” is nickname of | Android versiov2.3.x
By default UI components made in the UI editor should have text defined in file | string.xml
SQLite database save data in | Internal storage
Does CSS support to detecting device size and orientation | Yes
How to set layout's attribute programmatically in android | Use LayoutParams class
What is base of all Sencha Touch component | ExtComponent
Which method to display a dialog | show()
How to change the main color of Sencha Touch application | Change the $base-color variable in app.scss
Does HTML5 native support for local storage | Yes
Which activity class do you need to inherit to show Google map | MapActivity class
Which statements are correct about Broadcast receivers | All of above
What are 2 ways a Service can run | Bounded and Unbounded
How to show or hide a Sencha Touch component | Call .show() or .hide() method of component itself
Android: When a dialog is requested for the first time, which method will Android call from your Activity | onCreateDialog(int)
Do we need to declare all of Controller in app.js with Sencha Touch | Yes
In android, normally SDCard is | External storage
Which of the following is best choice for simple animations for your website | JavaScript
Which statement is correct about web storage | It is key/value data
How to play a video in HTML5 | Only a & c
What is NOT a new elements of input type in HTML5 | None of above
How many main approaches to build GUI of Android app | 2
Android UI is threadsafe | False
Do we need to register all of View classes in app.js with Sencha Touch | No
Which class do we use for listening location update | LocationManager class
How to make a TextView to be editable | Either set its attribute editable ='true' or Use EditText class instead of TextView class
What is NOT correct about Store in Sencha Touch | Load data via a Proxy
How to define a new Sencha Touch class | Use Extdefine()
If the action is ACTION_CALL. what the data field would be | URI with the number to call
There are five different methods to store persistent data. They are: Shared Preferences. Internal Storage. External Storage. Network and __ | SQLite Database
What are location providers in Android | GPS & Network
Android AsyncTask create new thread in background | True
Intent myIntent = new Intent(this. ActivityTwo.class) | myIntent is explicit Intent
What is value on component's attribute layout_widtlf and layout_heighl to display the component big enough to | wrap_content
What is TRUE about localStorage | It is never expired
How to listen to an event in Sencha Touch class | Write event handler within listeners:{} body
Which method to open a Hap connection to an Uri | url.openConnection()
Which statement is NOT correct about PhoneGap | It doesn't support for Java phone
Which are location providers in android | GPS
Which attribute will be used in XML if the Java code needs a reference to View | android: id
How many CSS files can be included in a Sencha Touch project | Many
You must declare all application components in Manifest file in this way | <provider> elements for content providers
How to set position of a Sencha Touch component | Only a & b
In class SQLiteOpenHelper class, there are 2 methods we should usually override. What are they | onCreate() and onUpgrade()
Android: Is the main thread called the UI thread | Yes
Android: Which statement does not correct about Activity | None of above
Android: Which statement is NOT correct about Toasts | None of above
What is an intent object | An Intent object is a bundle of information Correct
Intents designate the target component by its name and they are typically used for application-internal messages | Explicit Intents Correct
Which one is not a nickname of a version of Android | Muffin Correct
Which of the following are UI elements that you can not use in a window in an Android application | SliderBar Correct
Which of the following is the parent class for the main application class in an Android application that has a user interface | Activity Correct
Which of the following should be used to save the unsaved data and release resources being used by an Android application | Activity.onDestroy() Correct
The intents can communicate messages among any of the three core components of an application | activities, services, broadcast receivers Correct
Why cannot you run standard Java bytecode on Android | Android uses Dalvik Virtual Machine Correct
Which of the following are true about Intent.CALL_ACTION | Used when a phone number is to be dialled without the user having to explicitly initiate the call. Incorrect
What does the .apk extension stand for | Application Program Kit Incorrect
Android is licensed under which open source licensing license | Apache/MIT Correct
What is an Activity | A single screen in an application, with supporting Java code Correct
Where will you declare your activity so the system can access it | In the manifest xml file Correct
What is contained within the Layout xml file | Orientations and layouts that specify what the display looks like Correct
Is it possible to run java source code directly on Android | False Correct
Where can you define the icon for your Activity | In the style xml file
Which of the following is NOT a life-cycle methods of an Activity | onInit Correct
Which of the following is/are appropriate for saving the state of an Android application | Activity.onPause() Correct
How will you pass data to sub-activities | Use Bundles Correct
Which of the following are UI elements that you can use in a window in an Android application | TextView Correc
Which company developed android | Android Inc Correct
Can you deploy executable JARs on Android | False Correct
Android is based on which language | Java |
What is contained within the Layout xml file | Orientations and layouts that specify what the display looks
Activity results handled by the onActivityResult() method are differentiated from one another using which parameter | Result Code
What is the android:versionCode attribute in the AndroidManifest.xml file | The android:versionCode attribute is used to programmatically check if an application can be upgrade
Which of the following used to detect when a user clicks or taps on a button | OnClickListene
What is contained within the manifest xml file | The permissions the application requires
Android: What is value on component’s attribute “layout_width” and “layout_height“ to display the component big enough to enclose its content only | wrap_content
Which statement correctly changes the nameLabel TextView to Nguyen Van A | nameLabel.setText("Nguyen Van A")
On android, a layout can contain other layout | true
What statement is NOT correct about Canvas | none of
What is the correct HTML5 element for playing video files | video
Does CSS support to detecting device size and orientation | true
Android: When will onUpgrade() be invoked | all of
Which database is natively supported by android | SQlite
Which kind of application when creating with Sencha Touch | Hubrid app
Graphics defined by SVG is in which format | xml
In HTML5, onblur and onfocus are | Event attribute
Which Android File API to create a file | opentfileoutput()
Does HTML5 native support for local storage | true
What is base of all Sencha Touch component | Ext COmponent
Which of the following are true about Intent | dai nhat
On android service, onStart() and onBind() are the same | false
Android: Do we need API key for displaying Google Maps in Android | Yes
How to register a broadcast reciever | Via AndroidManifest.xml file
In auto-generated code of an Android app, what is R class | Contains ID of the project resources
How to get the form data in sencha touch | x-type.getValues()
Intent myIntent = new Intent(Intent.ACTION_VIEW.Uri.pars(http://google.com)): startActivity(myIntent): | myIntent is implicit Intent
Android: where we can create tables and comlumns to them, create views or triggers | onCreate()
By default, UI component made in the UI editor should have text defined in file | string.xml
How to set layout’s attribute programmatically in android | Use LayoutParams class
Does CSS support to detecting device size and orientation | YES
What is base of all sencha touch component | Ext.Component
Which method to display a dialoge | show()
How to change the main color of Sencha Touch application | change the $base-color variable in app.scss
Which activity class do you need to inherit to show Google Map | MapViewActivity class
Android: Which statements are correct about Broadcast receivers | All of above
What are 2 ways a Service can run | Bouned and Unbouned
How to show or hide a Sencha Touch component | Call.show() or .hide() method of component itself
Android: When a dialog is requested for the first time, which method Android call from your Activity | onCreateDialog(int)
Do we need to declare all of Controller in app.js with Sencha Touch | No
Which of the following is best choice for simple animation for your website | JavaScript
Which statement is correct about web storage | It can be accessed by serveral web page running in the same domain
How to play a video in HTML5 | Insert<video> tag to HTML5 page only, the video is played automatically
What is NOT a new elements of input type in HTML5 | Non of above
How many main approaches to build GUI of Android app | 1
Which class do we use for listening location update | LocationListener class
How to make a TextView to be editable | Either set attribute editable = “true” or Use EditText class instead of TextView class
What is NOT correct about Store in Sencha Touch | Load data via a proxy
How to define a new Sencha Touch class | Use Ext.define()
If the action is ACTION_CALL, what the data field would be | URI with the number to call
There are five different methods to store persistent data. They are: Sharred Preferrences, Internal Storage, External Storage, Network and ... | SQLite Database
What are location providers in Android | GPS & Wifi
Android: when will onUpgrade() be invoked | All of above
Intent myintent = new Intent(this, ActivityTwo.class) | myIntent.putExtra(“Value1”, “This value one for ActivityTwo”)
Which of following is true | myIntent is explicit intent
Android: What is value on component’s attribute “layout_height” to display the component big enough to enclose its content only | wrap_content
What is true about localStorage | it is never expired
How to listen to an event in Sencha Touch class | write event handler within listeners:{} body
Which method to opena Http connection to an Uri | url.openConnection()
Which statement is Not correct about PhoneGap | it doesn’t support for Java phone
Which are location provider in Android | LBS
Android: which attribute will be used in XML if the Java code needs a reference to View | android: id
How many css file can be included in a Sencha Touch project | many
How to set position of a Sencha Touch component | all of above
In class SQLiteOpenHelper class, there are 2 method we usually override. What are they | onCreate() and onUpdagrade()
Android: Which statement is not correct about Toasts | Toasts are perfect for informing your users of event without forcing them
Does AsyncTask create new thread in background | True
To display a notification on upper left of Android screen, which of the following class you need to use | NotificationManager + Notification
Which is the method you need to use to post a notification to be shown in the status bar | notify(...)
To develop your own service in Android, which of the following step you need to do | Step 2 is: implements onStartCommand, onBind, onUnbind, onRebind, onCreate, onDestroy methods
To get data from Webserver to Android application, which of the following class you need to use to establish connection | HttpURLConnection
How many kind of Android service do we have | 2
What is the name of Android class do we need to use to build up an JSON object | JSONObject
Assume that we have an Android object named stored in reader variable, and inside it has a child object named | JSONObject mainObj = reader.getJSONObject(&quot;main&quot;)
In Android, can we change the GPS setting by write my own Java code | False
To install and run Sencha Touch, we need | True
When you need to use mp3 file in Android application, which folder you need to create and store mp3 file | raw folder
Which of the following is NOT a right codename of Android version | Eclair
What is the android:versionCode attribute in the AndroidManifest.xml file | It is used to programmatically check if an application can be upgraded
Which of the following is the based class for the main application class in an Android application that has a user interface | Activity
In Android, which is two location providers that you can use to obtain your position data | LocationManager.GPS_PROVIDER and LocationManager.NETWORK_PROVIDER
What happen if the latitude is less than -90 or greater than 90 | It returns an IllegalArgumentException
Given the following statements using openFileOutput function to store data into a file in Android | The created file can be accessed by all the other applications at the same time
How many activities are in focus at any time | Just one
What is a change Gravity | A tool that changes the linear alignment of a control so that is is aligned to the left, center, right top or bottom of an
What onListItemClick() function used for | A method called when an item in a list is selected
What setListAdapter() function used for | A command that projects your data to the onscreen list on your device by connecting the listActivity
In Sencha Touch, app folder contains | the Models, Views, Controllers and Stores for your app
Choose right kind of layouts supported in Sencha Touch | Justify Layout
As discussed, there are 4 main components in Android application. And in AndroidManifest.xml file, you need to declare | elements for configurations
Android is based on Linux for the following reason | All of these
Which shortcut key we can use to change orientation in an AVD simulator | Ctrl+F11
In Android, what is contained within the XML files in layout folder | The layouts and direction of screen of the app
What is Content Provider | It is a means to share data between applications which are by default run in completely different space by Dalvik instances
the following content about Fragment | A fragment can be displayed without be embedded in an activity
In Android, what is the meaning of the following code in MainActivity class | the main thread calls the UI thread
Sencha Touch is | a Java framework
Choose whether the statement is true or false Does PhoneGap support iOS, Android, Windows Phone, BlackBerry, webOS, Bada, Symbian at the same time | True
PhoneGap uses HTML5, CSS, and __________ to write and deploy application | JavaScript
Can PhoneGap work with Contacts data of mobile device | true
Can PhoneGap framework support for playing audio | True1. What is an intent object? | An Intent object is a bundle of information
2. Intents designate the target component by its name and they are typically used for application-internal messages. | Explicit Intents
3. For writing Android code using C/C++, you need to use__________ | NDK
4. Which one is not a nickname of a version of Android? | Muffin
5. The R.java file is where you edit the resources for your project | False
6. Which of the following are UI elements that you can not use in a window in an Android application? | SliderBar
7. Which of the following is the parent class for the main application class in an Android application that has a user interface? | Activity
8. Intents do not name a target and the field for the component name is left blank | Implicit Intents
9. Which of the following should be used to save the unsaved data and release resources being used by an Android application? | Activity.onDestroy()
10. The intents can communicate messages among any of the three core components of an application: | activities, services, broadcast receivers
11. The Intent object is passed to this method to initiate a service or deliver new instructions to an ongoing service | Context.startService()
12. Why cannot you run standard Java bytecode on Android? | Android uses Dalvik Virtual Machine
13. Which of the following are true about Intent.CALL_ACTION? | dial + dialled
14. What does the .apk extension stand for? | Android Package
15. Android is licensed under which open source licensing license? | Apache/MIT
16. What is an Activity? | . A single screen in an application, with supporting Java code
17. Where will you declare your activity so the system can access it? | In the manifest xml file
18. What is contained within the Layout xml file? | Orientations and layouts that specify what the display looks like
19. Is it possible to run java source code directly on Android? | False
20. Where can you define the icon for your Activity? | . In the manifest xml file
21. Which of the following is NOT a life-cycle methods of an Activity? | onInit
22. Which of the following is/are appropriate for saving the state of an Android application? | Activity.onPause()
23. Does Android support AWT and Swing? | No
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()
25. The Intent object is passed to this method to deliver the message to all interested broadcast receivers | Context.sendBroadcast()
26. How will you pass data to sub-activities? | Use Bundles
27. How will you launch an Activity within your application? | startActivity(intent);
28. Which of the following are UI elements that you can use in a window in an Android application? | TextView
29. Which company developed android? | Android Inc
30. Can you deploy executable JARs on Android? | False
31. Android is based on which language? | Objective C
32. 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 | Result Code
34. Which of the following is layout that you can use in a window in an Android application? | FrameLayout
35. How do you access the string resource stored in the strings.xml file? | You can use the getResources() method
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)