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...

Now right-click on Hybrid App Designer

Click on "Generate Hybrid App.." to deploy it on to device.

Click on "Get Users".

Select User in which the application has to be deployed.

Click on Finish.

Now it will "Generate Code" and "Deploy" it on to the device.

Now in our virtual device in Show Log menu we can see "Installed Hybrid App" log.

While using Virtual Device to run the application, the response will slower compared to the real device.

Click on Back button twice.

Click on Menu.

Select Hybrid Apps

Now we can see "Flight" App is installed on the device.

Click on Flight.

While using Virtual Device to run the application, the response will slower compared to the real device.

Click on Menu.

Select Get Flights.

Now we can see list of flights of "Delta Airline".

Click on particular flight, it will navigate to detail display of flight.

Now we will try offline scenario. Since only Delta Airline's data is cached. So we will use Japan Airline later.

So before doing this, we will switch-off the Mobile data or wireless data network.

To switch-off the Mobile data or wireless data network.

Go to Home screen by pressing home button.

Click on Menu.

Click on Settings.

Click on Wireless & networks

Click on Mobile networks in this case because simulator is using Mobile 3G network as we can see in the screen.

Change Data enabled to following state.

Click on Home.

Now test the application in offline mode.

It will work for "Delta Airlines". Because its data has already been cached.

For "Japan Airlines", it will display error message.

Now we will switch-on the Mobile data or wireless data network as shown earlier.

Check for Japan Airline in Online Mode.

Now we will test data in offline mode.

Now both "Delta Airline" and "Japan Airline" data has been cached. Both data can be displayed in offline mode.

Thanks for viewing the blog.

If you feel that I can improve in any of the aspects mentioned in this blog, please feel free for your suggestions.

Thank you.

13 Comments
Labels in this area