flex for ARM compilation -? - apache-flex

i am trying to find out how to build my .as for mobile browser on Android 2.2 smartphone.
I downloaded latest distribution of "Hero" SDK, but all tutorials show only how to create mobile project with Flash Builder. Any idea how to build .swf from command line mxmlc for mobile ?
Thanks,
-V

Taken from this page:
http://labs.adobe.com/technologies/flex/mobile/faq.html
Can I build mobile applications using only Flex SDK "Hero" without Flash Builder "Burrito"?
Yes. However, in order to get your application onto a device for testing, you will need to install the Android SDK, and use a combination of the Adobe AIR SDK command-line packaging tool and the Android SDK's "adb" tool.
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
Haven't done this myself but that looks right.
Good luck,
Shaun

Related

Is porting QML based app easy to Windows Phone?

On the qt-project web-site there're available sources as for porting QML to iOS, Android.
http://qt-project.org/doc/qt-5/portingtoandroid.html
http://qt-project.org/doc/qt-5/porting-to-ios.html
It appears to be easy.
Is it so for Windows Phone as well?
Is it so for any other platform?
Qt Project has a Qt for WinRT tutorial providing a step-by-step process to build applications for Windows 8 based devices. Basically to resume the tutorial :
You need the appropriate windows runtime
You may have to build Qt from source for that runtime library
You develop and compile Qt as you would do for a desktop app
You have an additional step for packaging the application.

How to develop cross platform apps with Flex?

I have been throught a lot of reading and the whole thing is becoming only more confusing so I decided to ask you some stuff about Flex.
So, Flex can run in a webpage if you have Flash plugin in your browser, in an AIR container (on pc/android/IOS, but on OSX ?) and also can compile to Native IOS/Android app.
I am not sure about the last point.
If it is possible, how can I build a flex app that would run in browser with flash plugin and also be compiled to Android and IOS (and maybe Windows RT) ?
Adobe gives you Flash builder, do you also need the Flex SDK ? Is it doable with the Eclipse Flex plugin ?
Thank you for your help and sorry if it is a bit messed up.
So, Flex can run in a webpage if you have Flash plugin in your
browser, in an AIR container (on pc/android/IOS, but on OSX ?) and
also can compile to Native IOS/Android app. I am not sure about the
last point.
This is mostly correct. Flex can run in a web page using the Flash Plugin, which is widely available on desktop browsers. For all intents and purposes, you should assume your mobile users do not have a Flash Plugin installed on their mobile browsers.
It is true using AIR you can create desktop applications for PC and Mac; OSx is indeed supported. You can also use AIR to create Mobile applications on Android, iOS, and Blackberry Playbook. So, iOS is indeed supported. Windows 8 UI/Metro support for AIR is expected 1st quarter of this year. I suspect we'll also see AIR support for Blackberry 10; but nothing has been formally announced that I'm aware of.
Update: 3/2014
Adobe has abandoned plans for Windows 8 UI / Metro support. Windows Phone 8 support is a very common feature request, though, so vote for it if you want it.
BlackBerry 10 does indeed support Adobe AIR. Here is a link to the SDK.
If it is possible, how can I build a flex app that would run in
browser with flash plugin and also be compiled to Android and IOS (and
maybe Windows RT) ?
Flex is primarily a framework for creating business applications. A slightly different component set is offered for desktop applications and mobile applications. Part of this is due to screen size; and part due to performance. A big DataGrid with dozens of columns, for example, is not conducive to the screen size of your mobile phone.
Update 3/2014:
A mobile optimized DataGrid was donated to the Apache Flex Team, and it should be available in current versions of the SDK.
In the end; you should not plan on using the same exact application for both your Desktop/browser app and the mobile app. But, you can share some amount of code. I would target to share 80% of the code. Move the shared code into a library project; which you can then use on both your mobile application, your desktop application, and your browser based application.
Adobe gives you Flash builder, do you also need the Flex SDK ? Is it
doable with the Eclipse Flex plugin ?
Flash Builder is shipped with the Flex SDK. And Adobe Flex ships with the AIR SDK [Note: Apache Flex does not ship w/ the AIR SDK due to licensing differences; but there is a handy installer]. Flash Builder, also, is an Eclipse plugin and can be installed into any eclipse instance you wish.
You do not need Flash Builder to create a Flex Application. You can use command line tools and other IDEs, such as IntelliJ, if you prefer.
Using Flash Professional, you can package and export to a number of platforms using AIR. You can port to both Android or iOS (as a native app), in addition to creating a .swf file that can be embedded onto a webpage - all using the one application (go 'File' > 'Publish Settings' then change the player target).
I'm not sure whether the same options are available in Flash Builder, (appears to be possible -
adobe website) but not other IDE (such as Eclipse) or framework should be needed.
You may want to consider an alternative development and deployment strategy depending on your requirements, e.g. PhoneGap which should offer support for a greater number of devices.

Adobe AIR - Captive runtime

I'm using Adobe Flash CS5 with Adobe Air 2.5 to build an air app.
Is there a way to make use of the Air 3 captive runtime feature? Do I need additional software to publish the Air app with the captive runtime?
Captive Runtime is not yet integrated into the Flash Pro IDE. You'll have to package your app using the command line tools available in the free AIR SDK.
Some more info is here; basically when you compile your app be sure to specify the target parameter. To create an Android APK, you would use this:
-target apk-captive-runtime
More info on options is here

Upgrading SDK for Flex Builder 3

I've got Flex Builder 3 running on a Mac. I'm using the Flex 3.2 SDK. I'd like to upgrade the SDK, so that I can target Flash Player 10. I've never upgraded the SDK; and I don't want to blow it and foul up my old projects.
I found this link to upgrade the SDK, but I'm not sure which version to upgrade to-- milestone, stable, or nightly. Also, which type-- Adobe Flex SDK, Open Source Flex SDK, or Adobe Add-ons. I would assume that I need the Adobe Flex SDK.
I also found this upgrade link. Should I use this version instead?
I want to keep using Flex Builder 3. I'm not ready to upgrade to Flash Builder 4, yet.
As I understand it, I download the SDK, uninstall Flash, got to Preferences->Flex->Installed SDKs and add the zip, and then re-install Flash. If I want to work on an old project, I just select the old SDK.
Thank you.
-Laxmidi
Yes Adobe Flex SDK is the one you want, a stable release. Your understanding of the installation is correct except you don't need to uninstall and reinstall Flash unless you're switching flash player versions, and unless I'm mistaken you can't select the zip without extracting it to a directory first.

What is the Adobe Flex Framework for Mobile devices?

currently worrking on Adobe Flex Technologies. I want to know whether Adobe had launched a Flex platform for mobile devices or not. If Launched what is the name of the Framework and please come with a sample example URL .
An early mobile branch of the Flex framework is expected to be available in 2010.
HI,
Adobe officially declare Adobe Air platform for Android and name it "Burrito".
In previous version developer make application for Android using AIR 2.5 and make build (.apk) file for Android with cmd. Now in Flex Burrito (SDK) make entirely sole application for Android and Black Barry (Note Book).
for more information about the SDk and sample application visit the following links.
http://www.adobe.com/devnet/devices/articles/blackberry_tablet_os_sdk.html
http://labs.adobe.com/technologies/flexsdk_hero/samples/
http://www.adobe.com/devnet/flex/articles/mobile_development_hero_burrito.html
Thnaks
Take a look at ELIPS Studio, this cross platform environment allows you to develop native mobile apps for iPhone, Android, Symbian, Windows Mobile, in FLEX.
It's available as a plugin for Flex Builder.
ELIPS Studio
in Flex using Air sdk 2.5 you create apps for android base mobiles.
With Flex 4.6 development of mobile applications in Iphone, Android and even Blackberry is supported.

Resources