Community Questions & Answers

httpclient syncrhonous

Hi, I want to know the behavior of synchronous httpclient, il will leave focus only at the end of onload or onerror ? thanks

App crashing on iOS 6.0.1

Hi all, I have a problem with my application. When I compile it in development it works fine both on simulator and on a real iphone. But after passing the apple approval process the app is now crashing on thread 5 The device logs are showing the...

Android control refresh problem

Application type: mobile Titanium SDK: 2.1.3GA Platform & version: Android 2.3, 4.0 I implemented a simple progress bar showing time counting down. Couple of views are used. outer container view and view for background bar view for inner bar view. It...

Titanium can not find Android SDK

Hi, Ti is complaining: Titanium requires Android platform 2.2.* Add-On Google APIs version 8 I've installed Android SDK by clicking on "Install or Update Android SDK" button (via the Android SDK Manager). The SDK Manager shows that I have...

OptionDialog option properties

In reviewing the documentation it seems as though you can only set the options property to a string array. When a user selects an option I need to know a numeric ID # associated with the string that's presented in the option dialog. How would I go about...

Example of Extending Titanium (Andriod)

Hi Everyone Does anyone have an example of extending tintanium for an Andriod Module, as I really want to understand this better, as I need to start creating some modules for andriod for up coming projects. Just have the documents about creating a...

Help on Titanium Chart module !!!

Hi community! I'm a quite skilled Titanium developer so also a "quick hint" can solve. I'm using the Titnium chart module to draw a simple BarPlot but i'm fighting with parameters like "origin" , "plotSpace" and similar. I...

Extending CommonJS Modules

I am using CommonJS modules to instantiate objects. However, there are times when I would like to extend the CommonJS module to add additional functionality. Right now I am doing something like this, BaseModule.js: ~~~ function BaseModule() { // }...

Javascript within Webview Fails Silently

I have somewhat complex javascript running within a WebView. I am finding it rather difficult to debug because any javascript errors seem to fail silently (i.e., nothing reported in the console). So I am left to plastering Ti.API logging statements all...

Google TV App crashs on start

Hello, **My Developement System** ~~~ Titanium Studio: 2.1.2. on Mac OS X 10.7.5 Titanium SDK 2.1.4.GA Goolge APIs Android 4.1 Google TV Firmware 3.2 Google TV Device NSZ-GS7/GX70 ~~~ I try to code a App that will run on Google TV. I can upload the App...

timeout httpclient

Hi, I want to have code of httpclient response when i have timeout. i did that and doesn't work : status = 0 and statusText = undefined... ~~~~ client.onreadystatechange = function(e) { Ti.API.info('status : ' + this.status + ' | statusText : '...

Does this forum rock or what?

Answer is yes! My first app has been officially submitted to the App Store, now lets hope it gets approved! Thanks for all the help I got here and for the spectacular documentation. David

Error when creating ACL in ACS console!

Hi, Whenever I try to create an ACL in my ACS app, following error occurs: "500 Internal Server Error - Internal server error. The Cocoafish Team has just been notified of this problem." It happens in both dev and prod instance. Is everything...

ioS Instrument error

Running Titanium SDK 2.1.4 on Studio version 2.1.2 on Mac OSX Mountain Lion. While running iOS Iphone simulator and monitoring memory usage using instruments after selecting my app from the system list, I get this error/warning in yellow banner:...

Can Web app record audio

Hello, I am developing a web app that will record user's audio. I know there are many limitations of a web app, for example, local storage and camera. But can a we app get access to recording audio? If yes, could you give me any advice how to do...

Green Call Button

Is there any functionality in the titanium API to create a call button exactly like the one the iPhone has when someone calls and you want to answer the call? [green button example](http://shawnblanc.net/images/img-0007-1.png)

http connection problem

hi, I am on working on a titanium app for android. from the app i am trying to connect to my localhost. But its showing an error like the connection is refused or something like that. Here I am providing my code. ~~~ var loginReq =...

How evoke the keyboard from the click event of a button

Hi, there I want to build a feature that when the user clicks a button, a keyboard would then show up. And on the top of the keyboard, there is a toolbar that contains a textfield and two other buttons. I don't know how to directly evoke the keyboard...

Showing 27,901-27,950 of 67,701 1554 555 556 557 558 559 560 561 562 563 5641355