PrepAway - Latest Free Exam Questions & Answers

which additional steps must the developer perform to complete the plugin?

A developer wants to use an Apache Cordova plugin to invoke native code in a Worklight mobile
application targeted to run on an Android platform. After writing the native code class, which
additional steps must the developer perform to complete the plugin?

PrepAway - Latest Free Exam Questions & Answers

A.
Write a HTML page to use to invoke the plugin and define the plugin in the project’s Cordova
plugin definition file.

B.
Write a JavaScript wrapper for the native code and define the plugin in the project’s Cordova
plugin definition file.

C.
Write a JavaScript wrapper for the native code and set the <use-cordova-plugin> element to
true in the application’s descriptor file.

D.
Define the plugin in the project’s Cordova plugin definition file and set the <use-cordova-plugin>
element to true in the application’sdescriptor file.

Explanation:


Leave a Reply