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 Feature Guide, the Enterprise Portal Developer’s Guide, and the Mobile Application Development Tutorial.
You must use Internet Explorer 5.5 or 6.0 to access
Mobile Web Studio.
Logging in to Mobile Web Studio
Open a new browser window, and enter:
http://hostname.domain:port/onepage/index.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 example, enter:
http://lab2k.sybase.com:4040/onepage/index.html
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 B-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 prompted, click the “Direct to cbs.marketwatch.com” link.
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. You can scroll up and down to view other presentation formats.
Click Next in the upper-right corner.
After the preview refreshes, click the Variable box, which is next to the “symb” parameter.
In the Display Name field, enter Symbol
,
and in the Default Value field, enter SY
.
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.
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 Stock Quote
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 Stock Quote 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 Stock Quote application and click the Preview button.
In the preview window, enter IBM
in
the Symbol field and click OK. Information for IBM 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. |
![]() |