Community Questions & Answers

httpclient fails on some android devices

Hello, In my production app there's a registration form: on submit the app calls httpclient to connect to a remote PHP script. ~~~ var url = Alloy.Globals.REGURL; var client = Ti.Network.createHTTPClient({ onload : function(e) { ... do something...

How to post soap xml data to WCF?

Hi, I am new in Titanium Mobile Application development. I don't know how to post soap xml data to wcf services. I tried to post that xml data, i am getting Bad request error. So please any one help me. I have given below my code var xhr =...

upload image with data to server Titanium

i have some data i need to upload it to the server with an image using `multipart/form-data ` but i getting request time out this is my data ~~~ var data={ property_name:p_n_txt.value, friendly_name:f_txt.value, ...

upload image with data to server

i have some data i need to upload it to the server with an image using ~ multipart/form-data ~ but i getting request time out this is my data ~~~ var data={ property_name:p_n_txt.value, friendly_name:f_txt.value, ...

HTTPClient - iOS - The network connect was lost

Hi, I am testing my application in iPhone 5 simulator using 3.4.0.GA SDK. I am using Xcode 6 and OS X 10.10.1. Whenever I am making a HTTP call, every alternative call fails and gives an error "The network connection was lost". I did not test it...

Cannot get cookie

Greetings, I'm trying to get the PHPSESSID cookie, but it keeps returning null. I'm certain the page login.php gives out a cookie as I've seen the cookie in my web browser/Firebug. Here is the cookie from Firebug:...

Http client request Ios

I have issue in send POST url in ios only . var postIos = function (){ var url = "url"; var xhr = Ti.Network.createHTTPClient({ onload:function(e) { try{ var response_data = JSON.parse(this.responseText); Ti.API.info(' response is...

iOS 7 -> iOS 8 HTTPClient issues

I'm making a time tracking app. Developing my app on ios 7, everything worked perfectly. After I upgraded to ios 8, not so much. I'm using a custom version of the restsql adapter here - https://github.com/viezel/napp.alloy.adapter.restsql I can retrieve...

File upload HTTP client issue

Hi, I am trying to upload a .mp4 file to some server. I am using the HTTP client provided by titanium. when I upload the file, HTTP client is adding some headers in the file due to which the file gets corrupted and cannot be played. When I download the...

Quick Java Servlet and HTTP Q

I have created a basic Java Servlet page which just displays hello world [here](http://http://130.206.127.43:8080/HelloWorld) what im trying to learn and understand is how to basically pull the information down from a web server and display it on the...

HTTPS Client Call

Hi all, I was asked to create a mobile app for an organization that demands secure connections between their web services and the mobile app HTTP calls. As far as I know, using an HTTP Client call and just calling the website (or web service) using...

Showing 1-50 of 1,094 1 2 3 4 5 622