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

Web and WebWorks Development

Reply
Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10

Re-thinking the blackberry.ui APIs

Hey All,

 

I was hoping to reach out to the community for some feedback on the blackberry.ui namepsace APIs. This would include the Context Menu, Toasts, Dialog and "Share Target List" which is actually under blackberry.card.invokeTargetPicker.

 

My ask is as follows:

 

1. If you have used them, what features did you like or dislike. What improvements could you suggest to the API?

2. If you haven't used them, are there any things that are constraining you from doing so?

 

Try to keep things short and useful. Here would be an example of what I mean:

 

<start example>

 

Dear Erik,

 

The toasts suck and here is why:

1. No callback for simple toast dissmiss when clicked.

2. Toast callback is overwritten by next call.

3. I haven't used them because I can't position them anywhere on screen.

 

<end example post>

 

-Erik

@erikjohnzon
erjohnson@blackberry.com
Developer
Posts: 134
Registered: ‎05-19-2012
My Device: Torch 9800, PlayBook 64GB, Dev Alpha

Re: Re-thinking the blackberry.ui APIs

What sucks in my opinion is how the blackberry.ui.dialog functions are so fragmented between BBOS, PlayBook, and BB10, they return completely different things on each platform, which took me a while to debug the first time I used them, I had to write a helper function to keep my code portable.
If I helped you please click the "Like" button to support my work.
My apps: CherryNotes - Bookmarked - Requests
Social Me: about.me - Twitter
Retired
Posts: 245
Registered: ‎09-21-2012
My Device: Q10

Re: Re-thinking the blackberry.ui APIs

Awesome. That's a great point. So there is no consistency with that API from previous versions. 

 

Thanks for the feedback.

@erikjohnzon
erjohnson@blackberry.com