Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member184247
Participant

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

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


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

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.

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

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

Click on Edit.

Select the key.

Click on OK.

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

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

Click on Save All.

Now we will open "Sybase Control Center"

Enter the credentials.

Click on Log In.

After successful log on, we can see following screen.

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.

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.

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

Now we will register the Android device.

Open "Android AVD Manager".

Select existing Virtual Device.

Click on Start.

Click on Launch.

After some time we can see the following screen.

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.

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.

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

Select "Settings".

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.

Enter the Settings as shown below.

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

Click on "Save"

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

Click on "Show Log"

Now you can see you device has bee "Connected to Server".

Click on "Refresh" button to reload application connection data.

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

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

Labels in this area