Community Questions & Answers
Grid Layout for iOS and Android
I'm posting this if someone needs an Alloy Widget for creating flexible grid layouts in iOS and Android. It works on phones and tablets in any orientation. You can also set different grid layouts depending the orientations. More info on the GitHub...
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...
Tell me the way to save images in gallery android.
I had an image view, converted it in blob using img.toImage(), now how to save it in Gallery ? knowing saveToPhotoGallery works for iphone only, I tried to write this object (img.toImage()) to sdcard using this...
Saving captured image to app's photo album in gallery (how to create album?)
Hi, is there a way to save captured image to a created Titanium app's photo album in standard photo gallery? I know there is 'saveToPhotoGallery : true', but how to create specific album for both Android and iOS and save to it?
Save a Photo and Show a Gallery
Hi everyone... i'm trying to save photo's from the camera and after that show all the photos in some kind of gallery. When i open the app and take a few photos, all of them were saved correctly. My code...
App crash on TI.Media.showCamera and Ti.Media.openPhotoGallery
Hi, I am working on the iPhone build for my app using Titanium SDK 3.0.0. For images, the user can either click a picture or select from a gallery. The following code works fine for Android. but the app crashes in iOS(emulator as well as device). Here...
Download an imageView to android gallery
Hi, i want to download an imageView to the android gallery... this is my code: ~~~ exports.savePreviewInGallery = function(image, saved, noSaved){ try { var imgView = Ti.UI.createImageView({ image: image, height:150, width:150 }); // img...
Video Gallery
Hi , i would like to know if it is possible to get a video gallery for my application because it seems that the only gallery possible to implement is the photogallery What can i do to display videos and then choose a video like the photogallery?
Updating the android gallery when a image is deleted from the filesystem
Titanium SDK: 2.1.0 GA, Device: Android Hi, I have some images saved in my application folder and they appear in the native Gallery app when run. However, when my code deletes the images in my application folder, they still remain in the Gallery...
Detecting iPhone 5 height for photo gallery module
I'm trying to get Titanium to check for the height of the iPhone 5 in a photo gallery module for a project of mine. The code wasn't written by me, but in the photo gallery module there is a 'createGallery' function which sets the default size for older...
How select multiple images using Titanium ?
i trying to select multiple images. i'm unable to select multiple images using titanium. can some help me to sort out this problem. i need list of selected images or list of files. please help me get out here. i using titanium sdk 2.1.
Gallery on iOS - How to get on Current tab?
Hi folks, Hopefully a quick one here. I've got an app which is almost ready for deployment, but got a small issue i'd like to fix. I'm using the picture gallery from GitHub...
Find Titanium simulator gallery file location path.
I am trying cook book code on Titanium studio, and simulator showing "No Photos" Is there any path to set photos and let simulator can get photos. Platform: OS X 10.8.2 //obtain an image from the gallery ...
image from gallery to iphone app
Hi, is there a way to send a image directly form gallery to the app? like at android the intent funktion? best
Lightbox gallery problem
var win = Titanium.UI.createWindow({ left:200, right:200, top:200, bottom:200, zIndex:40, }); win.backgroundColor = '#ccc'; var view1 = Ti.UI.createView({ backgroundColor:'red', }); var l1 =...
facebook like photo gallery titanium
hi Folks,I m using Ti 3.0 and developing ?pad apps. I want to make photo and text gallery.it should look like facebook gallery.but I cant do this.How can I do this.What this name in apps world?.I cannot search clearly
[object Object] is not a constructor
Hi, new to the titanium platform and just getting started but ran into a issue implementing a picture gallery module from here: https://github.com/novelys/titanium-picture-gallery So this was working originally: ~~~ function ApplicationTabGroup()...
Selecting multiple images?
Hi Everyone, I have made a grid-view of images(gallery). Now I want to select multiple images how can I do that? Following is my code which is I am using to create a grid view. ~~~ var window = Ti.UI.createWindow({ ...
Photo is always saved to gallery even with saveToPhotoGallery:false
The following code makes the photo taken appear 3 times!! in the gallery. One in the camera folder and two other in two folders called as my app. I only want to save the photo once in my application directory. I've read lots of posts about this issue and...
Open photo in photo gallery
Hi ! Finally I finished with list of photos in my Application ( All pictures will be save in App... ). Now I have one problem. How to open selected photo in default photo gallery ( iPhone, iPad ) ? Thank you for answers...
App saves duplicate images to gallery
Hi, I have a question regarding an Android app being developed in Titanium: The problem at hand is that when we take a picture with the camera, then passing the file to a new window, the image is saved twice to the phone gallery. Here's the...
Put images to ImageGallery
Hello, I’m new in titanium and Android programming, and I have a problem. I want to put some images to the SDK emulator Gallery. I've tried with "saveToPhotoGallery" but doesn’t work, is there any way to put some images in the gallery? Thanks
Select a Photo Album and all its images
How can I select, with the touch of the photo Album name, all the images within that folder? I need to be able to acquire all the images within a Photo Album that the user will select.
Get all urls of videos from videogallery
Hey Folks, How to get the urls of all files in the phone videogallery/photogallery app... using ti 2.0.2 for sdk 4.0
Android: select video from photogallery
I am trying to select a video from the gallery on a device running Android 2.3.3, like this: ~~~ Ti.Media.openPhotoGallery({ mediaTypes:[Ti.Media.MEDIA_TYPE_PHOTO, Ti.Media.MEDIA_TYPE_VIDEO], success:function(event) { var selMedia =...
How to keep app from saving photo taken by camera in gallery
I've got an app for android, where I use the camera to take a photo, then load the photo into a view for use in the app. I don't need to save this photo once it's been used in the view. I noticed however, that if I go into the gallery on the phone...
Saving images from ImageView
I just got a small question. I wrote some sort of image viewer which loads images from a website and parses them into a ImageView using the image: <url> tag, this works all great, but when i choose to save the file to the gallery i get the basic...
Server Video Download and save in iPhone Gallery
Hi Guys, I have video at server, i'm downloading it and want to save it to iPhone gallery. I use the same technique as i download image from server and save it to iPhone photo gallery using Titanium.Media.saveToPhotoGallery () method. Same method i'm...
Trying to get Geolcation data from image
I want to get the EXIF data from an image after it's taken with the camera (or picked from the PhotoGallery) but it seems to strip out the EXIF data, even if the image in the photoGallery already has geo data on it. Here is the function I'm using to pick...
loading photos oh photogallery into my app
Hi to all, I have to take all native path of the photos of the photogallery and insert them inside an Array, as I can make? I try to access to photos with var images = [{path:Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,...
Importing an Image from Gallery
Hi, I can open my phones gallery now I want to select an Image and import it into my app how can I do this ?? Please help
gets photos in gallery
Hi, is it possible to get all photos from gallery without open gallery view... just in code. i want to look over the gallery and send the photos to the cloud... thanks..
Access all of the photos in gallery iOS/Android
Hello! A client of mine want me to give a quote regarding doing a backup of all the photos in the galleries on the phone, and sending those to a server. Now, i've done the uploading-part before. That is no issue. What i can't seem to find any...
Image folder for Android App
Hi, Im working in a App for Android that saves pictures in Extorage Card (To many pictures). In sd card or similar, i can find my folder named as the application packet, i mean com.something.something, inside this there are my pictures. I know save in...
Can't save image blob retrieved from Intent getBlobExtra
I've managed created an intent filter for my application for all images. So when I launch the gallery and hit the "Share" button on an image, I can select my application and send the image over to my app. I used the getBlobExtra function on the...
How to pass an Image as a parameter from application to webview and show it in web view ??
My main idea is to pass image from app to webview.. The Image can be either picked up from gallery or can be from a camera. For that I am using : **Ti.App.fireEvent in App.js ** **Ti.App.addEventListener in webview => abc.html.** Here is the code...
Image Cropping Return Null Data
Below is my Code, I am trying to allow User to Select Image from Gallery and Crop it and show cropped image in ImageView on ANDROID Titanium.Media.openPhotoGallery({ success:function(event) { var houseimage = event.media; ...
iPad and Photo Gallery
Having a couple of issues with opening the photo gallery on an iPad. Using Ti SDK 1.5.1 and iOS 4.2 ~~~ Ti.Media.openPhotoGallery({ success:function(event) { var image = event.media; alert('picture was selected'); }, cancel:function() {...
Android: App crashes when selecting image from gallery
Hello All, I'm using android 2.2 and have a question / problem when selecting a image from the gallery. In the application a user can upload a image to the server he can select this image from the gallery or using the camera. When using the gallery u can...
Example / Productivity Tool - Saving video to iOS Simulator
Wrote a 5 min. app to save video from a URL into the Photo Gallery. This is a convenient way to load your iOS simulator with video content, if you need it for testing. Hopefully this will be useful to someone beside me. ;) To use this yourself, create a...
Media showCamera/openPhotoGallery return empty blobs as on success event.media
I am using SDK 1.8.0.1 V8. I am trying to upload a picture from my app and I am using showCamera and openPhotoGallery. The success property of either openPhotoGallery or showCamera is working, but the event media blob which is passed to the function is...
Add an image from CoverflowView to Photo gallery
I've created a coverflowView with 40 different images which works fine. However, when a user clicks on one of these images I'd like it to save the image to the Photo Gallery - and this isn't working. I get a "Result of expression...
Uploading Image from gallery to remote server (android)
Hi,I am developing android application and in my application I need to upload image from gallery to remote server location.I already tried this ~~~ Titanium.Media.openPhotoGallery({ success : function(event) { var update_pic =...
Save photo rom website to the gallery
~~~ var images = []; var read = Titanium.Network.createHTTPClient(); read.open("GET", "http://www.hcmc-by-night.com/iphone-event.php"); //this works read.onload = function() { var json = JSON.parse(this.responseText); ...
Upload video from photogallery
I'm working on an app that allows photo and video uploading...My photo upload (from the gallery) works fine, but my video isnt. FYI, "scramble" below is defined and works, so thats not the issue. ~~~ if(event.mediaType ==...
Is there a way to select multiple photos from the galley?
title pretty much explains it. What I'd like to do is be able to select multiple photos from the gallery, similar to how the Dropbox and Flickr apps work, load their file locations to a table and then upload each file, one by one.
UI Gallery for Titanium
Hello there, As I am new into Titanium and generally in mobile development, could you please let me know if you are aware of a **UI Explorer** so that I can get to know the name of each control ? Although documentation in API is good, if you don't know...
Android image to SD Card + Refresh - Not working
Does anyone know why I can't get this working? I have a client who wants to be able to set Live Wallpapers, which I dont think Titanium supports natively. So I'm testing a way to save an image (or mov eventually) to the SD card (if available), and have...
How to - Take image from gallery or camera,
How to - Take image from gallery or camera, to put in a view. ~~~ var imageViewMe = Titanium.UI.createImageView({ ~~~
seems like there is not a way to save a image into the gallery on android??
the key function named saveToPhotoGallery is iphone only. any ideas?
Showing 1-50 of 97 1 2