The Android Market is unique to the Android platform and there is a dedicated application which allows users to easily search for, find, and install applications on their devices. Android allows a developer to tap into the Market application by passing in certain search terms.
We will build a small application to invoke
navigateToURL and pass a predefined search term through a
URLRequest object with the
market: URI prefix. This will open the Android Market application and have it perform a search for us. In this example, we will open a new request once a
TOUCH_TAP event is detected:
import flash.display.Sprite; import flash.display.StageAlign; ...