Community Questions & Answers

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

Get photo from camera to webview form

I have nearly finished an app I'm building for a client, and part of the app allows the user to take a photo of something, which is then emailed to the client directly. So far I have the HTML form in place, and some AJAX to handle the form submission to...

Doesn't write image

Hi all, With the code below, no error is shown but no image is recorded on the selected file on application "barcode.png" . Can anyone help me? I'm using : Samsung GT-I8530 OSX 10.9.4 Android SDK 20 Titanium 3.3.0 GA var...

IPad camera overlay rotates

Hi Guys, I am having a weird problem with the camera overlay view. I have my entire app locked in portrait mode. All the screens are portrait. Except when I open the camera screen on IPad IOS version 7.1, the camera overlay gets rotated with orientation...

[iOS iPhone 4] Camera overlay bug?

I'm trying to add an image overlay to the showCamera(). showCamera() itself works fine. But when I add (any) overlay, the showCamera() view seems stretched out vertically. (tap to focus area is not a square space, but more like a rectangle) When I take...

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

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

Showing 1-50 of 609 1 2 3 4 5 613