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
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Will WebWorks apps "Flow"?

Hi everyone!

Spent this morning looking at the invoke samples for BB10, and was wondering if webworks will actually support the same kind of "flow" that we can get with native.

 

For now, invoking an app will open it as a separate one. There are a few lines regarding implementing "cards" in our apps, but not enough to make me understand :/

Will we get support to make a real card, which can be invoked from another app, and that supports "peek" back to its parent?

 

If this is impossible to achieve in WebWorks, then the "flow" experience is actually just limited to Cascades :smileysad:

thanks

Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: Will WebWorks apps "Flow"?

[ Edited ]

I also would like to know. :smileyhappy: We can implement "flow" or layers of cards within our apps, but it would be great if all apps could be layered, regardless of the SDK used.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
BlackBerry Development Advisor
Nukul
Posts: 115
Registered: ‎06-06-2011
My Device: 9800

Re: Will WebWorks apps "Flow"?

I recently demoed creating a picture viewer card in webwork that can be invoked by other
Apps. I will submit my samples in a couple of days when I am back in Toronto and ping back on this thread.

I also show how to invoke other cascades cards from webworks


Invocation is runtime agnostic and webworks achieves the same flow that cascades apps do.

@nukulb
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: Will WebWorks apps "Flow"?

You can use cards with your Web Works apps currently for things like the camera/filepicker, which open the card directly in your app - and they work amazingly!

 

There are some examples in the docs over here: https://developer.blackberry.com/html5/apis/blackberry.invoke.card.html

 

Note that it's currently in 'beta', and being worked on still, but we've all been pretty impressed with how great it's working.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Will WebWorks apps "Flow"?

Hi Nukul,

Yes, I know we can invoke cascades cards, I also tried that and works great. My question was more in the opposite scenario, making a webworks card available to other apps.
But I'll wait for your example :smileyhappy:

thanks
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
BlackBerry Development Advisor
Nukul
Posts: 115
Registered: ‎06-06-2011
My Device: 9800

Re: Will WebWorks apps "Flow"?

Yes my example will cover both sides.

You can create webworks apps and expose them a cards jst like native.
@nukulb
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Will WebWorks apps "Flow"?

Yes I know, I did that with the Invoker & Invokable examples.
But the difference is that the Invokable opens as a separate application, not as a card inside the Invoker.
That's what I was trying to say, sorry if it was not clear.
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.
BlackBerry Development Advisor
Nukul
Posts: 115
Registered: ‎06-06-2011
My Device: 9800

Re: Will WebWorks apps "Flow"?

 
@nukulb
Please use plain text.
BlackBerry Development Advisor
Nukul
Posts: 115
Registered: ‎06-06-2011
My Device: 9800

Re: Will WebWorks apps "Flow"?

Dont worry my example will show how to convert the invoker to a card
@nukulb
Please use plain text.
Developer
nunodonato
Posts: 313
Registered: ‎03-28-2012
My Device: Curve 9360, Playbook, BB10 Dev Alpha

Re: Will WebWorks apps "Flow"?

Fantastic, that's what I'm looking for! thx
Nuno
theBBthing.wordpress.com - my BlackBerry development blog: news, tips and tutorials
bitoutsidethebox.com - re-imagining digital solutions


Please use plain text.