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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Super Contributor
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified
Accepted Solution

SwipeDown event is not generated

In my application i want to display application menu on swipe down event. When i add the following code on my application on beta1 device (10.0.4) i am able to get swipeDown() event but when i run the application on beta2 device(10.0.6) swipeDown() event is not generated. After searching on forum and release note i come to know that it is known limitation that swipeDown() event is not generated.

 

URL for realeasenote: https://developer.blackberry.com/cascades/download/releasenotes/ and Issue number: 5347148.

 

Code:

main.cpp

int main(int argc, char **argv)
{
Application app(argc, argv);

QTranslator translator;
QString locale_string = QLocale().name();
QString filename = QString( "SampleNavigation_%1" ).arg( locale_string );
if (translator.load(filename, "app/native/qm")) {
app.installTranslator( &translator );
}

App mainApp;

QObject::connect(&app, SIGNAL(swipeDown()), &mainApp, SLOT(swipeDownMenu()));


return Application::exec();
}

We also tried with navigation event but that also not work.

Is there any workaround to generate swipeDown() event on beta2 device(10.0.6).

 

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: SwipeDown event is not generated

The corresponding Issue Tracker issue is https://www.blackberry.com/jira/browse/BBTEN-182

 

See http://supportforums.blackberry.com/t5/Cascades-Development/Issue-to-do-a-quot-swipe-down-quot-menu/...

 

In many cases, Menu is what you want, in which case this issue does not affect you.

 

Be aware also of https://www.blackberry.com/jira/browse/BBTEN-192

 

Stuart

Super Contributor
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Re: SwipeDown event is not generated

Hi smarcmartin,

Ya if applicatinon mode is only portrait then it works fine but my application work on landscape only and in that mode menu is not display. I vored to this issue.