Sunday, March 6, 2011

Installing AIR Runtime on Android emulator

You can find the Air Runtime.apk in Flex sdk, Flash Builder, or Flash CS5.
Then use Android's command line adb tool to install Runtime.apk.  Apk files are Android package files.

On Flash Builder Burrito, the emulator Runtime.apk is at:
/sdks/4.5.0/runtimes/air/android/Emulator/Runtime.apk

On a terminal, go to android sdk platform-tools folder
> cd /platform-tools
> ./adb -e install -r

eg.
> cd /Applications/android-sdk-mac_x86/platform-tools
> ./adb -e install -r "/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/runtimes/air/android/Emulator/Runtime.apk"

After installation, you can go to emulator's settings-> applications -> android applications, you should see "Adobe AIR" as one of the application.

Done.

Saturday, December 11, 2010

Require Flash Builder 4 for Egit and MecurialEclipse yet?

I just tried install Egit and MecurialEclipse on Flex Builder 3, but looks like it is not compatible with Flex Builder 3.  I guess I'll have to upgrade to Flash Builder 4.
I believe Flex Builder 3 is based on Eclipse 3.2.

Wednesday, December 1, 2010

Thursday, August 5, 2010

Installing AIR SDK onto Flex SDK (Mac)

Here is a good instructions for installing AIR SDK onto your flex builder's Flex SDK for Mac.
http://radleymarx.com/2010/02/install-air-2-osx/  (by Radley Marx)

Monday, August 2, 2010

Wow! Android Prediction Update - My Prediction Comes True!

Wow, wow, wow!  My prediction about Android selling more phones than iPhone has come true, much sooner than I predicted.  I am wrong in how soon this will occur.  It happened this quarter already!  

According to Nielsen, 
"In terms of subscriptions over the past month, Android has surpassed iPhone in new users, with 27 percent of smartphone subscribers going with Android compared to the iPhone’s 23 percent. "
 
http://phandroid.com/2010/08/02/android-edges-past-iphone-in-smartphone-subscriptions/
http://www.androidguys.com/2010/08/02/nielson-android-outsells-iphone-handsets-q2/

Solution to "Problem using as3corelib and HTTService"

I encountered this error message in one of my AIR projects.

VerifyError: Error #1053: Illegal override of concurrency in mx.rpc.http.mxml.HTTPService.

It looks like the same error as the one described in:
http://forums.adobe.com/thread/681351?tstart=0

Steps to reproduce:
This occurs after I download as3corelib.swc 0.93 and put in my Flex project's libs folder.  Inside my app, there is an mx:HttpService.
It looks like some sdk incompatibility.

Solution:
Instead of putting downloaded as3corelib.swc into libs folder.  Copy and paste as3corelib source code into your own project.  You can download the source code by using svn from http://as3corelib.googlecode.com/svn/trunk/

For example, I only use JSON library.  So I just need to copy com.adobe.serialization.json folder to my project.

Android Prediction Update - AdMob predicts more Android than iPhone by end of this year

Admob's prediction is a lot more aggressive than my prediction.  They predict more Android users than iPhone users by end of 2010.
http://venturebeat.com/2010/07/12/mobilebeat-android-users-will-surpass-iphone-users-by-end-of-2010/