Latest IDEA 10.5 EAP contains initial support for Flex mobile development. Currently it supports running/debugging AIR 2.6 applications on Android devices. iOS support is in progress. I'll publish a blog post as soon as AIR mobile support becomes more solid.
Good News! Almost forgot - support for Blackberry Playbook AIR SDK would help, too. Maybe the Android solution directly works for Playbook, both SDKs are very similar.
Anyone tried the latest IDEA 10.5 EAP build 107.18 with the new Flex 4.5 SDK released today? Isn't working for me -> Could not resolve <s:MobileApplication> to a component implementation. mobilecomponents.swc is included in Flex 4.5 SDK build 20967.
Packaging for Android using Tools->Package Mobile AIR Application works like charm.
Run/Debug Configuration to directly run on Android device looks very promising. But how can I package my app assets when using "AIR Mobile" configuration? Only the main.swf gets packaged to debug apk.
I'm afraid there's no way to handle APK packaging options when launching AIR Mobile run configuration using IDEA 10.5. I've opened a major request for that which will be fixed for IDEA 10.5.1: http://youtrack.jetbrains.net/issue/IDEA-69646
Several hints will allow you to debug: 1. Package APK using Tools | Flex | Package Mobile AIR Application, specify type= 'debug over network'. 2. Create Flex Run configuration of type 'Connect to already running Flash Player' (Run | Edit Configurations) 3. Launch this run configuration 4. Manually install and launch APK on the device. It will connect to IDEA if device and computer is in the same local network. (On Windows you need to turn off its firewall before starting).
oh nice - got it working messing around with air-config.xml from the sdk as custom compiler config file
Complete support is not done yet in IDEA, so you may use some workarounds like custom compiler config file. Work is in progress.
Thanks would be great to have "out of the box" support for Android testing and publishing.
With the new AIR 2.6 SDK it is possible to publish to iOS as well, additionally there is an SDK for Blackberry Playbooks.
Any progress in this area?
Latest IDEA 10.5 EAP contains initial support for Flex mobile development. Currently it supports running/debugging AIR 2.6 applications on Android devices. iOS support is in progress. I'll publish a blog post as soon as AIR mobile support becomes more solid.
Good News!
Almost forgot - support for Blackberry Playbook AIR SDK would help, too.
Maybe the Android solution directly works for Playbook, both SDKs are very similar.
Anyone tried the latest IDEA 10.5 EAP build 107.18 with the new Flex 4.5 SDK released today?
Isn't working for me -> Could not resolve <s:MobileApplication> to a component implementation.
mobilecomponents.swc is included in Flex 4.5 SDK build 20967.
Adobe has renamed MobileApplication class to ViewNavigatorApplication
Got it working using a custom app.xml
using <application xmlns="http://ns.adobe.com/air/application/2.6">
instead of 2.5
Latest EAP uses correct namespace (2.6) automatically if you use released SDK 4.5 http://confluence.jetbrains.net/display/IDEADEV/IDEA+10.5+EAP
Packaging for Android using Tools->Package Mobile AIR Application works like charm.
Run/Debug Configuration to directly run on Android device looks very promising.
But how can I package my app assets when using "AIR Mobile" configuration?
Only the main.swf gets packaged to debug apk.
I'm afraid there's no way to handle APK packaging options when launching AIR Mobile run configuration using IDEA 10.5. I've opened a major request for that which will be fixed for IDEA 10.5.1: http://youtrack.jetbrains.net/issue/IDEA-69646
Thx!
Without packaging direct debugging is quite useless for me, unless I create a custom maven/ant/whatever solution.
Looking forward to this option as well for iOS and Blackberry Playbook :D
Several hints will allow you to debug:
1. Package APK using Tools | Flex | Package Mobile AIR Application, specify type= 'debug over network'.
2. Create Flex Run configuration of type 'Connect to already running Flash Player' (Run | Edit Configurations)
3. Launch this run configuration
4. Manually install and launch APK on the device. It will connect to IDEA if device and computer is in the same local network. (On Windows you need to turn off its firewall before starting).
The fix is available in just released 10.5.1 EAP: http://confluence.jetbrains.net/display/IDEADEV/IDEA+10.5+EAP
Notice 'Packaging options' button at AIR mobile run configuration dialog.
Feedback on the feature is very much welcome!
Well done!
First tests were successful for me.
Thank you guys!