It seems like the browser you are using has JavaScript disabled. As a result, the site will not function properly. We really want you to enable it so you may experience our site as we intended it. If you have no idea what we are talking about or if you need help, visit http://www.enable-javascript.com×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Oops, it seems like you're using an old browser that we do not fully support. If you're able to, please upgrade your browser here.×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Synopsis:

Since:

Arguments:

The handle that's associated with your app's registration with the BlackBerry Hub.

pServiceURL

A uniquely identified service URL to be registered with the BlackBerry Hub.

pLibPath

The library path of any module that must be loaded by the BlackBerry Hub.

pAssetPath

The relative path of any assets that your data uses, such as images or icons.

Library:

libunifieddatasourcec (For the qcc command, use the -l unifieddatasourcec option to link against this library)

Description:

This function identifies your app to the BlackBerry Hub and registers it as a client entity, which means that your app is allowed to add and manipulate BlackBerry Hub data. When your app registers using this function, you need to provide a service URL to identify your app, a library path that specifies any modules that must be loaded by the BlackBerry Hub, and a relative path to any assets that your data uses, such as images or icons.

Returns:

UDS_SUCCESS if the registration was successful, or a non-zero error code on failure. See uds_error_code_t or errno.h for details.

Last modified: 2015-01-22

Got questions about leaving a comment? Get answers from our Disqus FAQ.

1. Download the tools

Before you start developing, you'll need to visit the Downloads tab. Here you'll find downloads for the BlackBerry 10 Native SDK, BlackBerry 10 Device Simulator, and some other useful tools.

2. Try the sample apps

Now featuring a filter control, the Sample apps tab allows you to search for samples by name or by feature.

Select either the Core or Cascades radio buttons to display the samples relevant to you.

3. Educate yourself

The Documentation tab contains tons of examples, tutorials, and best practices to guide you along the path towards building an awesome app.

You can access all the documentation that you need in the left-hand navigation.

4. Start developing

The Reference tab is where you'll find essential details about how to use our APIs.

You can use the left-hand navigation to choose how you would like to browse the reference: by module, by topic, or alphabetically. If you have an idea of what you are looking for, start typing it in the Filter box.