[TIMOB-778] Launch MediaPlayer for known audio/video types in WebView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.3.0 |
Components | Android |
Labels | android, media, webview |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:36:15.000+0000 |
Updated | 2011-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
File | Date | Size |
---|---|---|
buildout.txt | 2011-04-15T02:36:15.000+0000 | 7399 |
(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...
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.