This file contains hidden or 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
| INSTRUCTIONS | |
| Edit > Select All | |
| TextFX > TextFX Tools > Insert Line Numbers | |
| If TextFX > TextFX Tools > +Sort ascending is checked, uncheck it | |
| TextFX > TextFX Tools > Sort lines case sensitive (at column) | |
| TextFX > TextFX Tools > Delete Line Numbers or First Word |
This file contains hidden or 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
| import bb.cascades 1.0 | |
| TabbedPane { | |
| activePane: Page { | |
| content: Container { | |
| layout: DockLayout {} | |
| } | |
| } // Ends the root Container |
This file contains hidden or 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
| <div class="counter">Unknown</div> |
This file contains hidden or 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
| ForeignWindowControl{ | |
| id: videoSurface | |
| windowId: "myVideoSurface" | |
| updatedProperties: WindowProperty.Size | WindowProperty.Position | WindowProperty.Visible | |
| visible: boundToWindow | |
| preferredWidth: 640 | |
| preferredHeight: 480 | |
| } |
This file contains hidden or 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
| // Invocation Framework decides which app to use to open file based on type of file | |
| void App::invokeUnbound(){ | |
| InvokeRequest cardRequest; | |
| cardRequest.setUri("file:///accounts/1000/shares/videos/video.mp4"); | |
| InvokeManager invokeManager; | |
| invokemanager.invoke(cardRequest); | |
| } |
This file contains hidden or 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
| // You are telling the Invocation Framework to use Media Previewer to open the file | |
| void App::invokeBound(){ | |
| InvokeRequest cardRequest; | |
| cardRequest.setTarget("sys.mediaplayer.previewer"); | |
| cardRequest.setUri("file:///accounts/1000/shares/videos/video.mp4"); | |
| InvokeManager invokeManager; | |
| invokemanager.invoke(cardRequest); | |
| } |
This file contains hidden or 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
| InvokaManager *iManager = new InvokeManager(this); | |
| InvokeRequest iRequest; | |
| iRequest.setTarget("com.example.MYTARGET"); | |
| iRequest.setAction("bb.action.OPEN"); | |
| iRequest.setMimeType("application/pdf"); | |
| iRequest.setUri("file:///.../..../sample.pdf"); | |
| InvokeTargetReply *iReply = iManager->invoke(iRequest); | |
| // connect signals and slots |
This file contains hidden or 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
| <form name="f1"> | |
| <table cellpadding="5" cellspacing="0" border="0" bgcolor="#ffedcf"> | |
| <tr> | |
| <td colspan="4" align="center">Enter two known values and press <b>Solve</b> to | |
| calculate unknowns.</td> | |
| </tr><tr> | |
| <td align="center" width="90"><input type="Text" name="volts" size=5><br>Volts<br> | |
| (Volts)</td> | |
| <td align="center" width="90"><input type="Text" name="ohms" size=5 ><br> |
This file contains hidden or 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
| actions: [ | |
| ActionItem { | |
| ... | |
| }, | |
| ActionItem { | |
| ... | |
| } | |
| ] |