Community Questions & Answers

Pick color from cameraimage

Hello! I want to create a feature where the user takes a photo, pick a point in that photo, and then the app tells the user which color it is. So how do i do this? I get that i can put the image in an imageview and make a blob out of it, but then i have...

Build Media module of Titanium again!

I want rebuild Media(Camera) module of Titanium(version sdk 3.1.1). Who can give and take to me? I rebuild this module because I want set color effect, set white balance, set flash mode, set scene to camera. Help me!! Who did this can give and take to me?

Replace Camera Image

I've got a button that opens the camera, allows taking a photo, and then the photo is put into an image view. It works, except when I try to hit the button again and replace the photo. Anybody have any experience with this?...

Take a photo and save it in a winow

Hi please help anyone urgent...i can take a photo from this code but after taking the pic I have to send to the window of my app. please help me how to save those pics in a window. Thanks.. ~~~ var pButton = Titanium.UI.createButton({ title: '', ...

Take a pic and send to the tab

Hi this is my code, please help me how to send the pics when to the tab in the window when the pic is taken. tHanks ~~~ var pButton = Titanium.UI.createButton({ title: '', bottom:10, left:80, height:40, width:40, ...

Take a pic when a button is clicked

Hi I want to take a pic from camera when a button is clicked, Iam able to get without clicking the button, but when I add a button to addEvntListener, Iam unable to get when a button is pressed. Please help me out. var pButton =...

upload images

Hello, is there a way to upload an image to an external server app?. This is an image taken with the camera following this code you can take a picture and save it, but I would like to send it to a server. Available in titanium a function to upload images...

upload files

Hello I would like to help with this problem, which is to take all the pictures taken with my camera and send them to a server ..... I think I have a variable for each photo and deliver them client.send ({"image1" : imagen1.png, etc}) I have...

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

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

Camera Overlay and allowEditing

Hi there, Anyone else had trouble adding an overlay to the camera as well as wanting to edit the image before applying it to a view? When allowEditing is true, the custom overlay buttons do not work so I'm unable to invoke the button to take the...

show.camera not work

Hello Overall I have a code to take a photo in android, but pressing the button to take the photo, nothing happens, only hear the noise when you open the camera focus. Any help for this, please ~~~ Titanium.Media.showCamera({ ...

Camera in portrait mode

Hi folks, I am developing an overlay for camera and assigning it to the overlay property of Ti.Media.showCamera. Now according to the designs that we have ,the overlay is in portrait mode.But the camera in Android always opens in landscape mode. According...

camera image is rotating?

hi friends hear i am doing camera application but after taking picture i am saving it in to gallery and as well as i am displaying on to new window at that time my image is rotating so could u guys please help me (my issue is image is rotating after...

Animations

Hi all i'm new to mobile development kindly share me tutorials/videos of animation module or properties used in titanium studio. As i'm beginner to mobile development kindly share me tutorials/videos with examples it would be grateful........

Open Gallery when camera is opened

Hi, I'm trying to select a picture from gallery (with the camera already opened) to overlay with the camera view. The problem is that I cant take a picture after select the image from the gallery, because some camera problem (works if I dont open the...

Android Camera.app size

On certain devices, when you take a photo there isn't enough memory available to take the e.media blob and resize it down from say an 8mp image > 640 x 480. The only way I am able to get around this is to put my resize function in a try/catch and the...

Android Crop Image Error

Hi, i have implemented a crop image for Android 4.0.3 and Titanium sdk 2.1.0. I open the gallery of android , crop and save. My problem is that I cannot obtain the cropped image. In the Emulator works all fine and the path is returned in e1.intent.action....

Getting the files inside the DCIM

Hi Everyone, I am trying to get the images taken from camera. And to do that I am trying to get the list of files(image files) residing in the `DCIM\Camera` folder of externalDirectory. I have tried some ways. Find around but couldn't found the proper...

Images from the camera to webview

Hello to all, It is possible to communicate with a webview using Titanium.App.addEventListener or Titanium.App.fireEvent? I intend to communicate by sending images from one camera to webview. as is possible? I'm using alloy framework Thanks in advance

Camera buttons in overlay don't work

Can't seem to make the buttons work at all. They appear but they don't listen to touch events at all any tips? ~~~ var overlay = Ti.UI.createView({ //backgroundImage:'/images', width:'100%', height:'100%' }); var overlayTitle =...

Showing 1-50 of 430 1 2 3 4 5 69