How to enable JavaScript in WebView?

How to enable JavaScript in WebView?A . myWebView. setJavaScriptEnabled(true);B . myWebView.getJavaScriptSettings.setEnabled(true)C . myWebView.getSettings().setJavaScriptEnabled(true);D . Java script is always enabled in WebViewView AnswerAnswer: C Explanation: JavaScript is disabled in a WebView by default. You can enable it through the WebSettings attached to your WebView. You can retrieve WebSettings with getSettings(), then...

October 14, 2019 No Comments READ MORE +

What Eclipse plugin is required to develop Android application?

What Eclipse plugin is required to develop Android application?A . J2EEB . Android Software Development KitC . Android Development ToolsD . Web Development ToolsView AnswerAnswer: C Explanation: References: Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

October 13, 2019 No Comments READ MORE +

When using an implicit intent, what process does the system use to know what to do with it?

When using an implicit intent, what process does the system use to know what to do with it?A . Intent resolutionB . Intent declarationC . Intent overloadingD . Intent transitionView AnswerAnswer: A Explanation: When using implicit intents, given such an arbitrary intent we need to know what to do with...

October 13, 2019 No Comments READ MORE +

Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?

Which of these is NOT recommended in the Android Developer's Guide as a method of creating an individual View?A . Create by extending the android.view.View class.B . Create by extending already existing View classes such as Button or TextView.C . Create by copying the source of an already existing View...

October 13, 2019 No Comments READ MORE +

When publishing an update to your application to the market, the following must be taken into consideration:

When publishing an update to your application to the market, the following must be taken into consideration:A . The package name must be the same, but the .apk may be signed with a different private key.B . The package name does not have to be the same and the .apk...

October 12, 2019 No Comments READ MORE +

To create a customized Adapter for a compound list item layout, you should:

To create a customized Adapter for a compound list item layout, you should:A . Extend class android.widget.Adapter or any of its descendants then override method getView()B . Extend class android.widget.ListView or any of its descendants, then override method getView()C . Extend class android.widget.AbsAdapter or any of its descendants, then override...

October 11, 2019 No Comments READ MORE +

Which of the following is true about implicit intents? (Choose two)

Which of the following is true about implicit intents? (Choose two)A . They do not have a component specifiedB . They have components specified to run an exact class.C . They must include information that allows Android system to choose the best component to run.D . They must contain extra...

October 10, 2019 No Comments READ MORE +

What two methods you have to override when implementing Android context menus?

What two methods you have to override when implementing Android context menus?A . onCreateOptionsMenu, onCreateContextMenuB . onCreateContextMenu, onContextItemSelectedC . onCreateOptionsMenu, onOptionsItemSelectedD . onCreateOptionsMenu, onContextItemSelectedView AnswerAnswer: B Explanation: need to create context menu. For this need to override this method: @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu,...

October 10, 2019 No Comments READ MORE +

What is a correct statement about an XML layout file?

What is a correct statement about an XML layout file?A . A layout PNG image fileB . A file used to draw the content of an ActivityC . A file that contains all application permission informationD . A file that contains a single activity widget.View AnswerAnswer: B Explanation: References: Android...

October 10, 2019 No Comments READ MORE +

Which of these is not defined as a process state?

Which of these is not defined as a process state?A . Non-visibleB . VisibleC . ForegroundD . BackgroundView AnswerAnswer: A Explanation: References: Android ATC Self Study Guide http://www.androidatc.com/pages-19/Self-Study

October 9, 2019 No Comments READ MORE +