Object type of object returned by Titanium.Network.createHTTPClient()?
Hi! What is the type of the object returned by Titanium.Network.createHTTPClient()?var xhr = Titanium.Network.createHTTPClient(); test = xhr.constructor;-> undefined I would like to add a method to...
View ArticleHow to download an array of files?
I have an array of files and I want to download them all. What is the best way to do that, because I think that the code bellow will not work, because it doesn't wait until each download is finished....
View ArticleCrash on app launch on Windows 7, networking to blame
We're seeing a nasty crash on program launch on windows 7 (sometimes on x86, always on x86_64). The last thing in the log is: [Titanium.Network.HTTPClient] [Debug] Changing readyState from 0 to 1 for...
View ArticlehttpClient problem android emulator
i've been developing an iphone,ipad and android application but the following code works perfectly fine in the first two platforms I mentioned but in android it jumps directly to the function...
View ArticlecreateHTTPClient gets error on post
When I do a Ti.Network.createHTTPClient(); I get a error from the Apache Tomcat server Ti code: var loader = Titanium.Network.createHTTPClient(); loader.open("post", "http://192.168.100.138:8080/");...
View ArticleJSON http requests always log message about parsing error
Entity: line 1: parser error : Start tag expected, '<' not found {"code ... ^ [ERROR] Error Domain=com.google.GDataXML ... TiDOMDocumentProxy.m:48) The request works fine, it just logs the error...
View ArticleHTTPClient with PHP and MySQL workshop example not working?
Hi, I'm very new to appcelerator and mobile development and would appreciate any help you can give me. I've just tried to follow the workshop example to make a very basic app with register and login...
View ArticleHttpclient not working after generating android apk
I ran into the following problem: our app was working fine in both emulator and device (tested through Run on Device). We were using Titanium SDK 1.6.1. We then generated the apk through Distribute...
View ArticleCookies problem
I have a problem when I try to get the cookies from the response header in the Titanium.Network.HTTPClient. I use the following code: var xhr = Titanium.Network.createHTTPClient(); var cookies =...
View ArticleConnecting app woth local server
Hi, I am running my app on android simulator , It does work fine on sending requests and getting response from my server running with passenger at heroku.com but I am unable to send requests at my...
View Articlexhr.getResponseHeader WWW-Authenticate not returned on the iphone
Building a digest auth application and on android, the call to xhr.getResponseHeader('WWW-Authenticate') returns the header correctly. On the iphone, the header is empty. Seems that titanium is not...
View ArticleAndroid: Problems Posting Data with HTTPClient
Hello, I want to use the Titanium.Network.HTTPClient object to network an application with a remove server. My first task is to implement a login screen that uses the remote server to validate the...
View Article