12-13-2010 01:19 PM
Hello, I'm thinking of making an app with multitouch. Is there anyway to test MultiTouch on the simulator? Thanks.![]()
12-13-2010 01:28 PM
I build a desktop version of the Air app and test multi-touch there first. If it works there, it will work on PlayBook. At least you can test gestureEvents on the Mac trackpad without buy a touch supported PC like HP Touchsmart, like I have.
I think that Adobe's device Central allows you to simulate touch, but I haven't used it yet.
My guess is that it won't be high priority to add into the BB Simulator right away. So, I'm just waiting for the device and testing on my Android version of the same app on my android device for now.
Don
12-13-2010 01:43 PM - edited 12-13-2010 01:44 PM
just to note, as mentioned in the Adobe Max keynote, the PlayBook supports 4 simultaneous touch points. you can test this in the simulator as well:
//Imports
import flash.ui.Multitouch;
//Multitouch
trace("Max Touch Points: " + Multitouch.maxTouchPoints); //traces "Max Touch Points: 4"
12-13-2010 07:26 PM
Thanks for the reply. I do have a mac, I will try that. Also, as TheDarkIn1978 said I can test multitouch on the simulator, do I require the touch pad from macbook or it also works on pc? What's the special keys or mouse moves I have to do?
12-13-2010 07:46 PM
hey szhuo,
Darkin simply stated that you can test for availbility by running is snippet. however you cannt do any special multi touch gestures just yet inside the simulator. We are all waiting patiently for it ![]()
12-13-2010 07:50 PM - edited 12-13-2010 07:59 PM
sorry for the confusion, i don't think you can actually test multitouch on the PlayBook simulator, not yet anyway, but you can test if the simulator (device) does support multitouch and how many touch points it supports.
i believe the MacBook trackpad can only be used to test for gestures (swiping, panning, pinch zooming) but not actual multitouch as the MacBook returns 0 for Multitouch.maxTouchPoints.
you'll need a device that has multitouch capability, or as dkerr mentioned you can use Adobe Device Central CS5 to test up to 2 touch points. here's information to show you how to do this with Flash Professional CS5: http://help.adobe.com/en_US/devicecentral/cs/using
[EDIT] here's some better information: http://blogs.adobe.com/actionscriptdocs/2010/06/te
it would be pretty cool if RIM or Adobe releases an emulator profile that would work for Device Central when they release their Flash Professional CS5 Packager for PlayBook.
12-14-2010 08:36 AM
Hi all, just created a device profile for Playbook on the Device Central Library. By no means a perfect device profile but hey its usable =P
12-14-2010 04:57 PM
But how can I load my Flash Builder Air app into Device Central?
12-14-2010 07:55 PM
When you test run your app in Flash Builder, you'll see the compiled .swf in the bin-debug folder. You can open that in Device Central
12-15-2010 04:40 AM
It fails b/c there are no air specific classes available, it throws errors about nativewindow classes and similar. I will try to remove these references (with functions) and try again, but in strict I did not found good way to test air apps in that tool. When, oh, when there will be simulator with touch simulation enabled....