Community Questions & Answers

Image uploaded not viewable

Hi all, I have captured image and sent to the server using following; ~~~ var imageDir = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'images'); var fread = Ti.Filesystem.getFile(imageDir.resolve(), 'myFile001.jpeg'); } var...

Facebook video uploads?

Has anyone had any luck performing a video upload to Facebook yet? I've been going round and around for hours now on this and just wondering if anyone has had any success at all? I keep getting a "Video file format is not supported" error.

Need Help Video Post at facebook

Hi friends, I need help(example of video post at facebook). I'm using httpclient but posting videos at "https://graph-video.facebook.com/me/videos". passing access token and file as blob. But some times it post to facebook and some time through...

issue with images auto rotating

We are enabling users to take a pic and upload OR upload a pic from the stored images on their phone. The issue is if they take a pic or upload a pic that is, as an example a person standing (to the pic shows properly), but when the pic is uploaded into...

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

Take A Picture, Preview and Upload

I am trying to create a form using the twitpix example. Where I take a photo from the camera and or the photo albumn. I then trying to assign it to the imageView as a preview, once the user fills 1 text field for the message, it sends to twitpix. It's...

Specify filename in multipart file upload

I need to upload a JPG image file to an existing service. The service requires an authentication string which is a hash that includes the file name. Therefore, the filename in the hash (determined BEFORE I make the request) must match the file name IN...

how to abort an upload

Hi, im uploading an image to a server. i have cancel button, when i click on it, i execute this : ~~~~~ backButton.addEventListener('click', function(e){ //cancel download if(clientUpload != null){ Ti.API.info('client not...

timeout when upload photo

Hi, im uploading a photo. i have this error (timout) : http://db.tt/aiUOr1za but the photo is uploaded !! how is that possible ? so how can i check that the photo was uploaded even if i have errors... thanks

Problem with image upload and form submit

Hi, i'm tryng to submit a form with images, if the image (only one) is small (40 - 50 kb) it work but if the images are more bigger (400 - 500kb ) notting to do.. every time error ( server is correctly configured) progress bar never worked... this is my...

URL scheme not correct format

since a 1/3 year my 54House streaming radio app is available in the apple app store. Now I made some changes for iPads and can't upload an update because of a problem with the URL scheme. The URL scheme of my app is: com.FrankDase.54House If I...

upload file

Hi, I want to upload image : here is my code : ~~~~~~ exports.addMediaToAlbum = function(idAlbum, media, name, description, success, error){ var client = Ti.Network.createHTTPClient(); client.open('POST',...

How to upload an image to server?

I need to upload an image to my server but I know how to do to the php part my titanium's code: ~~~ Titanium.Media.takeScreenshot(function(event) { // tira printscreen var fotoCarta = event.media; var currentTime = new Date(); var hours =...

Photos are not uploading to ACS

Hi Everyone I want to upload photos using ACS. I am developing my app on Android platform not titanium.My code giving no error but photos are not uploading here is my code. Please please help me. ~~~ package com.example.test; import java.io.File; import...

Progress of Photo uploads in ACS

I currently use the ACS API's in my Android app. Now the [Photos API](http://cloud.appcelerator.com/docs/api/v1/photos/create) doesn't allow me to show the progress of photo uploads an also downloads. So is there any workaround for showing the progress?

Uploading image Error

so I'm trying to print screen of iphone and then upload it to my server sending this to my php that will handle with this image.... but I'm getting an strange error: ~~~ IN ERROR Error Domain=ASIHTTPRequestErrorDomain Code=1 "A connection failure...

Showing 1-50 of 159 1 2 3 4