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

Adobe AIR Development

Reply
Developer
pedgarcia
Posts: 119
Registered: ‎03-10-2010
My Device: Bold 9000
Accepted Solution

How to handle gestures

Hi,

 

I wonder how to handle gesture events, like sliding your finger, or the pinch gesture. Anybody already knows that? 

 

I've tried but I couldn't find this information.

 

Thanks

 

-----------------

 



(*) Kudo-me if you really think I helped you!
My plug: I'm doing a Mobile Experiment, reported on my Blog: Check it out!.
---------------------------
Paulo Garcia
http://www.mobilecreators.com - Twitter: http://twitter.com/mobilecreators
Developer
fnicollet
Posts: 85
Registered: ‎10-25-2010
My Device: Not Specified

Re: How to handle gestures

Hi,

this is possible and supported by AIR. You will find all the documentation you need on the livedocs:

http://help.adobe.com/en_US/as3/dev/WSb2ba3b1aad8a27b0-6ffb37601221e58cc29-8000.html

For now, you can't simulate a gesture on a Playbook Simulator but if you have an android device (or a mac with a multitouch touchpad), you can try on it with the same code :smileyhappy:

 

Have fun :smileyhappy:.

 

Fabien

Hope this helps,
Fabien

--
1. If you liked my post or found it useful please click on the white star and provide a Kudo!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!
Developer
pedgarcia
Posts: 119
Registered: ‎03-10-2010
My Device: Bold 9000

Re: How to handle gestures

That's interesting. I've a android phone available. It might be cool test it.

 

This actually made me think about what is really in Blackberry SDK? Is it all Adobe Air?

 

Thanks!



(*) Kudo-me if you really think I helped you!
My plug: I'm doing a Mobile Experiment, reported on my Blog: Check it out!.
---------------------------
Paulo Garcia
http://www.mobilecreators.com - Twitter: http://twitter.com/mobilecreators
Developer
fnicollet
Posts: 85
Registered: ‎10-25-2010
My Device: Not Specified

Re: How to handle gestures

Your phone need to run FroYo (2.2) tu run AIR. Basically, if you can find AIR in the Market, you can have your application on your phone. For more information, sign up in the Adobe AIR for Android program.

 

The BB SDK is mostly AIR, they just added some components (QNX) and removed some APIs for now (Camera, Microphone, ...)

 

Fabien

Hope this helps,
Fabien

--
1. If you liked my post or found it useful please click on the white star and provide a Kudo!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!
Developer
pedgarcia
Posts: 119
Registered: ‎03-10-2010
My Device: Bold 9000

Re: How to handle gestures

hmm, too bad. My Acer Liquid E has Android 2.1 and I don't see any update on sight.

 

Well, still I can read the documentation to know what to do.

 

Thanks

 

 



(*) Kudo-me if you really think I helped you!
My plug: I'm doing a Mobile Experiment, reported on my Blog: Check it out!.
---------------------------
Paulo Garcia
http://www.mobilecreators.com - Twitter: http://twitter.com/mobilecreators
Developer
Harry_Dodgson
Posts: 153
Registered: ‎10-26-2010
My Device: Bold 9900

Re: How to handle gestures

Hi,

 

I'd be surprised if you can't use gestures with your own programs on the simulator.  You can use gestures to background an app or switch between them (provided you start off the visible edge of the screen) so I know the code is there.

 

Harry

 

--------------
Accepted PlayBook Applications: Marmi-doos, BASIC, Run and Hide, SuperClip
Accepted OS4-7 SmartPhone App: KeepLightOn