Titanium Mobile 1.3 Android Preview Part 2: Launching Videos from WebView

by Bill Dawson on 30 April 2010

This is Part 2 of a series of posts about what’s coming up for Android development in the new Appcelerator Titanium Mobile SDK 1.3, which is coming next week.

Here in Part 2, I feature the ability of the WebView control to handle mime types for videos and then launch the full-screen video player appropriately. This magic was programmed by Marshall Culpepper (@marshall_law.)

In this short video, I show the Android emulator running a small Titanium app that contains just a label (the one that reads “WebView control showing http…”) and a WebView control that is displaying Marshall’s Vimeo page. I click on one of Marshall’s videos, which takes me to that video’s page. I then click on the play button for that video, which successfully launches the video player. That last step would not have worked in prior versions.

Nice job, Marshall!

Stay tuned for more Android goodness!

{ 1 comment… read it below or add one }