Code Monkey home page Code Monkey logo

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cascades-samples's Issues

Can't run in my momentic

When I download samples and import to my Momentics IDE , it can't pass compile and run . The error message like "Unresolved inclusion: <QtCore/QObject>" or "Unresolved inclusion: ".But My own project is fine . By the way , i have read the documentation's "Library support" chapter , it says
"Qt Core , QtGui module libraray is built in to the blackberry 10 Native SDK", In my point of view, it means i can use them without addition configuration .So I have no idea about this error message , wish someone give me a hand , thanks very much .

Development enviroment lists
OSX 10.10.3
Momentics 2.1.2
API level 10.10.3

bluetoothsppchat doesn't load localizations

in applicationui.cpp, line 65 is:
QString file_name = QString("Template_%1").arg(locale_string);

It should be:
QString file_name = QString("bluetoothsppchat_%1").arg(locale_string);

cookbook errors

I received the following errors when I imported the Cookbook sample:

Description Resource Path Location Type
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 221:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 225:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 213:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 217:27 QML Problem
Unknown symbol 'recipeListPage' CustomDialog.qml /cascadescookbookqml/assets line 64:9 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 205:27 QML Problem
Unknown symbol 'recipeListPage' CustomDialog.qml /cascadescookbookqml/assets line 63:9 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 209:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 183:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 187:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 175:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 179:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 167:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 171:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 145:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 163:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 137:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 141:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 133:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 129:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 125:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 121:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 117:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 113:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 109:27 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 105:27 QML Problem
Unknown symbol 'customdialog' CustomDialogAlarm.qml /cascadescookbookqml/assets line 85:29 QML Problem
Unknown member 'append' Stockcurve.qml /cascadescookbookqml/assets line 229:27 QML Problem
Unknown member 'visible' InvocationRecipeShoppingList.qml /cascadescookbookqml/assets line 70:24 QML Problem
Unknown member 'visible' InvocationRecipeShoppingList.qml /cascadescookbookqml/assets line 67:20 QML Problem

The Blackberry API level is set to 10.3

Barcode Reader decodes Content incorrect

Hello,

i use the Barcode Reader Source from Github (Github link). The App works fine but i´ve one Barcode when i want it to scan, the App decodes the content incorrect.

Is this an API 10.3.1 bug? Because the Android App QR Droid decode the Data Matrix Code fine.

Here is the Barcode:
https://www.dropbox.com/s/bcc02orzwyybpv3/BC.jpg?dl=0
The correct decoded content is:
1P6SL3120-1TE15-0AA4+ST-F56076108

From the Blackberry Barcode Reader decoded content:
https://www.dropbox.com/s/ypan9bhir1f1uus/BB_BC_Content.JPG?dl=0

Additional Information:
The Data Matrix Code is encoded from a CAB Printer.
Programming Manual:
https://www.cab.de/media/pushfile.cfm?file=153

Page 134:
The encoding and decoding process of Data Matrix is very complex and several
methods have been used for error correction in the past. ECC200 is the newest
and most standard version of data matrix error correction. It supports advanced
encoding and error checking with Reed Solomon error correction algorithms.
These algorithms allow the recognition of barcodes that are up to 60% damaged.

How can i fix the issue or who can fix the issue? Is the an API 10.3.1 bug?

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.