Community Questions & Answers

fails to start the camera with overlay in a tablet

work on an app for android using the camera, follow the example of a code that is in this link: http://developer.appcelerator.com/question/182077/function-titaniummediatakepicture-in-android#comment-227450   to run the app on a cell with double camera...

Front camera default display

I have an app that takes pictures with the method: Ti.Media.takePicture (); when the camera is launched with a button I can change the front camera and take the picture with this code: var = Ti.Media.availableCameras cameras; for (var c = 0; c...

use the front camera in android

I want to use the camera personalized use the Ti.Media.takePicture () method, but always initiates the back camera, use: Ti.Media.switchCamera (1); Ti.Media.switchCamera (Ti.Media.CAMERA_FRONT); but it does not work. use the example in this...

Captured image not uploaded on server

Hi Team, I am developing an app in which need to upload image to server. I am able to capture image and show that in imageview but when I am trying to upload that image its not being uploaded. While if I pick image from gallery and upload with same code,...

Camera access authorization (iOS)

In order to check if an app has access to the events in the EventKit we can use the `Titanium.Calendar.eventsAuthorization` property. Is there something similar to check if the app has access to the camera? I am asking because Titanium.Media.showCamera()...

Flash Mode in camera

Hi I am using sdk version 3.1.1.v20130520171545 .On the custom camera overlay I have a flash mode option,which toggles between flash on and off.I have tried ~~~ Ti.Media.setCameraFlashMode(1); ~~~ and...

flash light without camera

Hi, i need to make a torch with flash camera. I need blink it very fast. Is posible make it from titanium?? I need in Android and IOS. I'm looking for in Titanium.Media and if i take a picture with the camera then i have flash, but i need without...

handling camera permissions

Hi, I am using titanium classic. SDK 3.4.1. Teesting on iPhone 6 on iOs 8.1. I have a function to showCamera and I'm trying to handle if the permission is not granted. Currently when I switch the camera position to false in settings, the following...

iPad Camera issue iOS 8.1

I have been facing this odd issue on iPad while opening camera. The first time it launches the camera to click a picture, it works fine but the second time it shows a black screen. Even with this black screen if we try to capture an image it does. Any idea...

Android Camera Settings

Hi Guys, Was wondering if someone would be kind enough to lead me in the right direction. I have an Android mobile app that allows the user to take pictures and send to us. I modified the app so that the image sent to us is no bigger than 3mb. The...

Motion detection with camera, possible?

Hello, Is it possible to detect motion when using the camera? I want a action to be done as soon as any motion is detected. The question is for iOS and Android. I couldn't find anything related to this. If it's not possible with Titanium then a related...

Camera Privacy Setting under iOS 8

Hello, Is there any property within Titanium to check if the App has access to the camera or if it is blocked by the Privacy settings? I could´t find anything and the following properties have always the same...

Showing 1-50 of 661 1 2 3 4 5 614