Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How do you set camera resolution?

Looks like Titanium.Media has settings for video quality (QUALITY_LOW, QUALITY_MEDIUM, etc). Is there an equivalent for the camera?

Is it possible to get a list of the available camera resolutions and to set the camera resolution?

[Update] I spoke to a native iPhone developer and he told me it's not possible to specify camera resolution even in native apps, so if he's right there wouldn't be a way in appcelerator either.

— asked September 14th 2010 by Parand Darugar
  • android
  • camera
  • iphone
  • mobile
0 Comments

3 Answers

  • I believe those properties are used for both the camera and video. Maybe test it and see?

    — answered September 14th 2010 by Colton Arabsky
    permalink
    1 Comment
    • Doesn't seem to do anything, at least on Android. This is what I'm using:

      videoQuality:Titanium.Media.QUALITY_LOW

      Don't know if there's a photoQuality setting (even videoQuality doesn't seem to be documented)

      — commented September 14th 2010 by Parand Darugar
  • i'v got the same problem,and the photo i took lost data such as GPS infomation,seems that camera opened by Titanium does not as full functions as that opened by the machine itself.

    — answered September 18th 2010 by Wen Bin
    permalink
    0 Comments
  • i'v got the same problem,and the photo i took lost data such as GPS infomation,seems that camera opened by Titanium does not as full functions as that opened by the machine itself.

    — answered September 18th 2010 by Wen Bin
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.