Appcelerator Titanium: how to record video?

橙三吉。 提交于 2019-12-06 12:05:53

It turns out that its all a 'context' play.

Found the reason at http://developer.appcelerator.com/question/137709/startactivityforresult-and-callback-function-problem#244265

  • The problem really is the use of heavyweight windows in Android by the SDK which means a new Javascript context.
  • A heavyweight window is always created when you open a new window from inside a TabGroup.

So, the gist at: https://gist.github.com/832488 works, given that the camera is not launched from within (inside) of a tabgroup.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!