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
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Cascades app with different UI for phone and external screen

I am having trouble finding any examples or documentation to allow showing a different UI on an external screen.

 

Gary Klassen showed off something like this at BlackBerry Live in Orlando (http://www.youtube.com/watch?feature=player_detailpage&v=7qavZEnoE4c#t=514) but I have been unable to find documention for this anywhere...


Read my thoughts on BlackBerry Development at news.ebscer.com
Retired
Posts: 16
Registered: ‎04-04-2013
My Device: Z10
My Carrier: Vivo

Re: Cascades app with different UI for phone and external screen

Hi, for this kind of action, for now, it is possible only if you are using OpenGL, and pick up the external screen as the target on OpenGL ES initializing process. I am looking for the documentation right now. As soon as a get I will let you know about it.
Retired
Posts: 16
Registered: ‎04-04-2013
My Device: Z10
My Carrier: Vivo

Re: Cascades app with different UI for phone and external screen

You can use the external or secondary display only through OpenGL ES.

 

Take a look ate the following links:

 https://developer.blackberry.com/native/documentation/core/com.qnx.doc.screen/topic/manual/cscreen_w...

 

https://developer.blackberry.com/native/documentation/cascades/graphics_multimedia/embedded_graphics...

 

This is a good example where you can get some ideas. Pay attention to the OpenGLView class.

https://github.com/blackberry/Cascades-Community-Samples/tree/master/GoodCitizenCascades

 

I hope, I've helped. 

Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Cascades app with different UI for phone and external screen

Thanks.

 

I was hopeing for a more Cascades friendly solution, but I will take at look at this, and see how far I can get...


Read my thoughts on BlackBerry Development at news.ebscer.com
Retired
Posts: 16
Registered: ‎04-04-2013
My Device: Z10
My Carrier: Vivo

Re: Cascades app with different UI for phone and external screen

If you need help, let me know. The GoodCitizenCascades sample is a very good start point for this.

Best regards,
Rodrigo Peixoto
Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: Cascades app with different UI for phone and external screen

Made some pretty decent progress on this. Would like to point out that I also found the example at  https://github.com/blackberry/Presentations/tree/master/2013-BlackBerryJam-Americas/JAM54/Stereoscop... to be helpful.


Read my thoughts on BlackBerry Development at news.ebscer.com
Retired
Posts: 16
Registered: ‎04-04-2013
My Device: Z10
My Carrier: Vivo

Re: Cascades app with different UI for phone and external screen

Very good! This is exactly what I was looking for to show you.
I was there during the session. Roberto is the creator.

Best regards,
Rodrigo Peixoto.