Community Questions & Answers

Unexpected end of input

This makes no sense to me. I've got a PHP script that is creating a json encode of a mysql request and passing it to my app. It works the first time, when it generates a text file of the json string, and then it ceases to work until I delete the...

Unable to parse JSON string

Hello. The below code is causing an error, and I am not sure why. I created the string by calling JSON.stringify. The log passes validation on all JSON validators that I have used. I am passing in...

How to display JSON in TableView

I've spent the whole afternoon looking to documentation, also googling and reading some questions on this forum without success. I've found only old answers that doesn't work anymore. I simply would like to know which is the best practice/method to display...

Cant Post JSON To Web Service

Hi, I have been reading through the Q+A of other members trying there solutions but none of them are working for me. I have a button event when clicked i wish to get the values from the text fields on the mobile client and post them to the web service url...

How do you delete a custom object in ACS?

I'm looking for a way to delete a custom object in ACS, either via code or the web dashboard. For example, I create objects pinto and beetle that are cars, then delete pinto and beetle objects, the container object cars still remains as cars(0) in the...

JSON file to model

Hello, I am reading a json file in my app, and populating a listView. In the back-end I have a mySql server, and my json file is generated by a php function that retrieves data from the DB. I also have a PHP function in the back-end that deletes a single...

Appcelerator json read problem

Hello to everyone, I have a serious problem. I tried add data in tableview. I can get values from HttpClient but I can't add data in tableview. How can i do that. My codes as follow. var win = Ti.UI.createWindow({ backgroundColor:'white' }); var...

JSON Problem

I Can Read From web Service With JSON It 's read data successfully when i display it at tableview it displayed and when return display it the data disappear

Images are not following in the gallery , Please help

OS x 10.9, iOS Simulator, Ti 3.4.1 I have followed this [link](http://developer.appcelerator.com/question/125998/codeboxed-image-gallery-with-json-file) ,and works fine and able to see imageGallery. But images are not loading or displaying in the...

Connect dynamics with alloy xml

hi, first, im sorry for my english. i´m new with this, im getting json data from a remote server in y app but the http client function is creating new windows and rows directly from the js fil. so my question is, how can i connect this function with an...

Facebook Graph API question.

I'm new to Facebook API. I ran the sample in the API doc, so it gives me a big json string on the alert. Does any one have a sample code to get those values one by one? eg usernamer, email ect. I assume i need to decode the json string in a loop to get...

Help with loop - JSON

hi, i´m reading data from my server, but only getting the first result of my json. i´m new with this and i don´t know how to make a loop, if someone can help me, that would be great. Sorry for my English this is my code ~~~ function get (){ var url =...

Web service URL problem.

Hello, I am New in this web service, I created web service using soap and use JsonObject(Gson).My web service run successfully.But when I paste my URL into browser it shows me fixed pattern i.e list of method, result part and invoking button.Actually it...

Unable to Parse JSON Notification iOS

I am sending a test push notification from my computer to my iOS app. Everything is set up and I am receiving the notifications. Using this code below outputs the JSON string also below. ~~~ function receivePush(e) { Ti.API.info("Push notification...

Multi select in table

I have a table that is generated dynamically from a json file. I need to do something to permit user to select multiple rows in the table and enter only the selected names ( variable "name" ) in an array. How can I do it? This is the code that...

JSON.parse refuses to work

Hey folks, i have modified the example application for handling remote data, to work for my own JSON API. But it refuses to work. When i execute my code with the android emulator the screen remains white and this is the output of the Studio...

Showing 1-50 of 934 1 2 3 4 5 619