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

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

updating camera picture to imageView

I am trying to change an image view with the image that I capture from the camera, but after i select the image I captured from the camera, I am unable to update my image view with the image selected from the camera. I'm not sure why it isn't appearing....

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

Problems with taking photo

Hi why Titanium.Media.showCamera show image preview with wrong aspect ratio? how i can set full screen aspect ratio? (same if i change orientation the aspect ration is all wrong) this is my code index.js: ~~~ var currentCamera =...

Take Photo image aspect ration

Hi why Titanium.Media.showCamera show image preview with wrong aspect ratio? how i can set full screen aspect ratio? (same if i change orientation the aspect ration is all wrong) this is my code index.js: ~~~ var currentCamera =...

black screen on camera overlay screengrab

Hi all, I am hoping you can help me. I want to start the camera, overlay an image on top of the camera and then save out a screenshot of the newly compiled image . Basically, the user can see what they look like wearing a hat. Anyway, overlay etc all...

Differences of free and paid version?

hello developers, I have some questions about the differences of a paid and free version of titanum. 1-I read that I can create/develop my app for free, but I can publish it at google play and apple store without the paid version? Can I publish while...

Get camera parameters

Hi! Is there any way to get camera parameters on Android in Titanium? (like in the android dev specs - [Camera.Parameters](http://developer.android.com/reference/android/hardware/Camera.Parameters.html)). In fact, i need only focal length (it can be...

image camera problem

Hi , I have a new problem .can any one guide me to slove that problem. Actually I have one image. By click that image ,the clicked image and camera has to open. suppose if we take a snap by fixing that image . the image has to come .

Saving picture on application

Saving picture inside application using this code ~~~ var filename = Titanium.Filesystem.applicationDataDirectory + "/1.jpg"; var imageFile = Titanium.Filesystem.getFile(filename); mageFile.write(event.media); ~~~ Was trying out...

Android Camera Problem

Me again, excuse me. I trigger the camera in a buttom, with onClick evento (in alloy), the camera take the picture and everything, but when i put the bottom "save", the camera closes and my App open again my index, and i really don't know why,...

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