Community Questions & Answers

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

Generate a menu from remote json.

Hi,I have to build a menu from the remote database API (got json answer like {'categories':[{'name':'someth'}, {'name':'someth'}]. And don't have any idea how to get this done. At my point I have to read json data to Alloy.collection and then, in view,...

Multiply tracks on window in app.

Hi guys, got a trouble. There are multiply tracks in my app ( alot of tracks sorted by categories ). I need to play/pause each of them, but AudioPlayer and Sound objects (dunno why) doesnt work properly (any button controls one track). How can i create a...

Strange issue with Base64 encoded string

I am trying to do a receipt verification for iOS. So I receive the purchase receipt no problem. I have to Base64 encode it and create an Object to send to my server with the base64encoded receipt as the "receipt-data". No problem encoding the...

Dynamic picker for Android

I am trying to make a dynamic picker which is working fine on iOS but on android there's no chance, here is my code ~~~ function showPicker(data, lbl, parentView) { var picker_view; var pickerHeight = 251; var slide_in =...

App crashing while json parsing

Hi, I have a problem in program. Actually I doing the json parse in my program. In that i'm getting lot of images as a response. Those images i'm printing in the tableviewrow . When the images are loading In the tablerow the app is crashing and in console...

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