Community Questions & Answers

How to show camera inside the View

I am developing an app for Android (and in future for iOS) on Windows 7 with Titanium 3.3.0.GA. I want to make camera container which would show view from camera and then user by pressing a button could make a photo at right time. Is it possible to put...

Add Ti.Media.showCamera() into created view

I've added a square view on my window and I would like to be able to show camera image in the view. ~~~ var containerView = Ti.UI.createView({ height: 150, width: 150, backgroundColor: "blue", }); win.add(containerView) ~~~ How can I...

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...

Augmented Reality Marker Detection

Hi, Can we do Augmented Reality Marker Detection with appAccelerator ? Like here : http://code.google.com/p/js-aruco/ Is it easy to convert the 3D Earth example with appAccelerator ? thanks Regisma

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...

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