Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2741] takeScreenShot showCamera view capturing black background

GitHub Issuen/a
ResolutionNeeds more info
Resolution Date2011-08-06T12:24:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsMobile, showCamera, takeScreenShot
ReporterTrevor Ward
AssigneeTony Guntharp


When I am using the Ti.Media.showCamera and taking a screenshot using the Ti.Media.takeScreenShot, it captures the current screen as required but it shows a black background, not the view through the camera. This is how it works but is it a bug? should it capture the view through the camera. Info I am using Titanium studio with 1.7 SDK, and can only test on the iPhone as the overlay view on the android doesn't work yet (see other post). A user case app can be found here. (cut and paste into app.js). http://pastebin.com/gsepKDjW Git Paste https://gist.github.com/1029227


  1. Paul Dowsett 2011-07-23

    Trevor In order for us to progress this issue, we need a concise usecase. Please whittle it down to the smallest possible code that runs without modification when pasted into a app.js file. Please try to avoid the use of namaspaces and custom functions. A simple set of consequative API calls are best, to ensure that the bug is with Titanium rather than your code. Many thanks
  2. Trevor Ward 2011-07-23

    Hi Paul yes have realised from the other bug that I have made the same mistake with the use case. I will get you an appropriate one as soon as possible. Thanks
  3. Paul Dowsett 2011-08-06

    OK, thank you, Trevor. I will close this for the moment, but once you have updated it with the usecase, I will move it to the relevant project.
  4. Paul Dowsett 2011-10-07

    Closing due to inactivity.
  5. Jeremy Sculfort 2018-07-27

    Hi, I'm having the same problem here ! Do you think you might work on a fix ? I can provide example code etc. on Android platform. Using SDK 6.3.0.GA by the way ! Thanks

JSON Source