Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
TobyKaos
Posts: 68
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

purchase dialog box does not open

Hello,

I have a blocking bug, when I call paymentservice_purchase_request the application freeze and no answer, no dialog box appears.

Maybe due to a bad window group id?

I create a function that return me a group id like this:

char* get_window_group_id()
{
static char s_window_group_id[sizeof("ChaosEngineWindowsGroup"

) + sizeof(double)] = "";
if (!s_window_group_id[0]) {
STD_Sprintf(s_window_group_id, "ChaosEngineWindowsGroup%d", getpid());
}
return s_window_group_id;
}

But I think something is wrong. Maybe a group id is already attach by default when I create my opengl window?
Please use plain text.
Developer
TobyKaos
Posts: 68
Registered: ‎12-12-2012
My Device: playbook
My Carrier: free

Re: purchase dialog box does not open

Sorry I have found how to solve it.

I forgot to add a window group in initialization.
Please use plain text.