We’ve pushed a new version of Layar (2.2) to the Android Market and iTunes App Store (2.1) a few days ago.
Besides some bug fixes and preparations for the upcoming releases of Android 1.6 and 2.0 (with many new devices), there is one change that is relevant for our developers: The POI actions now support video and audio! Also links to other native applications (intents/URL schemes) are supported.
- video:// This URL scheme should be used if you want to add a video to your POI actions. The video:// will be replaced by http:// when actually calling the URL. Layar supports 3GPP and MPEG4 videos with progressive download hints (streaming over HTTP).
- audio:// This URL scheme should be used if you want to add an audio track to your POI actions. The audio:// scheme will be replaced by http:// when actually calling the URL. Layar supports playing of mp3 and mp4 (aac) audio files.
- Custom app support: Say you have an app called Donut that has registered its own donut:// scheme on the system (intent on Android). You can have the app Donut started using this scheme directly from a POI action.
The video and audio will be streamed inside the Layar application, so when closing the stream, the user returns to your layer. Obviously the custom scheme opens the custom app and switches to it, closing Layar on the iPhone.
If you use these new schemes, they will be stripped for users on earlier versions, so make sure you also have some actions for users on v2.1 (Android) or 2.0 (iPhone).
Lastly: Download the new APK v2.2 (Android) for developers here in order to test your layer.
Questions? Use the Google Group!