I am developing a project using the Native SDK for BlackBerry 10. I am using BlackBerry 10 Dev Alpha Simulator for testing purposes. I can't seem to simulate a pinch event, and did some searching just to find out that this is not implemented yet in the simulator.
So basically, I need a method to programatically create a pinch and run it when some other event is triggered. What is the easiest way to do this?
Edit:
I am not looking for language-agnostic solutions. I need an architectural implementation. How would one go on using gesture_pinch_t
to create a pinch event (even with hardcoded parameters)?
I'm more involved with the WebWorks and AIR team at RIM, but off the top of my head a language agnostic solution would be something like the following:
Again, I haven't delved into the NDK specifically, but this is the approach I would take with JavaScript or ActionScript and is quite do-able. I wish I could write a code snippet but hopefully this helps take you in the right direction.
Cheers!