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
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.