12-14-2012 07:40 AM
if (bbmsp_is_access_allowed()) {
// Insert your code here to retrieve the user's profile or
// add profile box items.
rc = bbmsp_get_user_profile(user_profile);
bbmsp_profile_get_display_name(user_profile,
display_name, 99);
fprintf(stderr, "**** display name: %s\n", display_name);
rc = bbmsp_send_download_invitation();
fprintf(stderr, "download rc = %d\n", rc);
}In the above code, the display_name was obtained successfully. However, the call to bbmsp_send_download_invitation returns a success return code but does nothing (no window popping up for user to choose contacts). All help appreciated.
Using the Gold SDK and the latest OS on the dev alpha.
12-14-2012 09:30 AM
You don't need this part:
rc = bbmsp_get_user_profile(user_profile); bbmsp_profile_get_display_name(user_profile, display_name, 99); fprintf(stderr, "**** display name: %s\n", display_name);
for 'request to download' to function properly (at least I don't have it). Though can't advise why you are not seeing pop up. Do you see all BBM permissions for your app OK?
12-14-2012 09:36 AM
BGmot wrote:You don't need this part:
rc = bbmsp_get_user_profile(user_profile); bbmsp_profile_get_display_name(user_profile, display_name, 99); fprintf(stderr, "**** display name: %s\n", display_name);for 'request to download' to function properly (at least I don't have it). Though can't advise why you are not seeing pop up. Do you see all BBM permissions for your app OK?
Indeed, that part isn't needed. But I threw it in to make absolutely sure that BBM is working (to some degree). All the BBM permissions for the app have been set. So I don't understand why the pop-up is not showing up. Faulty Dev Alpha? (BTW, it refuses to boot since this morning. Even on a full charge, it shows this battery icon with an exclamation mark. This is the worst thing that could happen right before a port-a-thon.
)
12-14-2012 11:22 AM
I've been able to reproduce the invite to download issue and logged it in Issue Tracker here: bbmsp_send_download_invitation does nothing
Regarding the battery icon issue, have you tried to hold down the power button for 30 seconds (keep holding even after you see the red light)? Do you have a BlackBerry Dev Alpha A or B?
12-14-2012 11:25 AM
12-14-2012 11:30 AM
Thanks for confirming the issue. I have pressed the button for 30 seconds and I'll see what happens next.
I have a Dev Alpha A.
MSohm wrote:I've been able to reproduce the invite to download issue and logged it in Issue Tracker here: bbmsp_send_download_invitation does nothing
Regarding the battery icon issue, have you tried to hold down the power button for 30 seconds (keep holding even after you see the red light)? Do you have a BlackBerry Dev Alpha A or B?