IS4 PM_2025 – Telegram
IS4 PM_2025
736 subscribers
724 photos
47 videos
1.15K files
308 links
Download Telegram
To create a blank Wear activity in Android Studio, the project should have a minimum SDK
version >= 20.
Anonymous Quiz
67%
True
33%
Flase
Which of the following lines of code sets the entire Activity window as a WebView?
Anonymous Quiz
18%
WebView webview = new WebView(this); webview.setAsWindow;
9%
setContentView(R.layout.webview);
59%
WebView webview = new WebView(this); setContentView(webview);
👍1
Consider the following the code :
public boolean onCreateOptionsMenu(Menu menu) {
MenuInflater inflater = getMenuInflater(); inflater.inflate(R.menu.game_menu, menu); return true; } Which of the following is true about the code above?
Anonymous Quiz
28%
This method handles clicks and assign actions to menu items.
50%
This function inflates an XML file in the res/menu folder into menu items.
16%
This method inflates an XML file in the res/layout folder into layout.
6%
The code is auto generated and should not be edited.
When the user clicks on an action item in the action bar, which of the following Activity
methods does the system call?
Anonymous Quiz
42%
onOptionsItemSelected()
14%
onActionButtonSelected()
11%
onActionBarItemSelected()
33%
onOptionsItemClicked()
Gradle is the build system used in Android Studio. It builds, tests, runs, and packages your
apps.
Anonymous Quiz
33%
False
67%
True
To use the material design features of Android 5.0, you should set the
android:targetSdkVersion attribute to 20 in your application’s build.gradle file.
Anonymous Quiz
58%
False
42%
True
IS4 PM_2025
Photo
What is the second layer from top called in the following diagram of Android’s Architecture
Anonymous Quiz
70%
Application framework.
8%
Linux kernel.
13%
Android runtime.
10%
Applications layer.
Consider the following code :
@Override
public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);
menu.setHeaderTitle("Menu");
AdapterContextMenuInfo cmi = (AdapterContextMenuInfo) menuInfo;
menu.add(1, cmi.position, 0, "Open file");
menu.add(2, cmi.position, 0, "Save file");
}
Flutter developed by:-
Anonymous Quiz
5%
Oracle
5%
Microsoft
3%
IBM
87%
Google