How to make application of Flex for Android?
Actually i have create开发者_开发问答d one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.
How i can achieve this? I want to make dashboard for Android.
Thanks in Advance.
Well, you need to start with tools. Flash Builder 4.5 is a good start, as it includes the Flex 4.5 SDK, which you will need to build mobile apps.
With Flash Builder, it is very easy to create a new mobile application: File -> New -> Flex Mobile application.
That is the easy part. What about converting your existing app to work on mobile? This is where it gets a bit more tricky and will rely on your mad development skills. :)
You see, it is very rare that a browser or desktop Flex app will translate directly to a mobile device. The navigation paradigm is different, (including touches without the mouse) and the screen size varies from device to device. Consider phones and tablets. Consider landscape and portrait mode. Each of these profiles will likely make you think about your UI.
Hopefully, you already have good separation between your UI and your behavior. That will make it a lot easier to develop your mobile app. You can likely re-use the vast majority of your Actionscript code (behavior) with a new UI. You might even be able to re-use some of your components. In all, though, your UI will probably be new. Note also that the mobile SDK is almost completely Spark, and old MX components can't be used in mobile.
I created a screencast of building a quick mobile app that you might find useful.
I also wrote up a 2-part article about separation and sharing between mobile and other screens.
Good luck!
There is a wonderful "Flex for Android " tutorial here
You may want a good Intro to AIR for Mobile :
Watch it here
精彩评论