Community Questions & Answers

Camera Overlay as Video instead of Image

Hey, Is it possible to overlay the camera with a transparent video that automatically plays? This is what I have so far but Im getting errors ~~~ // Overlay var overlay = Titanium.UI.createView({ width:'100%', height: '100%' }); // Video var video...

Move, Scale and Crop an Image

This question is related to **[Crop Image in Preview Screen](http://developer.appcelerator.com/question/175092/crop-image-in-the-preview-screen)** I would like to crop an image in a specified size(320x160). I was able to create a preview screen, which...

Changing name of pictures captured

I want the application to take a picture and store it and then allow me to read those images in another tab. The problems are: How can i save the image with a different name every time because this just keeps on replacing the earlier captured image (due to...

showCamera() picture resolution

I have a problem with the showCamera() function. In my iPhone 5s the camera are not in the full screen. It's like i have an iphone 4. I write this code ~~~ Ti.Media.showCamera({ success:function(event) { alert("OK"); ...

SQLite Select all record performance

I m using Titanium 3.2.3 SDK and developing for ios 7 .My apps taking picture storing image path at sqlite and showing tableview.but there is a performance problem with tableview. Because each image 1.5 MB and in one screen 2-3 image. its maybe 100-1000...

Camera Flash

I do not see anything in kitchen sink regarding flash for taking photos. The flashlight works for videos perfectly but does nothing for regular photos. I tried this: Ti.Media.setCameraFlashMode(Ti.Media.CAMERA_FLASH_ON); Ti.Media.CameraFlashMode =...

create a new image using camera + overlay

Morning all, I hope you can advise me with a camera question. My goal is to use the camera to create a compiled image by sticking a .png on top of the photo. Example: Let's say I own a hat shop (not really ;-) and I want the user to be able to see what...

Camera blurring pictures?

Hello, I've got a strange problem. The API Ti.Media.showCamera blurs my images. I uploaded to pictures for comparison. First screenshot taken with the normal device camera: [from device](http://cl.ly/image/3u1Z2S131Z1j) Second screenshot taken out of...

Camera overlay / Custom shutter intermittently works

Hi all, Building an app with a custom overlay but having issues with taking pictures Basically it only works sometimes and we can't work out what could be causing it to be so intermittent We highly suspect its because we switch to the front camera when...

Titanium camera call not saving GPS information

I'm stuck - using standardish showCamera call, photos stored in to the camera roll have no GPS info. They all seem to have different assets-library URLs, but all have same dimension and file size. I'm using the medialibrary component from the marketplace...

Taking photo with the front camera

Hi, I want to take a photo with the front camera - but I cannot switch. console tells me: ~~~ [debug] cameras ( 1, 0 ) [debug] cameras.length 2 ~~~ Here is my code: ~~~ btnTakePicture.addEventListener("click",...

app crash after 5 shoots of photos

someone can help me with that? The app Crashs after I took 5 photos and display them ~~~ var salvaFoto = function( row ){ var filename = row.nome; var f = Ti.Filesystem.getFile( Ti.Filesystem.applicationDataDirectory, filename ); f.write(...

Get the name of a photo that has just been taken?

Hey Everyone, I am taking a photo using the built in camera on my iPad, everything is working fine, but I am unsure how to get the name of the photo after it has been taken? I do not want to change the name, I just want the name given to the photo by...

Trick iOS Camera

Hi, i'm just playing around with a QR-Code scanner module. The Scanner opens the camera and start the QR-code detection. The scanner doesn't has the option to choose a picture from the library. I made a function which lets me open a picture from my...

TakePicture

Hi, I want to take picture from the iPhone device based on accelerometer event.. the camera will show and then it will take picture without any interaction from the user, the picture will be taked automatically without clicking on take picture.. is this...

circular images

Hi everyone , i am working on both android and iphone . I've an imageview .On the click of imageview i am giving options to user for selecting image from camera and gallery . What i want is to get a circular image from both.

Getting raw Binary data from Blob

Hello! I got a picture from my phone camera. It's coming to me like a Blob. ~~~ var blob = event.media; ~~~ The next thing I wanted to make is somehow get the binary data in string representation. The reason is following concatenating it with another...

Showing 1-50 of 587 1 2 3 4 5 612