A developer writes a Worklight push notification application and creates the following: 1.An event source 2.An adapter to retrieve the notification from the event source 3.A function to notify the user device 4.A function to handle the arriving notification Which two actions still need to be done? (Choose two.)
A. Deploy the adapter to the server.
B. Deploy the event source to the server.
C. Create a function to verify the user device.
D. Create a function to subscribe to the event source.
E. Register the event source for the device on the console.
A developer wants to create a procedure called getAccountInfo in a Worklight SQL adapter to retrieve account information from a backend database. The procedure should invoke a SQL query that accepts an accountID as parameter and returns the accountNumber, accountName and accountBalance of the corresponding row in the Account table.
What is a correct implementation of the procedure in the adapter's JavaScript file?
A. Option A
B. Option B
C. Option C
D. Option D
A developer is writing an application that needs to support the HTC Thunderbolt and Motorola DROID Pro devices. Using the Mobile Browser Simulator to preview the application, how can the developer switch from one device to the other?
A. Launch a separate instance of Mobile Browser Simulator for each device.
B. Click the Switch label, then expand Android and select Motorola DROID Pro.
C. Click the drop down menu currently labeled HTC Thunderbolt, then expand Android and select Motorola DROID Pro.
D. Click the Cordova API in the left hand side, expand the Device section and change the device simulator from HTC Thunderbolt to MotorolaDROID Pro.
A developer wants to test a hybrid application on a physical iOS device. The developer has enrolled in the iOS Developer Program and created a provisioning profile. Where should the developer install the provisioning profile to test the application on a physical iOS device?
A. the Xcode Server
B. the physical device
C. the Apple App Store
D. the Application Center
When should the Shell development approach be considered?
A. There are only two developers
B. The company wants to create a number of mobile applications sharing a common native code base and authentication mechanism
C. The company wants to create a native iOS and Android application, but its resources are limited
D. The company has distributed development teams situated on different continents that must share the source code
Which of the following is not a client side push API?
A. WL.Client.Push.isPushSupported()
B. WL.Client.Push.isSubscribed()
C. WL.Client.Push.unsubscribe()
D. WL.Client.Push.poll()
What are the components of a Cordova plug-in?
A. A native class implementing the required functionality: It can be called directly from application's JavaScript
B. A native class implementing the required functionality and a JavaScript wrapper for it: The wrapper's functions can be called from JavaScript.
C. A native class implementing the required functionality, a JavaScript wrapper for it and a declaration in the application-descriptor.xml file
D. A JavaScript wrapper only ; Native classes are already provided by Worklight.
Which of these is not a function of WL.Client?
A. Manipulate elements' class names
B. Obtain general app information
C. Manage authenticated sessions
D. Dynamic page and fragment loading
What does the common folder hold?
A. All resources shared between environments
B. Only files considered ordinary by the developer
C. The splash screens for the each platform
D. An mp3 of the Worklight theme song