04-23-2013 07:50 AM
Is it possible to show the Application Menu via Ripple? (Or to simulate the gesture)
I can not simulate the scrolling down form the bottom of the device.
04-23-2013 08:58 AM
Yes you can emulate the swipe down event:
If your code is correct, you should see your application respond to this event and the application menu appear.
If not, I'd suggest opening Web inspector to find out why
04-23-2013 09:04 AM
okay thank you. It does not work very well for me.
The screen gets dimmed a bit but I dont see the menu. On the DavAlphaC its working.
04-23-2013 03:52 PM
Are you using any particular UI framework? I tested with BBUI.js and the Ripple invocation of the event does properly trigger the application menu. If you're not using a UI framework, the event should fire and any subsequent actions would need to be dictated by your application.
If the screen is dimming, that's a good indication that the event has actually fired, but the framework being used may be having some issues. Does the Web Inspector consoel report anything?
04-24-2013 03:35 AM
No I dont. Even when I use the sampes from the newest bbUI release, I don't see the menu, just the screen is dimming.
But anyway on the phone its working, but it would be nice for the ppl who dont have a phone, to run it via ripple
04-24-2013 01:05 PM
Just for reference, I put together a really basic BBUI.js project as follows.
<div data-bb-type="screen"> Hello <div data-bb-type="menu"> <div data-bb-type="menu-item" data-bb-img="icon.png" data-bb-selected="true">Foo</div> <div data-bb-type="menu-item" data-bb-img="icon.png">Bar</div> </div> </div>
Triggering the blackberry.event.swipedown event from Ripple's Events console, I do successfully see the menu displayed.
This is true for both the Z10 and Q10 emulation. If it works on the device, awesome, but I still believe you should be able to get this working in Ripple as well; if it is not currently working, it seems that there is something else in the app that is interfering, not specifically just because you're using Ripple.