Permalink
Browse files

Gold Samples

  • Loading branch information...
1 parent 764b79f commit 21d7326d9ca7c7df193b58528e7d102cc12e8484 @jlarsby jlarsby committed Dec 10, 2012
Showing with 1,890 additions and 89 deletions.
  1. +1 −1 bucketlist/assets/models/bucket.json
  2. +0 −17 bucketlist/assets/models/tasks.xml
  3. +2 −2 bucketlist/readme.txt
  4. +2 −2 cascadescookbookcpp/readme.txt
  5. +14 −0 cascadescookbookqml/assets/CustomDialog.qml
  6. +2 −2 cascadescookbookqml/readme.txt
  7. +2 −2 hellocascades/readme.txt
  8. +2 −2 helloforeignwindow/readme.txt
  9. +2 −2 kakel/readme.txt
  10. +2 −2 lightningcrossfadecpp/readme.txt
  11. +2 −2 lightningcrossfadeqml/readme.txt
  12. +2 −2 photobomber/readme.txt
  13. +14 −15 photobomber/src/photobomberapp.cpp
  14. +2 −2 poemmaker/readme.txt
  15. +2 −2 pullmybeard/readme.txt
  16. +2 −2 quotes/readme.txt
  17. +5 −24 speedwriter/assets/speedwriter.qml
  18. +2 −2 speedwriter/readme.txt
  19. +2 −2 stampcollector/readme.txt
  20. +2 −2 starshipsettings/readme.txt
  21. +190 −0 tldr/.cproject
  22. +91 −0 tldr/.project
  23. +177 −0 tldr/LICENSE
  24. +6 −0 tldr/Makefile
  25. +5 −0 tldr/Notice
  26. +144 −0 tldr/assets/FeedPage.qml
  27. +83 −0 tldr/assets/ImageItem.qml
  28. +74 −0 tldr/assets/RSSDataSource.qml
  29. +47 −0 tldr/assets/TextItem.qml
  30. BIN tldr/assets/images/ca_rss_unread.png
  31. BIN tldr/assets/images/custom_title.png
  32. +66 −0 tldr/assets/main.qml
  33. +4 −0 tldr/assets/models/feeds.xml
  34. +85 −0 tldr/bar-descriptor.xml
  35. +30 −0 tldr/config.pri
  36. +4 −0 tldr/device-assets.xml
  37. BIN tldr/icon.png
  38. +2 −0 tldr/precompiled.h
  39. +33 −0 tldr/readme.txt
  40. BIN tldr/splashscreen.png
  41. +40 −0 tldr/src/main.cpp
  42. +179 −0 tldr/src/netimagemanager.cpp
  43. +138 −0 tldr/src/netimagemanager.h
  44. +105 −0 tldr/src/netimagetracker.cpp
  45. +115 −0 tldr/src/netimagetracker.h
  46. +120 −0 tldr/src/tldrapp.cpp
  47. +54 −0 tldr/src/tldrapp.h
  48. +7 −0 tldr/tldr.pro
  49. +12 −0 tldr/translations/Makefile
  50. +1 −0 tldr/translations/tldr.pro
  51. +12 −0 tldr/translations/tldr.ts
  52. +2 −2 weatherguesser/readme.txt
@@ -31,7 +31,7 @@
{ "status":"todo","title":"Relax."},
{ "status":"todo","title":"Grow a beard."},
{ "status":"todo","title":"Drive a monstertruck."},
-{ "status":"todo","title":"See Malmö."},
+{ "status":"todo","title":"Sink a boat."},
{ "status":"todo","title":"Tape toast to a cat."},
{ "status":"todo","title":"Write to Santa Claus."},
{ "status":"todo","title":"Shoot a movie."},
@@ -1,17 +0,0 @@
-<root>
- <item title="Bukkit, fish,eat" description="get a bukkit, fill it with fish, eat it" />
- <item title="Aquire bukkit" description="get a bukkit" />
- <item title="bukkit fill" description="fill bukkit with fish" />
- <item title="eat fish" description="eat all fish" />
- <item title="Celebrate" description="jummy fish" />
- <item title="Aquire more fish" description="get moar fish for bukkit" />
- <item title="stuff" description="eat fish until burst" />
- <item title="Lolz" description="eat fish again" />
- <item title="Sonata of love" description="I love my bukkit" />
- <item title="More love" description="bukkit bukkit bukkit" />
- <item title="PlaceHolder" description="fish fish fish fish bukkit bukkit" />
- <item title="eat some " description="i loav my bukkit" />
- <item title="Visit to the dark side of the moon."/>
- <item title="Find Gold."/>
- <item title="Watch tv."/>
-</root>
View
@@ -18,13 +18,13 @@ You will learn:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -36,13 +36,13 @@ Controls summary:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -93,4 +93,18 @@ RecipePage {
color: Color.White
}
]
+
+ paneProperties: NavigationPaneProperties {
+ backButton: ActionItem {
+ onTriggered: {
+ // Override the back button in order to stop the dialog if navigation away from the Page occur
+ risingFlame.stop()
+
+ // The NavigationPane id is set in main.qml and this Page share the same context, so it is possible
+ // to pop the Page from here.
+ nav.pop();
+ }
+ }
+ }
+
}// RecipePage
@@ -37,13 +37,13 @@ Controls summary:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
View
@@ -13,13 +13,13 @@ Sample Description.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -12,13 +12,13 @@ own content there.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
View
@@ -15,13 +15,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -14,13 +14,13 @@ Sample Description.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -14,13 +14,13 @@ Sample Description.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
View
@@ -16,13 +16,13 @@ Sample Description.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -1,17 +1,17 @@
/* Copyright (c) 2012 Research In Motion Limited.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
#include "photobomberapp.h"
@@ -121,7 +121,7 @@ void PhotoBomberApp::manipulatePhoto(const QString &fileName)
QString bombfolder = appFolder + "app/native/assets/images/bombers/";
// Positions for the bombers; we need these so we can overlay the bomber image at it's correct position.
- // The reason for not making an image as large as the picture is so we can change resolution and or switch
+ // The reason for not making an image as large as the picture is so we can change resolution and or switch
// between portrait/landscape if we would want to.
enum positions
{
@@ -219,4 +219,3 @@ void PhotoBomberApp::manipulatePhoto(const QString &fileName)
// Show the photo by using this function that take use of the InvokeManager.
showPhotoInCard(fileName);
}
-
View
@@ -15,13 +15,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
View
@@ -15,13 +15,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
View
@@ -19,13 +19,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -123,23 +123,6 @@ Page {
input.flags: TextInputFlag.AutoCapitalizationOff | TextInputFlag.AutoCorrectionOff | TextInputFlag.PredictionOff | TextInputFlag.SpellCheckOff | TextInputFlag.WordSubstitutionOff
horizontalAlignment: HorizontalAlignment.Center
- // Animation to enhance the feedback when one line was successfully typed.
- // The textArea is also cleared to be ready for the next line.
- animations: [
- FadeTransition {
- id: blinkField
- fromOpacity: 0.8
- toOpacity: 1.0
- duration: 100
-
- onStarted: {
- textInput.resetText();
- textInput.hintText="";
- }
- }
- ]
-
-
onTextChanging: {
// Check if the entered text is correct or not by using the wordChecker object.
wordChecker.checkWord(text);
@@ -172,24 +155,22 @@ Page {
WordChecker {
id: wordChecker
speedText: "Mary had a little lamb, its fleece \nwas white as snow. Sea shells, \nsea shells, by the sea shore. The \nflirtatious flamingo relentlessly \nargued with the aerodynamic \nalbatross. Admire the \nmiscellaneous velociraptors \nbasking in the sun. Egotistic \naardvarks enthusiastically \neating lollipops. Precisely, \npronounced the presidential \nparrot presiding over the \npurple pachyderms. "
-
+
onLineChanged: {
// When one line has been entered correctly the textinput is cleared
// to make room for entering the next line.
- blinkField.play()
-
+ textInput.text = "";
+ textInput.hintText = "";
}
onEnded: {
// The game is over, set up a text for displaying the final result in the text label and text area.
speedTextLabel.text = "Your speed was " + speedGauge.averageSpeed + " words/min.\nWell done!";
// Position the resulting text in the middle of the window and clear the other texts.
- speedTextLabel.translationY = 0;
+ speedTextLabel.translationY = 0;
+ textInput.text = "";
textInput.enabled = false;
-
- // Clear the input field.
- blinkField.play()
}
onNbrOfCharactersChanged: {
View
@@ -15,13 +15,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -16,13 +16,13 @@ You will learn how to:
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
@@ -10,13 +10,13 @@ different settings.
========================================================================
Requirements:
-BlackBerry 10 Native SDK Beta 4
+BlackBerry 10 Native SDK Gold
========================================================================
Running the example:
1. From the Sample apps page, download and extract one of the sample applications.
-2. Launch BlackBerry 10 Native SDK Beta, and from the File menu, select Import.
+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.
Oops, something went wrong.

0 comments on commit 21d7326

Please sign in to comment.