Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.settings
_screenshots
assets
src
translations
.cproject
.project
Belt.vcxproj
Belt.vcxproj.filters
LICENSE
Makefile
README.md
bar-descriptor.xml
belt.pro
config.pri
icon.png
precompiled.h

README.md

Belt Sample

The Belt example demonstrates how to intercept the belt keys found on a devices with belt function keys, and listen to their presses appropriately.

You will learn how to:

  • Create components dynamically
  • Change Button visuals (text, color)
  • Listen in on belt key events and belt trackpad events

Applies To

Author(s)

  • BlackBerry

Built For BlackBerry

Icons

Contributing

Requirements

  • This sample is only intended for BB10 devices with a trackpad

Screenshots

image image

How To Build

  1. Clone the repo to your computer.
  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. Click Finish to import the project into your workspace.
  6. In the Project Explorer pane, Right-click the project (for example hellocascades) and select Build Project.
  7. In the Project Explorer pane, Right-click the project (for example hellocascades) and select Run As > BlackBerry C/C++ Application.
  8. The application will now install and launch on your device. If not, you might have to set up your environment.

More Info

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can’t perform that action at this time.