O'Reilly logo

Flash Development for Android Cookbook by Joseph Labrecque

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Establishing Android custom URI schemes

Android exposes a number of useful URI protocols to AIR for standard operations such as mapping, sms, and telephone. Defining a custom URI for our application allows it to be invoked from anywhere on the system: through the web browser, email, or even a native application. Custom URIs provides an alternative method of invoking an AIR application.

How to do it...

We will create an application that can be opened from the device web browser using a custom URI. We define the URI intent settings through modification of the AIR descriptor file:

  1. Find the AIR descriptor file in your project. It is normally named something like {MyProject}-app.xml as it resides at the project root.
  2. Browse the file for a node named

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required