This section provides a quick tutorial for using the Mobile Web Studio. In this tutorial, create an interactive application using an existing Web application. For detailed information, see the Unwired Accelerator Developer’s Guide, and the Mobile Application Development Tutorial.
You must use Internet Explorer 6.0 to access Mobile
Web Studio.
Logging in to Mobile Web Studio
From a new browser window, enter:
http://hostname.domain:port/onepage/loader.html
where:
hostname – is the name of the machine where you installed Unwired Accelerator.
domain – is the domain name where the installation is located.
port – is the port number (the default is 4040 for Tomcat, 8080 for EAServer).
For example, enter:
http://lab2k.sybase.com:4040/onepage/loader.html
The log in window displays.
In the User Name field, enter:
masuper
In the Password field, enter:
m8super
The Mobile Web Studio window displays. (You can minimize the second window that includes the Close button).
If the Mobile Web Studio window does not display, see Table 4-1 for
information.
Creating an interactive application (stock quote)
Select Applications in the left pane.
Select New from the Application Manager Status menu, and click the New button to open Application Builder.
Select the down-arrow next to Add, and select Web Element from the drop-down list, or click Add to open the Web Element wizard.
In the Location field, enter cbs.marketwatch.com
,
and click Find or press Enter.
If necessary, click the “Direct to cbs.marketwatch.com” link to bypass the ads.
In the Enter Symbols field in the left pane, enter SY
,
and click the Quote/News arrow.
Click Next in the upper-right corner.
After the preview refreshes, click the word “Last” in the quote table. The cursor flag provides instructions.
After the preview refreshes, click Select next to the option that displays the entire quote table (typically the fourth one). You can scroll up and down to view other presentation formats.
Click Next in the upper-right corner.
In the Configure Parameters window, click the Variable box that is next to the “symb” parameter. The parameter “jumps” to the bottom of the list.
In the Display Name field, enter Symbol
,
and in all other fields, accept the defaults.
Click Next in the upper-right corner.
After the preview refreshes, enter Quote
in
the Element Name field.
Click Next.
In the Continuous Capture window, click Finish to close the Application Builder wizard. (You can close any pop-up windows).
In the Application Builder preview pane, test the application
by entering IBM
in the Symbol
field, and clicking Update.
Saving the application
In Application Builder, click Save in the upper-left corner.
In the Finish window, make these changes (accept all other defaults):
Content tab Enter StockQuote
(no
space) in the Name field, and click In Context.
Administration tab From the Category and Subcategory drop-down lists, select Business and Investing.
Click Finish in the upper-right corner.
In the confirmation pop-up, click OK.
Click Close in the upper-right corner to close the Application Builder.
Approving the application
Click Applications in the left pane, and click New in the Application Manager Status menu. The new application loads in the detail pane.
Right-click the StockQuote application in the detail pane, and select Approval Status | Approved.
In the confirmation pop-up, click OK. The application is now listed under the Approved Status menu.
To confirm, click Applications in the left pane, and click Approved in the Application Manager Status menu. The approved Stock Quote application displays in the detail pane.
Previewing the application
Click Applications in the left pane, and click Approved in the Application Manager Status menu.
In the detail pane, click the StockQuote application and click the Preview button.
In the preview window, enter ORCL
in
the Symbol field and click OK. Information for Oracle Corporation
displays.
Close the preview window.
Either log out, or minimize the browser window. If the browser session expires, you must log in again when prompted.
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |