Community Questions & Answers

Rotated views in box2d not realy works

Hi, in my box2d project I'am using rotated views, because box2d implementation doesnt support polygones. The object is the symbol of St. Pauli – it is a skull with four bones in cross order. The bones are rotated. ;-)) In parts are all properties of...

ACS - Language support : Korean

I've tested ACS with Android SDK and found that it looks like not supporting Korean. When I saved a value with Key-Value in Korean, I was able to see just ??? at the data browser. Did I miss something? or The ACS doesn't support Korean. Regards, Ken

iOS window orientation problem

Hi guys, I'm having a bit of trouble with my code. I have a modal page, with a picture in it. I want this page to rotate as the user rotates his phone. So I've added: ~~~ orientationModes : [Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT,...

Access child object by name

I want to select a child by a custom property I have set: ~~~ var someItem = Ti.UI.createView({ height: 90, width: 90, backgroundColor: '#000', name: 'some_name' }); ~~~ I am able to do this by looping through...

Manual of box3d joints

Hi, I'am playing with box2d and looking for API desription of JOINs. [Manual of Tibox2d](https://github.com/appcelerator/titanium_modules/blob/master/box2d/mobile/ios/documentation/world.md) [Manual of box2d...

json

In following json file, how can i read/parse data? ~~~ { "xml":{ "domain":"http://abc.com", "applogo":"/mobileapp/images/logo.png", "project":[ { ...

Starting point, but....

I'm quite new on this appcelerator world, I already did a few studies and tests but as I can see, the best way to start learning is to study the Kitchen Sink app, is that correct? Anyway, by looking to the app,js file, I can see the tabGroup declaration...

Cloud Bugs

Think the Cloud Solutin is still very buggy. For example: - You can't add Subcollection to a Subcollection - It's impossible to edit or delete a Subcollection - Sometimes custom fields won't be displayed - Choosing a user is very slow - Photos is getting...

Exit from a function

~~~ // how to exit from funtion after errorDialog.show() ? function myfunction(e) { if (text1.value == '' || text1.value == null) { var errorDialog = Ti.UI.createAlertDialog({ title: 'Error!', message: 'You must provide a value...

XML file return undefined

Application type : mobile Titanium SDK : 2.0.1.GA2 Platform & version : iOS 5.0 Device : iOS Emulator Host : OSX 10.6.8 Titanium Studio : 2.0.1.201204132053 Hi everybody, I'm tried to read XML from local file. to do this my reff is from...

ScrollableView auto-scroll?

Is it possible to make a ScrollableView scroll automatically? For example, I have 3 images in a ScrollableView, can I make them swap say every 5 seconds?

Sync an SQLite DB with iCloud

Hi. I have an app with a SQLite database which is located in "Library / Private Document". Now I would like to integrate it with iCloud so as to synchronize data across multiple devices. Can you tell me the correct way to do this, without risking...

Hiding the Keyboard

Yeah, I know, there are a ton of these questions around. I've read them all. The thing is, `search.blur()` works great when it's included as part of the `return` event listener. Clears the keyboard, switches to the search window, and when I return no...

box2D with complex images

Hi, I try a simple box2d world. Two bodies jumping in a view: http://familientagebuch.de/rainer/img/2012/paulibox2d.png If I assum this both bodiesare simple boxes then the heart never comes in the "corner" of the skull. I think I have to use a...

Bug? label does not fire click events SDK2.0.1.GA2

Hello. I ran sample application (Single Window Application) After running the simulator and clicking other areas of the screen aside from the label repeatedly, when I press a label, sometimes a click event does occur. The environment is 2.0.1.GA2. It does...

Looping through multiple textfields values

Hey I have spend all night looking for a solution but it seems i got something wrong. I have 20 textfields on multiple views. I have a button, which after I click, I want the values of those 20 textfields to be "". so, i am not quite sure,...

an application restart is required

I am getting this every time I reinstall the app in the emulator and on my device. This is not to do with the market install bug. I dont know when this started but very recentley.

add or append whole column to picker

Is it possible to add a whole column of data to an existing picker? For example: -Picker on Tab 1 -Button on Tab 2 -Click Button on Tab 2 -Go back to Tab 1 -Picker shown has 1 more column than it did previously

determine distance after being in background

Hey all -- I have a global variable that I'm storing some information in from my API. It's a pretty expensive, so I want to cache or keep in memory for as long as possible. The problem is, when I turn off the phone get on a plane and fly 500 miles it...

Textarea positioning

Hi, I'm creating an application and I was wondering if controls (expecifically textareas) can be positioned "one behind the other one". I've seen a lot of examples of textareas, but always have "top" or "botton" properties...

Unable to get array value using for loop

titanium mobile sdk 2.0.1. iphone sdk 5.1 Hi, This is the structure of my array named `ansArray` ~~~ ( { answer = c; question=1; }, { answer =d; question=2; } //...... //....... ) ~~~ I wanted to separate each values from the two...

bar Image not staying consistent

Hi it seems I am not getting a consistent bar image. I have tried many things thinking I placed code wrong or did not formulate the whole thing right since I am very new to all this. Would someone help by looking at the whole project and tell me what I...

Facebook event to json

I have had some trouble with fetching json from a groups events on facebook and then put them in a tableview to be used in a Appcelerator mobile app. The idea is to have this as a calendar to show events for a club in a simple way. I want to show the...

TableView Index Error On App Startup

Hi everyone, I'm brand new to Titanium and mobile development in general. I'm working a iPhone app using the 1.8.2 Titanium SDK. I have a two tab application. The first tab is the main app, and the second tab is an options screen that contains a table...

Map Pin/Annotation Issue

Hello All, I have created an, iPhone, app which shows, amongst things a map with a number of annotated pins. The number of pins varies between 2 and 50. On the simulator everhting works just fine. Out in the real world the response of the pins and the...

displayCaps.platformWidth on iPad?

I have found that Ti.Platform.displayCaps.platformWidth and, I assume, platformHeight, return null. On the iPhone the right width & height are returned. Is this a known bug?

Flickr json parse

Hi. I have an app that parse images from flickr and put them in a coverflow. My problem is that even if i have 30-40 pictures i only get the last 20 to show. How do i get all of the pictures from my account? Here is my code ~~~ var win =...

Could not detect the iPhone simulator !

Hi everyone, I was on the steps to start my HelloWorld project when the application told me to change the path to Xcode. I did it but now it tell me : "Could not detect the iPhone simulator directory at...

Problem publishing on Google Play

I have a problem publishing my app on Google Play. When I upload the app I created the Google Play website states that my app will be available on 0 devices. I then made a test, created a Single View App from the template, changed nothing, created an APK...

network change listener not working

I recently updated from Titanium SDK 1.7x to 1.8.2. The Network change listener does not work anymore. Ti.Network.addEventListener("change",function(e) { Titanium.API.debug("Network changed: " ); if (Titanium.Network.online)...

Showing 27,901-27,950 of 59,540 1554 555 556 557 558 559 560 561 562 563 5641191