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

Trusted Contributor
Posts: 118
Registered: ‎03-06-2013
My Device: Blackberry Z10
My Carrier: Airtel

adding blackberry.app.keyboardOpening event to application


i have aan application developed in html5 and jquery, i would like to where i have add this  blackberry.app.keyboardOpening  event  in my application which uses cordova.2.3.0.js

- If a post contains the solution to the problem, please click "Accept as Solution"
- If a post contains helpful content, please give it a "Thumbs Up"

Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: adding blackberry.app.keyboardOpening event to application

Hi there, you'll need to leverage blackberry.event.addEventListener to listen for that specific event:



Generally a safe place to do this is after webworksready has fired; however if you only want it at a certain time within your application, you'll need to call the addEventListener and removeEventListener functions based on your needs.

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.