11-05-2013 01:51 PM
I’m trying to implement BB hub integration using Unified Data Source library. So far I’ve bumped into two problems.
1. Setting an icon for account and inbox item. I’ve set an asset path in uds_register_client. I think the path is correct because uds_item_action_data_set_image_source works fine and displays correct icon. But uds_account_data_set_icon and uds_inbox_item_data_set_icon don’t have any effect.
2. I cannot figure out how to invoke my target when inbox item is tapped. Context menu items added via uds_register_item_context_action work fine, but I need to get an invocation when the item itself is tapped/triggered.
It would be great to have working sample on GitHub...
Solved! Go to Solution.
11-05-2013 08:47 PM
01-16-2014 05:32 PM
Please apply for Hub integration permissions and you will receive the official sample apps that include a utility class that take care of all of the UDS calls for you, upon being approved.
02-26-2014 08:14 AM
02-26-2014 11:19 AM
The docs team is currently working on an online tutorial based on the Hub Integration sample I wrote and currently provided to developers that are approved. I believe the intiial sample app I provided to them missed the window for the last docs refresh. It should be available when they post their next major refresh. The sample app itself will be submitted for GitHub as soon as I update it with some additional code in response to some issues encountered by some developers who were initially approved and using my earlier sample code.
The problem with developing the app before applying for permissions is that you cannot really deploy the app without the correct signing permissions.