Giter Site home page Giter Site logo

dafyddcrosby / cascades-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blackberry/cascades-samples

0.0 3.0 0.0 181.39 MB

Official Samples for the BlackBerry 10 Cascades Platform

Home Page: https://developer.blackberry.com/native/

Makefile 0.98% QML 33.91% C 1.69% C++ 54.63% CSS 0.03% HTML 0.44% JavaScript 0.31% QMake 8.02%

cascades-samples's Introduction

The sample applications for Cascades for BlackBerry 10 beta

Way more information over at http://developer.blackberry.com/native/sampleapps

Bucket List: One hundred things to do before you kick the bucket. A relatively basic list based application which illustrates the usage of the multi select handler. Moreover the application loads and saves data from a JSON file. Use the multiSelectHandler in order to select several list entries at once. Add ActionSets and contextActions to a ListView. Load and save data from a JSON file.

Cascades Cookbook: The Cascades Cookbook shows you various controls and demonstrates their look and feel. This sample features two downloads: one written with QML and one with C++. Each individual "recipe" is designed for reuse should you want to use these in your own app. ActivityIndicator, Adding images, Animations, Buttons, CheckBox, Colors, DateTimePicker, DropDown, Labels, ListView, Layouts, Navigation, Ninesliced Images, ProgressIndicator, StockCurves, RadioGroup & RadioGroupOption, Slider, Text input

Cowbell: A cow, a bell and Cascades are the only things you need to build a simple instrument app. In this sample, a rotation animation is used to animate a bell hanging around the neck of a cow. Handle rotation animations, Trigger C++ functions from QML, Use an AbsoluteLayout, Play a basic sound with OpenAL

Hello Cascades: This is a very basic Hello World application for Cascades. Add an image to the UI, Add text to the UI, Use layouts in QML

HelloForeignWindow: This is a an application that shows how to put a hole in a UI from Cascades to show your own content there.

Kakel: This is a puzzle game testing your logic skills. The game has some decorative and interaction elements set up in QML while the actual game board and logic is handled in C++.
Load part of the UI in QML and part of it in C++, Dynamically change the part loaded in C++.

Lightning Crossfade: Use a slider to crossfade between two images. Add images to a UI, Use layouts with several UI elements, Add a slider and listen to slider events, Do all of the above in C++ & QML.

PhotoBomber: The PhotoBomber is a camera application that lets you take photos and then have them "bombed" by someone that jumps in automatically. Use the cascades multimedia library with Camera, Take a picture, Manipulate the image to be grayscale, Add a image over another image.

PoemMaker: The Poem Maker is a simple application with three lines of text (labels) and a button. Clicking the button will generate a random "refrigerator" poem. Add and position basic UI components (Label/Image), Attach an event listener that reacts to user interaction, Play animations, Use JavaScript functions in QML

PullMyBeard: this sample application illustrates how to set up a very basic touch interaction. This is illustrated by moving an image in response to a touch event and animating it back to position when the touch ends. Move an image by touch (simple drag and drop), Trigger animations

Quotes: Quotes is an application that shows you how to deal with dynamic data in a list. It displays a list with some of our favorite sayings from clever people when it comes to programming and technology. The list of quotes is stored in an SQL database but you will also be able to add your own quotes and delete the ones you don't agree with (or edit them to better fit your purpose). Set up a ListView with predefined item visuals, Load data with the SqlDataAccess, Sorting with the help of a GroupDataModel, Adding, updating and deleting items from a list.

Speed Writer: This is a challenging game for testing your typing skills on the virtual keyboard. Consequently, one of the things you learn with this sample is how to handle text input. The speed is measured using a gauge which is implemented as a Custom Control. Create a Custom Control in C++ and add it to a QML document, Monitor changes in a TextField and update a TextArea.

StampCollector: A philatelist collection of stamps is used to illustrate how to create a simple list and trigger changes in the UI on selection. List control signals are used to listen for item clicked events. Set up a ListView with customized item controls, Populate a List Control to a JSON and XML data model, Perform list selection event handling, Handle list item focus/unfocus events

Starship settings: This sample shows a simple control panel for your average starship. You will learn how to use the QSettings api for persistent storage of the different settings.

Weather Guesser: 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 goes about setting up an application using tabbed and navigation panes. It also shows how to load data using both SQL and nonlocal JSON feeds. How to use the NavigationPane and TabbedPane, How to populate a list using a GroupDataModel and JSON data, How to populate a list using a GroupDataModel and SQL, both asynchronously and synchronously.

![Hi](https://github.com/blackberry/Cascades-Samples/wiki/images/small_screenshots/hellocascades.png)   ![Hi](https://github.com/blackberry/Cascades-Samples/wiki/images/small_screenshots/cascadescookbook.png)  ![Hi](https://github.com/blackberry/Cascades-Samples/wiki/images/small_screenshots/kakel.png)  ![Hi](https://github.com/blackberry/Cascades-Samples/wiki/images/small_screenshots/lightningcrossfade.png)   ![Hi](https://github.com/blackberry/Cascades-Samples/wiki/images/small_screenshots/pullmybeard.png)

Hi   Hi   Hi   Hi   Hi

Hi  Hi   Hi  

cascades-samples's People

Contributors

allanclara avatar bojankogoj avatar bstanzli avatar codehoarder avatar ctetreault avatar dkonigsberg avatar dsosby avatar ekke avatar foxt7ot avatar igordezky-blackberyy avatar jlarsby avatar jlusticky avatar johodgson avatar jsoref avatar lewellyn avatar listedegarde avatar luqmana avatar oapelvi avatar paulbernhardt avatar pelegri avatar phofman avatar pkjellberg avatar pluginator avatar roblillack avatar rwallace2 avatar shaque avatar slegge avatar smacmartin avatar timwindsor avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.