Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-778] Launch MediaPlayer for known audio/video types in WebView

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsAndroid
Labelsandroid, media, webview
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T02:36:15.000+0000
Updated2011-04-17T01:54:13.000+0000

Description

it might also be good to allow app developers to react to specific content-type with their own callback

Attachments

FileDateSize
buildout.txt2011-04-15T02:36:15.000+00007399

Comments

  1. Marshall Culpepper 2011-04-15

    (from [90d879f77eedaff6b2a910f31d73144118a3fb03]) open TiVideoActivity when we see video mimetypes in our WebView [#778 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/90d879f77eedaff6b2a910f31d73144118a3fb03"> http://github.com/appcelerator/titanium_mobile/commit/90d879f77eeda...

  2. Bill Dawson 2011-04-15

    Seems to break scons build on all platforms. In TiWebViewClient.java, in shouldHandleMimeType(), intent.setClass(proxy.getTiContext(), TiVideoActivity.class fails with a "symbol not found". I tried switching it to intent.setClassName("ti.modules.titanium.media", "TiVideoActivity"), but then the error just moves to the import statement for ti.modules.titanium.media.TiVideoActivity: "Package ti.modules.titanium.media does not exist".

    classpath change needed? Full output of "git pull && scons clean && scons android=0" attached.

JSON Source