Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (titanium.network.httpclient)
Browsing latest articles
Browse All 13 View Live
↧

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 Article


How 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 Article


Crash 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 Article

Cookies problem

View Article

httpClient 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 Article


createHTTPClient 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 Article

JSON 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 Article

HTTPClient 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 Article


Httpclient 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 Article


Cookies 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 Article

Connecting 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 Article

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

Android: 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

Browsing latest articles
Browse All 13 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>