Skip to content

Latest commit

 

History

History
 
 

weatherguesser

Weather Guesser - Navigation

========================================================================
Sample Description.

Weather guessing has been a human activity that has gone on for
thousands of years. Nowadays there are even television programs
devoted to this phenomenon. The main objective of this app, apart
from producing more or less accurate weather forecasts, is to
show how one go about setting up an application using tabbed and
navigation panes. It also shows how to load data using both SQL
and nonlocal JSON feeds.

You will learn:
 - How to use the NavigationPane and TabbedPane.
 - How to populate a list using a QListDataModel and JSON data
 - How to populate a list using a GroupDataModel and SQL, both asynchronously and synchronously.
 - How to add more data to a list as the last item is loaded and scrolled onto screen.

========================================================================
Requirements:

BlackBerry 10 Native SDK

========================================================================
Running the example:

1. From the Sample apps page, download and extract one of the sample applications.
2. Launch BlackBerry 10 Native SDK, and from the File menu, select Import.
3. Expand General, and select Existing Projects into Workspace. Click Next.
4. Browse to the location where you extracted the sample file, and then click OK.
5. The sample project should display in the Projects section. 
   Click Finish to import the project into your workspace.
6. In the Project Explorer pane, Right-click the project (for example hellocascades) 
   and select Build Project.
7. In the Project Explorer pane, Right-click the project (for example hellocascades) 
   and select Run As > BlackBerry C/C++ Application.
8. The application will now install and launch on your device. If it doesent you might
   have to set up your environment: 
   http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html