[TIMOB-2122] Android: Implement Video Recording
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-26T04:57:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0, Release 5.4.0 |
Components | Android |
Labels | dr-list, parity, supportTeam, tbs-1.8.0 |
Reporter | Don Thorp |
Assignee | Ashraf Abu |
Created | 2011-04-15T03:11:06.000+0000 |
Updated | 2016-07-12T21:50:53.000+0000 |
Associated Helpdesk Ticket
http://appc.me/c/APP-632317Is this feature still implemented for android or not???
Solved here: [https://github.com/appcelerator/titanium_mobile/pull/5634]
Hi, when is this going to be integrated?
@danpe iOS has startVideoCapture( ) and stopVideoCapture(). So renaming the android methods startRecording/stopRecording would help to add this to android
Started to work on a new PR: https://github.com/appcelerator/titanium_mobile/pull/7929 Not ready yet but it's already working on a Nexus 4 (5.1.1) with native camera (with overlays and maxDuration) and the intent version! *Example:*
!http://www.migaweb.de/ti_video_example.png! Added documentation and extended the example
Tested on: * Nexus 4 (5.1.1) * HTC A9 (6.0.1) * Samsung Galaxy S2 (4.2.2)
PR by [~michael] https://github.com/appcelerator/titanium_mobile/pull/7929 Merged. Additional PR for minor code formatting: https://github.com/appcelerator/titanium_mobile/pull/7965
Additional note: For android 6.0, for the Video to record sound as well, you would need to grant the permission
android.permission.RECORD_AUDIO
Test app code including permission requests that is needed in Android 6.0:-
Verified the implementation. Video recording works as expected. Closing. Environment: Appc Studio : 4.7.0.201607111053 Ti SDK : 5.4.0.v20160712013704 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.5 Appc NPM : 4.2.8-1 Appc CLI : 5.4.0-31 Node: 4.4.4 Nexus 6 - Android 6.0.1