I'm tryin to load an html file packaged in an Android app via loadURL of StageWebView.
On Flash Builder 4.5, the lightweight sim is available and I ran the following code on it (I set it as Nexus S).
webView = new StageWebView();
a.html is put in the src directory of the mobile AS project and it's included in the assets directory of the release-build apk. But loadURL fails with exception. Does the built-in sim support android_asset access?
I don't believe it does, it will probably act similar to a typical desktop AIR application with regards to file paths like this.
OK. Then it's not an Android sim but just an AIR sim...
I wish it's possible to debug on the Android emulator. Flash Develop can do that.
Correct it is an AIR simulator. It allows you to simulate orientation changes, back button, menu button, as well as faking Capabilities.screenDPI and the size of the application.