Well I was able to get past my original problems but after 5 minutes of playing with it I seem to have broken it again. With a very simple app with just text in it it compiles and tests ok from within FlashBuilder and when I package and install to my Android emulator set up with Froyo. However, when I add what I think is bare bones application funcionality, it starts to go haywire again. Basically I have a List that I want to populate with XML from a webservice. My initial thought was to use an mx:WebService (which is what I am doing in the browser version). No luck though... WebService doesn't seem to exist in the ElipsFlexSDK. I could always get the data another way via URLLoader so I forged ahead and figured I would just compile in the XML using an mx:XML tag and come back to the remote data access later.
"Sorry folks, park's closed"... This error: "Could not resolve mx:XML to a component implementation" is particularly frustrating because when prototyping, I use this all the time. (If there was a 6 foot moose to punch in the nose I would have). I am not giving up yet though. So I create local variable of type XML and initialize it to a chunk of XML. Voila... it builds again and I can run it in the emulator in FlashBuilder. So at this point all I have to do is package into an APK file.
....Um....no. I get a whole bunch of errors starting with one like this:
C:\OpenPlug\My Systems\Flex_XD\ElipsProject\elips_bin\ElipsProject.cpp:582: error: invalid conversion from 'avmplus::Atom' to 'avmplus::ScriptObject*'
This is where I am giving up for now. It just doesn't seem friendly enough for me to start going down this path. The upside of it is that it supports iOS but I am personally starting to care less about the iPlatform altogether anyway. Especially now that I scrapped my iPhone in favor of the HTC Evo... which totally rocks by the way... I missed Flash on my phone way more than I even realized but I really am enjoying it. Plus I now can start on the Klok for Android app... I've said too much already. Stay tuned.
Note: I keep putting "emulator" in quotes because it doesn't appear to really emulate the real Android. It doesn't look anything like what it looked like when I packaged and installed the apk file to the actual Android emulator. This may be because Elips seems to only have profiles for Android 1.6. More importantly, if something works in the emulator in FlashBuilder I would expect it to work similarly in the Android SDK emulator.