Capture Web content or entire Web pages for use in your mobile application.
See the Unwired Accelerator Developer's Guide for more information.
To create Web Capture elements:
In the Mobile Development perspective, select File|New|Mobile Application.
From the Mobile Application Wizard, select Launch Element Wizard, then select Web Capture from the element type drop-down list, and click Finish.
Alternatively, right-click the Mobile Applications folder, and select Create New Mobile Application With|Web Capture Element.
The New Mobile Application Element wizard opens.
Choose from the following, then click Next:
Capture web content:
Click Capture to open a browser.
Enter the URL of the Web content you want to capture in Address.
Select a Capture Strategy from the drop-down list.
You must select the Advanced Navigation option to work with applets, BusinessObjects (Crystal), and activeX capture.
When you create a mobile application using one-click capture, and the mobile application content contains numerous links, some of the links may not work properly due to underlying JavaScript or redirect code in the link content.
Select the Capture All check box to capture all GETs and POSTs.
Using the default settings during navigation and capture, Unwired Accelerator remembers the final URL of the page you want to capture and play back, along with any intermediate URLs that are generated by HTTP "POST" requests. These latter URLs typically result from submitting form data. During playback, these URLs are submitted in order and the resulting page content returned to the client browser. However, for some sites, this is not sufficient to guarantee that enough context is provided to the Web server to return the desired page. In this situation, you may need to include other intermediate HTTP requests (that is, HTTP "GET" requests) so the correct client state can be established and the desired page returned. If you suspect this situation is occurring, select Capture All to request that during the capture phase, Unwired Accelerator should record all significant HTTP requests against the Web server from which the page is being captured.
As a higher lever of interaction is required between Unwired Accelerator and the Web server when using Capture All, this can result in significant performance degradation during playback.
If you choose to select Capture All, you cannot later deselect this option in the editor.
Click Go to display the web content in the view.
A edit tool appears at the cursor.
Guide the edit tool to the web content you want to capture, then left-click your mouse to select it.
(Optional) Rewrite the CCL using a pre-defined template. Select the Re-write CCL using a pre-defined template check box, select a template from the drop-down list, and click Apply.
Click Select next to the web content you want to capture, then click Finish to return to the New Mobile Application Element wizard.
The captured web element displays in the wizard view.
Use advanced capture
Select the Advanced check box and click Capture to open an external browser. This allows you to capture ActiveX content.
If you are capturing a BusinessObjects application, you must use the Advanced option.
Enter the URL of the Web content you want to capture in Address.
Select a Capture Strategy from the drop-down list.
When you create a mobile application using one-click capture, and the mobile application content contains numerous links, some of the links may not work properly due to underlying JavaScript or redirect code in the link content.
Select theAdvanced Navigation check box to capture all GETs and POSTs. Capture All is automatically selected.
Using the default settings during navigation and capture, Unwired Accelerator remembers the final URL of the page you want to capture and play back, along with any intermediate URLs that are generated by HTTP "POST" requests. These latter URLs typically result from submitting form data. During playback, these URLs are submitted in order and the resulting page content returned to the client browser. However, for some sites, this is not sufficient to guarantee that enough context is provided to the Web server to return the desired page. In this situation, you may need to include other intermediate HTTP requests (that is, HTTP "GET" requests) so the correct client state can be established and the desired page returned. If you suspect this situation is occurring, select Capture All to request that during the capture phase, Unwired Accelerator should record all significant HTTP requests against the Web server from which the page is being captured.
As a higher lever of interaction is required between Unwired Accelerator and the Web server when using Capture All, this can result in significant performance degradation during playback.
If you choose to select Capture All, you cannot later deselect this option in the editor.
Click Go to display the web content in the view.
Click Preview to view the captured web content.
Choose from the following:
Click Capture to return to open the browser and capture additional Web content.
Click Next to define the CGI parameters for the captured Web content.
Click Finish to complete your work.
Additional Information about Web capture elements
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com