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
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: QT and Payment API question

[ Edited ]

I dont really know is it receiving events, because my Playbook freeze, and i need to restart it. I will try this with setting z order to -10 before destroying it.

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: QT and Payment API question

Tried with setting z order to -10 before destroy it and its not helping, same behaviour.

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha

Re: QT and Payment API question

Are you able to identify which method call causes the crash?

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: QT and Payment API question

Nope, Pb just freeze when that method which call payments is finished, it just stops responding to any user action. I think app is still running, but dont respond to any event anymore. 

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha

Re: QT and Payment API question

When this happens, are you able to switch between applications by using the system's upward swipe gesture?

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: QT and Payment API question

No, nothing, only solution is to restart PB

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha

Re: QT and Payment API question

A good approach would be to shrink your implementation until you figure out what causes the crash - can you try this? Knowing the source of the crash will help us tremendously;

Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: QT and Payment API question

[ Edited ]

Well, problem is that line where i set z order of that native window. If i dont set it, app wont freeze, but native window will not be visible at all and payments will not be possible.  For now, i will make some workaround for it, will notice user that after payment app will close, and that behaviour should be present until Cascades are out (then i will implement this with foreign window).

Martin, thx on your suggestions, i cant spend anymore time on this, i will do as i said above, and make new version when Cascades are out.

Please use plain text.
BlackBerry Development Advisor (Retired)
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha

Re: QT and Payment API question

Good luck, I will post if I find anything for this.

 

Martin

Please use plain text.