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

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

Getting user details from the Contacts API on iOS

Hi guys, I've used some sample code from the documentation to get my app to talk to my contact list. That all works fine and I can see the results in the output. The problem I'm having is trying to extract the "fullName" from the loop in order...

Help sorting JSON

Ok, I am banging my head against the wall trying to figure this out. I'm sure it's simple and I am just too close to see it. What did I miss? This is the JSON that is received: ~~~ { "content": [ { "item_id":...

ListItem itemId Query

I know that in the docs it states that [itemId is a string](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.ListItem-property-itemId) but I have been setting ItemId to be a JSON object. This works fine on iOS so I can directly reference...

JSON Looping

Hi I was looking for a hand. My code is getting undefined and I don't understand why. I'm trying to loop through all elements in obj then in recent then the columns and their content. I was trying to use the code below and I tried a few things from...

json parse issue

hi I'm doing json parse in project .I'm not able to print value what i'm expected. I'm trying to print the value for event id.I wrote the code like this ~~~ var eventsxhr = Titanium.Network.createHTTPClient(); eventsxhr.onload = function(e) { //...

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