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
New Developer
Posts: 17
Registered: ‎12-03-2008
My Device: Not Specified
Accepted Solution

BB10 - Change screen on swiping left and right

I am very new to BlackBerry 10 HTML 5 development. I am trying to create a sample app which has multiple screens. I woud be loading one screen at the starup. Is it possible to go to next screen on swiping left? Also go to previous screen by swiping right? I do not see any samples in the BBUI.JS for this. Any help is appreciated.

 

Regards,

Satish.

 

Developer
Posts: 270
Registered: ‎12-13-2010
My Device: PlayBook 16GB, BB10 Dev Alpha

Re: BB10 - Change screen on swiping left and right

Hi Satish,

 

as far as I know there's nothing built in yet. But a couple of JavaScript libraries are just waiting for you to be implemented.

 

11 Multi-touch and Touch events Javascript libraries

 

It'll depend you and your favorite JS libs (e.g. JQuery, Moo, ...)

- - -
My approved apps @ App World
New Developer
Posts: 17
Registered: ‎12-03-2008
My Device: Not Specified

Re: BB10 - Change screen on swiping left and right

Thanks a lot for the link. I will go through them and pick one which is easy for me. Thanks again.

BlackBerry Development Advisor
Posts: 624
Registered: ‎10-01-2009
My Device: Z10

Re: BB10 - Change screen on swiping left and right

Hammer.js is another great library for managing gestures on the screen.  Super easy,  I wrote a Knowledge Base article about it here http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Hammer-js-A-library-for-multi-to...

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
New Developer
Posts: 17
Registered: ‎12-03-2008
My Device: Not Specified

Re: BB10 - Change screen on swiping left and right

Thank you for the link.