Community Questions & Answers

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

HTTPClient JSON issue

Hi, using HTTPClient, I want to send to a server side page a JSON like this with POST request: ~~~ {"key1":"string","key2":{"foo":"bar","baz":"ar"}} ~~~ I found this interesting code...

Android JSON Picker

I have to create an android picker showing data returned from a JSON service that is located here http://89.237.149.36/ws/resources/shop/acts where the "actName" is displayed to the user in the picker, and the "actCode" is used only...

Error on emulator

Good morning, I got errors on android emulatorand im trying to fix it 2 days but no solutions. ~~~ Please report bugs to http://jira.appcelerator.org/ [ERROR] Application Installer abnormal process termination. Process exit value was...

Fit image

Hi guys! How do I fit any image on any resolution device? I tried to use width 100% in imageview, but was larger than the screen. my code: ~~~ function Image(){ WindoOptions = { fullscreen : true, modal : false, navBarHidden : true }; var win =...

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