08-27-2012 07:17 AM
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
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).
Solved! Go to Solution.
08-27-2012 01:51 PM
The corresponding Issue Tracker issue is https://www.blackberry.com/jira/browse/BBTEN-182
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
08-28-2012 01:38 PM
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.