Titanium Community Questions & Answer Archive

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

ALL properties of Titanium.Media return NULL

I'm using Titanium.Media recently,but now a strange problem comes to me,that ALL properties of Titanium.Media return null,such as Titanium.Media.availableCameraMediaTypes,Titanium.Media.availablePhotoMediaTypes,Titanium.Media.isMediaTypeSupported, even Titanium.Media.isCameraSupported.
why "Titanium.Media.isCameraSupported" is NULL?should it be false by default,or true if i have a camera?

— asked September 19th 2010 by Wen Bin
  • titanium.media
0 Comments

1 Answer

  • Are you running it on a device or simulator? Because the simulator may return null for those types of things, just because of the ways it's set up.

    — answered September 19th 2010 by Colton Arabsky
    permalink
    1 Comment
    • not simulator,I'm running it on my device,which with android2.1(Moto XT702),and they're still NULL

      — commented September 19th 2010 by Wen Bin
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.