From the Mobile Development perspective, you can develop, modify, test, and distribute mobile applications. Enterprise Portal users who are familiar with portlets, can think of mobile applications as portlets, since they support the same elements. The Mobile Development perspective contains these views:
WorkSpace Navigator: This is a shared Eclipse view. It displays your projects. These projects can be linked to connection profiles. If you are connected to the Unwired Accelerator server, a plus sign appears next to the connection project. The project becomes “expandable” when connected. The project displays the connected decorator (bottom left corner) when connected. If you expand the project, you see two folders:
Mobile Applications
Templates
The Mobile Applications and Templates folders contain the following folders, which allow you to group your mobile applications and templates based on where you are within the development cycle. Only mobile applications and templates in the Approved folder can be deployed to mobile devices:
New
Pending
Approved
Broken
Archived
Rejected
Deleted
Mobile Development Log: Logs events as they occur and provides various levels of information. This is not available by default. It displays under the views menu and can be added. See Setting Preferences for more information.
Service Explorer: This is a shared Eclipse view, in which the connection profiles appear. See Service Explorer for more information.
Outline: This is a shared Eclipse view. Within the Mobile Development perspective, Outline provides an outline view and allows you to edit any mobile application or template, actively open in the editor.
Properties: This is a shared Eclipse view. Within the Mobile Development perspective, provides property names and values for mobile applications and templates selected in the WorkSpace navigator. For those properties that can be modified, you can select the property and change the value.
Approved Mobile Applications: Unwired Accelerator comes preloaded with approved mobile applications. You can use these applications as a basis for creating new applications or for testing purposes.
Approved Templates: Unwired Accelerator comes preloaded with approved templates, which supply different styles and appearances for various mobile devices. You can use these templates as a basis for creating new ones and for testing purposes.
Navigation, wizards, and tutorials
There are a variety of ways you can develop and modify mobile applications within the Mobile Development perspective:
File menu: You can launch any of the wizards for creating new mobile application resources (connection profiles, mobile applications, templates, and so on) from the File menu. Simply select File | New and the resource you want to create.
Drag and drop:You can drag and drop files of various types into one of the Mobile Application folders, which uploads the file and launches the New Mobile Application wizard and adds the element depending on the file type. For example:
From the Service Explorer, you could open an EAServer connection, locate a Web service and drop it to a mobile application folder, which creates a new Web service mobile application, that contains the parameters contained in the imported Web service.
Drag and drop a Microsoft Word document into the Approved folder. The file is uploaded to the Unwired Accelerator server.. The New Mobile Application wizard starts, and a document element is added to the mobile application using the parameters of the imported Word document.
Drag a stored procedure from a database connection onto a mobile application folder to create a database element mobile application.
Drag a .xsl file onto a template folder to create a new mobile template.
The following list describes some of the file types that you can drag and drop. In general, you can drag and drop a file onto a folder; If it is not supported, it shows the not droppable cursor. Errors display if you drop into the definition/elements list in an open mobile application editor. If an item can be dropped, a right mouse menu option of “new mobile application” displays:
Service Explorer SOAP Services
Navigation files. Files for:
Database elements - qry files.
Document elements - doc, pdf, xls, ppt, gif, jpg, html, rtf, xml, xsl, and xsd files.
File elements - (csv or txt files.)
External (outside of Eclipse) file
Connection profile: JDBC profile.
WST service entity - EAServer WST services.
UDDI nodes or WSDLs - Service node or ServiceWSDL node. For search of UDDI, the “services” node or the node under the “Service/found object/WSDL Documents” item.
UO SOAP Service - SOAP services under the UO Package/*/Services folder.
JDBC profile stored procedures - Creates a database element from a stored procedure.
You can also drag and drop mobile applications and templates across connections to copy to another server.
For template folder/content windows, you can:
Drag files or external files of type: xsl, jsp, html files to set/create the content of a template.
Drag template onto another contents to replace.
Drag template across folder to change status.
Right-clicking: Many of the same functions that are available from the File menu are also available by right-clicking within Workspace Navigator mobile files/folders. For example, right-clicking a status folder provides the option of creating a new mobile application (or template) of this status and launching the element wizard. Other right-click options on a mobile application gives options for Web service creation and deployment. The view where the mouse is determines which options are available.
Toolbar: The editor toolbars at the top of the Mobile Development perspective and at the top of many of the views contains icons that allow you to launch various wizards, add and modify elements, mobilize your application, and so on. If you move your mouse over an icon, a tooltip provides a description. The Mobile Development toolbars are visible only when a mobile application or template editor is open.
Cheat sheets: The cheat sheets combine a check list, work flow, and set of procedures that guide you through the creation and deployment of mobile applications. They also allow you to become familiar with many aspects of the Mobile Application development environment by launching wizards when needed and supplying additional help where required.
Saving changes: When working on mobile applications, templates, and other mobile development resources, your work is performed within Sybase WorkSpace. You must save your changes to save the work to the Unwired Accelerator server to which you are connected or any changes you make are lost when you exit Sybase WorkSpace. To save your work, select File | Save from the mobile development perspective.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com