Consider the following Instantiation of the FilterField widget: this.controller.setupWidget('filterField', this.attributes = { delay: 3000, filterFieldHeight: 100 }, this...
3000 milliseconds 0%
3000 seconds 0%
3 minutes 0%
100 seconds 0%
Consider the following method: Mojo.Drag.setupDropContainer(element, dropClient) Which of the following dropClient property methods will be called whenever the item is first dragged over this con...
dragLeave(element) 0%
dragHover(element) 0%
dragEnter(element) 0%
dragDrop(element, newItem) 0%
Dashboard applications are applications that provide services like the stock ticker, current weather etc. To enable the users to perform which of the following functions must it have an application...
To configure the application, in order to determine what the application should display 0%
To be notified when important information arrives or events occur 0%
To quit the application 0%
All of the above 0%
Does Palm webOS support file uploading?
Is there a way to stop the rendering of the page until all the callbacks have been completed for a Palm based application lifecycle?
Mojo.Animation.animateClip (element, side, animationType, details) is used to animate the clip style property of DOM elements. How many sides may be animated at a time?
State whether true or false: Adding new contact information to a new or an existing contact can be done using the open method of the Contacts Service API.
State whether true or false: If the Mojo.View.visible(element) method is set for an element, its ancestor will be visible along with the element.
Suppose you have an alphabetical list of contacts ordered on the basis of the last name. You want to implement the divider where each divider contains the first letter of the last names as shown in...
Mojo.Widget.ListSelector 0%
Mojo.Widget.FilterList 0%
Mojo.Widget.List 0%
Mojo.Widget.FilterField 0%
To customize the behavior of a stage, scene or application, which of the following folders stores the Javascript function files that use controllers provided by the SDK?
app 0%
assistants 0%
models 0%
views 0%
Any of the above 0%
What are the dimensions of the icon.png icon image which application displays in the Launcher?
32 pixels by 32 pixels. 0%
64 pixels by 64 pixels. 0%
64 pixels by 56 pixels. 0%
56 pixels by 64 pixels. 0%
What does the maxValue attribute property of the ProgressSlider widget signify?
Maximum slider value returned at the leftmost position. 0%
Maximum slider value returned at the rightmost position. 0%
Round the value returned to the nearest integer 0%
It always returns the value as 100. 0%
It always returns the value as 0. 0%
What is problem with the following declaration? <div x-mojo-element="Button" class="xyz" name="xyz"></div>
The value of the x-mojo-element property is in the title case. 0%
The name of the class and the name of the button can not be the same. 0%
The syntax is incorrect. 0%
The id property is missing in the declaration. 0%
There is no problem with the code. 0%
What is the default value of the lookahead attribute property of the List widget?
10 0%
15 0%
20 0%
25 0%
None of the above 0%
What is the default value of the modelProperty attribute property of the Drawer widget?
open 0%
closed 0%
none 0%
true 0%
false 0%
What is the function of the <canvas> tag ?
It is used to draw graphs, make photo compositions or animations. 0%
It is used for formatting output e.g. for using bold or italic text. 0%
It is used to display table (2 * 2). It will work in a way similar to the <table> tag in HTML. 0%
None of the above 0%
What is the function of the View menu widgets supported by the Mojo framework?
It is used to set a menu at the bottom of the screen. 0%
It is a desktop style menu that drops down from the top-left corner of the screen when the user taps in that area. 0%
It applies to the menus across the top of the screen and can be used as a display header or action button. 0%
It can be used in conjunction with the other menu types or be attached to any element in the page. 0%
What is the keyboard shortcut to perform swipe back in Palm Emulator?
ESC 0%
Home 0%
End 0%
None of the above 0%
What is the maximum period of setting Monotonic alarm?
12 hours 0%
24 hours 0%
1 month 0%
There is no limit. 0%
What is the type of the accuracy parameter of the getCurrentPosition method of the Location Service API?
string 0%
integer 0%
boolean 0%
object 0%
What is the type of the allDay event of the Calendar object?
integer 0%
string 0%
boolean 0%
object 0%
What is the type of the choices attribute of the ListSelector widget?
DatePicker 0%
String 0%
Boolean 0%
Array 0%
What is the type of the replace attribute in the class Mojo.Depot?
String 0%
Number 0%
Boolean 0%
Array 0%
What is the type of the watchMouse parameter for the Mojo.Controller.SceneController.setUserIdleTimeout(element, func, delay, watchMouse, watchKeys) function?
string 0%
function 0%
boolean 0%
int 0%
object 0%
What is the type of the year attribute property for the DatePicker widget?
DatePicker 0%
String 0%
Boolean 0%
FilterField 0%
What type of return value does the function Mojo.Controller.AppController.getScreenOrientation() return?
'up', 'down', 'left', or 'right' 0%
'1', '2', '3', or '4' 0%
'vertical', or 'horizontal' 0%
None of the above 0%
What will be returned if the following code is called and is executed successfully? this.controller.serviceRequest('palm://com.palm.calendar/crud', { method: 'listCalendars', parameters: {...
It will display all types of available calendars like UTC or GMT. 0%
It will display the functionality and all the parameters available for the Calendar API. 0%
It will display the list of the calendar objects associated with the account. 0%
It will display all the information about the associated account. 0%
What will be returned if the Mojo.Controller.StageController.activeScene() function is called and no scene is active?
It will return the first scene of the stage. 0%
It will return the last scene of the stage. 0%
It will return undefined. 0%
It will throw an error and halt the application. 0%
What will be the output of the following code? Mojo.assert(books > 5, "expected books to be greater than 5, but it was 3", {count: 3, amount: books})
It will write an error to the log. 0%
It will throw an exception. 0%
It will write an error to the log and also throw an exception. 0%
It will run successfully. 0%
What will be the output of the following command when you are using Debugger? list - or l -
It will show the first 10 lines of the code. 0%
It will show the last 10 lines of the code. 0%
It will show the next 10 lines of the code. 0%
It will show the previous 10 lines of the code. 0%
What will be the output of the following function? Mojo.Log.info("I have", 5, "books.");
I have books 5. 0%
I have 5 books. 0%
I have5books. 0%
I have books. 0%
What will happen if the Contacts API PhoneNumber property is set as follows: { "value":4534974378, ""label":1 }
The phone number 4534974378 and the label home are saved. 0%
The phone number 4534974378 and the label work are saved. 0%
The phone number 4534974378 and the label mobile are saved. 0%
The phone number 4534974378 and the label main are saved. 0%
It will throw an error. 0%
What will happen if the deleteEndpoint method of the Mojo Messaging Service is being called and the device is offline?
The attempt to connect the device will continue until it is available again. 0%
It will return connectionErr. 0%
The endpoint will be deleted irrespective to the status of the device. 0%
None of the above 0%
What will happen if the following code is executed? this.controller.serviceRequest("palm://com.palm.applicationManager", { method: "open", parameters: { id: 'com.palm.app.browser', par...
It will open the given url in a separate card. 0%
It will open in a scene within your application. 0%
It will throw an error due to invalid syntax. 0%
It will open http urls in a scene within your application and https urls in a separate card. 0%
What will happen when the Camera Service API capture method is called once and then canceled?
The application will throw an error. 0%
The control will be returned to the original application. 0%
The application will crash. 0%
There will be no change in the application's status. 0%
What will the following code display? this.controller.serviceRequest('palm://com.palm.accounts/crud', { method: 'listAccounts', parameters: {}, onSuccess: function(), onFailur...
It will create a new account attached to this application. 0%
It will retrieve all the details of the specified account. 0%
It will show all accounts created by a particular appid. 0%
It will throw an error due to invalid syntax. 0%
What will the following code do while using the palm-launch tool on the emulator or device? palm-launch -f com.example.app
It will close the application. 0%
It will close and relaunch the application. 0%
It will run the application with the Inspector. 0%
It will specify the devices. 0%
What will the following code do? this.controller.serviceRequest('palm://com.palm.applicationManager', { method: 'open', parameters: { id: 'com.palm.app.maps', param...
It will return locations related to Pepsi in a particular location as specified. 0%
It will return locations related to Pepsi in an area other than that specified in the location parameter. 0%
It will return none because the parameters are not in the proper format. 0%
It will throw an error. 0%
What will the following function return if the key is the delete key? Mojo.Char.isDeleteKey(key)
delete 0%
true 0%
false 0%
del 0%
What will the get() method of the Mojo.Model.Cookie class return if no cookie exists?
It will throw an exception. 0%
It will write error to the log. 0%
It will return undefined. 0%
It will return zero value. 0%
When the appropriate application to handle the request is already known, which of the Application Methods is used?
open 0%
launch 0%
Depends upon the application 0%
Which API will you use to display a Popup Menu widget?
Mojo.Widget.ListSelector 0%
Mojo.Menu.commandMenu 0%
Mojo.Widget.List 0%
None of the above 0%
Which endocing system is used for the data that is returned by the Mojo.Model.encrypt(key, data) and Mojo.Model.decrypt(key, data) methods?
base16 0%
base32 0%
base64 0%
All of the above 0%
Which of the following are not Palm webOs Events?
Mojo.Event.commandEnable 0%
Mojo.Event.command 0%
Mojo.Event.back 0%
Mojo.Event.commandDisable 0%
Which of the following are the required properties for the openDatabase() method in HTML 5 database?
name 0%
version 0%
displayName 0%
estimatedSize 0%
Which of the following arguments are required in the function Mojo.Controller.showAlertDialog?
onChoose 0%
title 0%
message 0%
preventCancel 0%
choices 0%
Which of the following features are missing in the Palm Host Tools Graphical launcher for windows?
Drag and drop 0%
Multiple pages 0%
Search 0%
Some applications are not displayed. 0%
Which of the following is not a property of the meta tag that is located within the head tag of HTML?
width 0%
maximum-scale 0%
minimum-scale 0%
height 0%
None of the above 0%
Which of the following is the prefered data storage object to store upto 5 MB of data?
Cookie 0%
Depot 0%
HTML 5 database object 0%
Which of the following parameters of the set method of the Alarms Service API is used to create a calendar based alarm in GMT?
key 0%
at 0%
in 0%
wakeup 0%
params 0%
Which of the following Progress Indicators will you use for audio/video applications when you know how long the content is and want the user to know where they are in the playback process and allow...
Progress Pill 0%
Progress Bar 0%
Progress Slider 0%
Inline Progress Bar 0%
Which of the following scrolling modes of the Scroller widget allows scrolling along the horizontal or vertical axes, but not both at once?
free 0%
horizontal 0%
vertical 0%
dominant 0%
horizontal-snap 0%
vertical-snap 0%
Which of the following widgets is not supported by the Mojo.Event.propertyChange event?
Mojo.Widget.ListSelector 0%
Mojo.Widget.PasswordField 0%
Mojo.Widget.ProgressBar 0%
Mojo.Widget.Slider 0%
You are using the Mojo Messaging Service. If three messages a, b, and c arrive one after another while the device is offline, what will happen?
Only message a will be delivered. 0%
Only message c will be delivered. 0%
Messages a and b will be delivered. 0%
Messages b and c will be delivered. 0%
All the messages will be delivered. 0%
You want to create a Palm application using the Mojo SDK command-line development in /projects/Ticker having the title Good Day. Which of the following will be used?
palm-generate -p "title=Good Day" ~/projects/Ticker 0%
palm-generate -t "title=Good Day" ~/projects/Ticker 0%
palm-generate -l "title=Good Day" ~/projects/Ticker 0%
palm-generate -f "title=Good Day" ~/projects/Ticker 0%
You want to create an animation curve that is quick in the middle, and slow at both ends. Which of the following methods will be used?
Mojo.Animation.easeIn 0%
Mojo.Animation.easeInOut 0%
Mojo.Animation.easeOut 0%
Mojo.Animation.Generator 0%
Mojo.Animation.Queue 0%
You want to create an Application service for dialing a phone number. Which of the following will be used?
this.controller.serviceRequest('palm://com.palm.applicationManager', { method:'open', parameters: { target: "tel://4530498763"} }); 0%
this.controller.serviceRequest('palm://com.palm.applicationManager',{ method:'open', parameters: { target = "tel=//4530498763"} }); 0%
this.controller.serviceRequest('palm://com.palm.applicationManager',{ method:'open', parameters: { target: "tellno://4530498763"} }); 0%
this.controller.serviceRequest('palm://com.palm.applicationManager', { method:'open', parameters: { target: "tellno=//4530498763"} }); 0%
You want to play the audio or the video medium. Which of the following services will be used?
Application Services 0%
System Services 0%
Cloud Services 0%