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 1
Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 3
Click here to Building Offline(Display Only) Hybrid Web Container Mobile Applications With Sybase Unwired Platform – Part 4
After Deploying Project, now we will create “Hybrid App Designer” to design the user interface.
Right Click on Project. Click on New -> Hybrid App Designer.
Give Proper Name.
Click on Next.
Select “Can be started, on demand, from the client” option.
Click on “Finish”.
After “Hybrid App Designer” wizard, we can see following screen.
Click on “Flow Design” Tab
As we can see the application is “Client-initiated”.
We can assign Client Icon for the application by using “Clint Icon” option as shown in bottom of the image. By mistake I have not selected icon while crating application. So I will use default icon throughout the blog.
Select MBO “FlightList” from Workspace Navigator and drop it in Hybrid App Designer.
Click on “Arrange All” button.
Select “Start” Screen and select “Screen Design” tab.
Now we can see Screen, Menu, Custom Actions and Palette.
In start screen we will have to select airline. So we will use Choice option to select the airline.
Select Choice from Palette and drop it in Start Screen.
Enter label text to be displayed on screen.
Select the label position.
Click on New Key button.
Specify Name and Type of key.
Now we will provide options for choice bar.
Click on “Add” button.
Specify Display Name and Value.
For this example we will take 2 airline options.
1. Delta Airline
2. Japan Airline
After selecting airline we will provide one menu option to get the list of flights. So we will take MenuItem.
Select MenuItem from Palette and drop it in Menu Block.
Enter text to be displayed on selecting Menu button.
Go-to properties and select Type as “Online Request”.
To select “Mobile Business Object”, click on Search button.
Click on “Search”
Click on OK.
Select “Invoke Object Query” choice and select Object query.
Please Check “Store data in on-device cache” to display contents in offline and select suitable cache option suitable for you.
Click here to
Nice blog series .
It would be better if you can make the blogs independent to each other by completing one feature in one blog itself.
The offline feature you shown is a newly added feature in SUP2.2. You explained well in the blog. Keep it up