Try Android (1) Air 2.5 & flex hero

Source: Internet
Author: User

I have been paying attention to mobile development for a long time, from the original Widnows mobile, to Saipan, to iOS, bada, Windows Phone 7, meego, to the current android. Because the work and mobile fields are irrelevant and there is not much time to develop, I recently started an i9000, So I studied android with a try-on attitude.

Download test code

All tests in this seriesCodeAll of them passed the flash builder burrito mobile phone simulator + Samsung i9000 real machine test (Android 2.2)

Reprinted please indicate the source:
Http://www.cnblogs.com/brooks-dotnet/archive/2010/11/03/1868558.html

 

Google is really very diligent. From the Chrome browser version, we can see the beginning:

According to this development speed, when the official version of ie9 is released, it will not know who is high or who is low, and opera will also be suspended. The Android version is also upgraded quickly. The latest version is 2.2, codenamed froyo (sour frozen milk ).

 

The new feature of Android 2.2 is taken from infoq at http://www.infoq.com/cn/news/2010/05/android-2.2.

PairMicrosoft ExchangeBetter Support.AndroidTo make it more suitableExchangeEnterprise environment. Some of the new features are listed as follows:

  • Based on User Name/PasswordExchangeAutomatic account Detection
  • SupportedExchangeCalendar Synchronization
  • With improved security, administrators can enforce security policies across devices.
  • Resume appearance settings--The administrator can reset the device to the exit settings so that the sensitive data can be erased after the device is stolen or lost.
  • Global Address List Lookup--You can automatically fill in the recipient's email address based on the list returned by the server.

Device managementAPI.For Android 2.2Improved and added a lot of device managementAPIDevelopers can use it in applications:

  • Application Data BackupAPI --You can back up application data to the cloud. If you switch to anotherAndroidDevice to restore data from the previous device.
  • Cloud-to-DeviceMessageAPI. Cloud users/The system can trigger an action on the device with this enhancement. This feature can send mobile warnings to mobile phones and support two-way push synchronization services.
  • Can be directly on external memory devices (SDCard) to install the application, you can also migrate the application from the internalSDCard, and vice versa.

network sharing. Android 2.2 one Android hotlines connect multiple services to Internet .

performance. with the help of the new Dalvik JIT compiler, for CPU for intensive applications, Android 2.2 speed: Android 2.1 fast 2 ~ 5 Times .

according to linpack the benchmark test result is installed with froyo Nexus One phone number 37.5 mflops , if you use the same phone number Android 2.1 6.5 mflops .

faster browsing speed. the browser uses chrome V8 engine, JavaScript code processing speed: Android 2.1 fast 2 ~ 3 times.

access devices from a browser API . a large number of devices can be accessed directly from a browser API , such as accelerators, cameras, sound recognition, and translation, in this way, Web applications can interact with devices in an unprecedented way. For example, you can upload a photo to the Internet after it is taken, and all this is done in a browser.

supported flash 10.1 . froyo supports the latest flash 10.1 beta version. Recently, JIT the introduction of the compiler greatly improves the performance. For example, flash application running has played a huge help role, because we all know that, flash applications are CPU intensive applications.

AndroidStore.For Android 2.2Developers and store users will benefit from the following new features:

  • You canAndroidStore search applications, including application data
  • Update--After you click a button, all applications are automatically updated.
  • Crash and freeze reports.For Android 2.2Integrated crash/The report feature is frozen so that the user can report the complete details to the application publisher during the crash.
  • SlavePCBrowse the store and download the application directly to the device. You can usePCSelect the Store application, and then the application can be sent to the loaded device. To use this feature, You need to log on andAndroidStore Registration-

music management. you can set Windows Media or Mac iTunes all non- DRM convert music to Android play the video on the device.

interested users can click this link to learn more about Android 2.2 more features: Android 2.2 Platform highlights , Android 2.2 developer .

View Original English text:

A roundup of new features in Android 2.2.

 

In addition to the features listed above, Android 2.2 supports air 2.5, flex hero, and the latest Flash Player 10.1 mobile edition, which can be downloaded and installed on the electronic marketplace.

The theme we are talking about today is air 2.5 and flex hero. Adobe has been widely used recently. Not long ago, it released flex hero-the next generation of early versions of flex to fully support mobile devices. A few days ago, we released air 2010 on Adobe MAX 2.5, adding support for Android and blackberry tablets.

Flex hero has not been officially released. If you are interested, you can

HereDownload the beta version. For flex hero and air 2.5, Adobe also released an IDE: Flash builder burrito, which is also a beta version.HereDownload.

Note that it takes Adobe ID to download Flash builder burrito for 60 days, and Flash builder burrito already contains flex hero and air 2.5.New Features of air 2.5,New Features of flex hero,New Features of Flash builder burrito.

 

Next we will use flash builder burrito to build a simple mobile phone project and deploy it to the real machine for testing.

    1. Download and install flash builder burrito to create a flex mobile project:

By default, there are two mxml, The MobileDemo-app.xml is the configuration file, and the compiled APK is located in the bin-DEBUG directory. At the same time, we can see that the components of the mobile phone project are still very scarce, and we hope there will be more practical components in the official version.

 

    1. Make sure that the mobile phone is flushed into a 2.2 system. I just flushed a third-party 2.2 Rom yesterday, and the effect is good. Search for and download Adobe Flash Player and Adobe AIR from the electronic market, and enable the USB debugging function of the mobile phone.

Real machine effect. The tool is drocap 2.08

 

    1. Install the latest USB driver. I use Samsung i9000, so you only need to install Kies. Note that the installation must be performed as Administrator on Windows Vista and Windows 7:

 

    1. Write a hello World file, and choose whether it is in the simulator or on a real machine during running:

 

Is the flash builder burrito mobile phone simulator running effect:

 

    1. Samsung i9000 real machine running effect:

 

You canHereView the configuration method of Flash builder burrito connecting to a real machine. Adobe does not explicitly support i9000. The actual test supports i9000:

Android USB device driver configurations provided by flash Builder

Google Nexus One

Motorola Droid

HTC Incredible

Motorola Droid 2

Motorola Droid X

HTC Evo 4G

 

Summary:

This time we probably learned about Adobe's mobile strategic layout. This is a very new technology, and the details may be changed. However, the status of Adobe Flash, flex, and air is beyond doubt. We have also set up the Adobe RIA development environment in the Android 2.2 environment and the deployment and testing of the real machine. We recommend that you first test it in the simulator and then connect to the real machine. I am also a newbie in Android mobile development. You are welcome to discuss it with others. In the subsequent chapters, we will continue to study the integration of Android platform with flash, flex, and air to write more practical applications.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.