Skip to Content

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 1

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 2


Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 4

Click on Success/Error tab to select which screen to be displayed on success/failure of user operation.

We can give our own error message in “Submit error message”. If the field is left blank, error message will be generated at run-time depending on the error list returned.

Then click on “Generate Error Screen” to display error message.

/wp-content/uploads/2013/04/image116_210168.jpg

Select “Default success screen”  on success of operation(Get FlightList).

/wp-content/uploads/2013/04/image118_210169.jpg

Select “Personalization Key Mappings” tab to map the “Personalization Key” with the Key specified during creation of Choice option.

Click on Edit.

/wp-content/uploads/2013/04/image120_210179.jpg

Select the key.

Click on OK.

/wp-content/uploads/2013/04/image122_210180.jpg

Click on “Hybrid App Designer” (Flight.xbw) and Click on Arrange All.

/wp-content/uploads/2013/04/image124_210181.jpg

Now we can see flow of application as shown in the following image

/wp-content/uploads/2013/04/image126_210182.jpg

Click on Save All.

/wp-content/uploads/2013/04/image127_210183.jpg

Now we will open “Sybase Control Center”

/wp-content/uploads/2013/04/image132_210184.jpg

Enter the credentials.

Click on Log In.

/wp-content/uploads/2013/04/image134_210185.jpg

After successful log on, we can see following screen.

/wp-content/uploads/2013/04/image136_210186.jpg

Now we will register the device to run the application.

Click on “Applications” in the “Unwired Platform Cluster” tree view.

Click on “Application Connections” Tab.

Click on “Register…” button.

/wp-content/uploads/2013/04/image138_210187.jpg

Give any user name to register the device and same should be used in the device to register.

Select the following options.

Click on OK.

/wp-content/uploads/2013/04/image144_210190.jpg

Now we can see the following screen showing the device details.

/wp-content/uploads/2013/04/image146_210191.jpg

Now we will register the Android device.

Open “Android AVD Manager”.

/wp-content/uploads/2013/04/image148_210192.jpg

Select existing Virtual Device.

Click on Start.

/wp-content/uploads/2013/04/image150_210193.jpg

Click on Launch.

/wp-content/uploads/2013/04/image152_210194.jpg

After some time we can see the following screen.

/wp-content/uploads/2013/04/image154_210195.jpg

Click on “Hybrid Web Container”  app already installed in the virtual device.

A Hybrid Web Container is a native application designed to process generic function calls from a Hybrid App. The Hybrid Web Container embeds a browser control supplied by the device OS, which allows you to build applications with simplicity of Web development but utilize the power of native device services.

/wp-content/uploads/2013/04/image156_210196.jpg

If you are using it for the first time it will ask you to set the password.

I have already set the password on this device. So I will just enter password.

Click on OK.

/wp-content/uploads/2013/04/image158_210197.jpg

Click on “Menu” Button as highlighted in blue color or “Menu” button in device if you are using real device.

Select “Settings”.

/wp-content/uploads/2013/04/image160_210198.jpg

Please select Internal IP if you are using the Virtual Device which is present within cloud system.

Please select External Address if you are using any real device or  Virtual Device which is present outside cloud system.

/wp-content/uploads/2013/04/image162_210199.jpg

Enter the Settings as shown below.

/wp-content/uploads/2013/04/image164_210201.jpg

/wp-content/uploads/2013/04/image166_210202.jpg

Click on “Menu” button of simulator or “Menu” button in device if you are using real device.

Click on “Save”

/wp-content/uploads/2013/04/image168_210203.jpg

Click on “Menu” button of simulator or “Menu” button in device if you are using real device.

Click on “Show Log”

/wp-content/uploads/2013/04/image170_210204.jpg

Now you can see you device has bee “Connected to Server”.

/wp-content/uploads/2013/04/image172_210205.jpg

Click on “Refresh” button to reload application connection data.

/wp-content/uploads/2013/04/image174_210206.jpg

Now we can see our virtual device got connected to Sybase Control Center.

/wp-content/uploads/2013/04/image176_210207.jpg

Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 4

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply