This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InvokeActionItem { | |
title: qsTr("Email") | |
query { | |
invokeTargetId: "sys.pim.uib.email.hybridcomposer" | |
invokeActionId: "bb.action.SENDEMAIL" | |
uri: "mailto:[email protected]?subject=Hey!&body=w00tw00t" | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10. Small businesses make up more than 99.7% of all employers. | |
9. Small businesses create more than 50 percent of the nonfarm private gross domestic product (GDP). | |
8. Small patenting firms produce 13 to 14 times more patents per employee than large patenting firms. | |
7. The 22.9 million small businesses in the United States are located in virtually every neighborhood. | |
6. Small businesses employ about 50 percent of all private sector workers. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// php | |
if(preg_match('/BB10|/i', $_SERVER['HTTP_USER_AGENT'])) { | |
echo 'You\'re on BlackBerry 10!'; | |
} | |
// js | |
if(navigator.userAgent.match(/BB10/i)){ | |
alert('BlackBerry 10!!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
how do i obtain the number of elements from dataModel? | |
It depends on dataModel type which you are using, consult the docs of corresponding classes. | |
For ArrayDataModel and GroupDataModel: | |
var n = dataModel.size() // or dataModel.childCount(0) - number of children in first section | |
indexPath is an array where the first number is section and the second one is row in section. | |
Something like this should work: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SAVING | |
TO SAVE | |
1. You need to add an objectName to the field you want to save | |
i.e. a TextField would look something like this | |
TextField{ | |
id: targetWeightNumber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SAVING | |
TO SAVE | |
1. You need to add an objectName to the field you want to save | |
i.e. a TextField would look something like this | |
TextField{ | |
id: targetWeightNumber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SAVING | |
TO SAVE | |
1. You need to add an objectName to the field you want to save | |
i.e. a TextField would look something like this | |
TextField{ | |
id: targetWeightNumber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://youtu.be/3MFn7ptHQG0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://jsfiddle.net/2a5S7/7/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.zvjer.com/blog/?p=501 |