Community Questions & Answers

Widget EventListener

I'm using the com.appcelerator.login widget. I'm creating it in the index.js controller. I would like to be able to access the widget's event listeners so I can tell when the window (which widget creates) closes. Scenario: App opens, if user not logged in...

Snap View Mode for iOS

Titanium SDK 3.2.0 iOS 7 Hello all I'm trying to make a snapview mode like snapchat video conference. For those who don't know what it looks like, I explain. In fact, you can have a snap only when you let your thumb (or any finger) on the screen. I...

Sound event listener.

Hi, is there any possibility to use an sound event listener to trigger something? For exemple, if I clap my hand or whistle I get an animation, I change my view to another one or slide my scroll view? The purpose is to interact with the device without...

background image is not shown when tableview is added to the window or view and problem with event listeners of tablevie in ios

Application Type:mobile,Titanium sdk:3.3.0 GA,Device:ios Simulator,OS:Mac OSX 10.9.3,platform and version:ios 7.1 1)background image of window or view is not shown when the tableview is added to them.It shows white background even the background image is...

Custom Event on Android

This is a very simplified version of my code. It is pretty much a window with a subview with a custom click event in the SubView. The event(SubView:getAge) is called in iOS but not by any android devices. Any thoughts on why this is not working. ####...

Why does removeEventListener need a callback?

Just a simple one. Is there any real reason why a callback is required for removeEventListener? Am I supposed to be doing something with it? example: `myView.removeEventListener('click');` wont work, it gives an index beyond bounds error. neither will...

Clipboard EventListener?

Hi there, Is it possible to attach an eventlistener to the Ti.UI.Clipboard object to execute a function if data or text is placed onto the clipboard? I'm currently working on Android only, and would like to have my Titanium application's function run...

Option Dialog IF statement

I am using titanium 3x and designing for Android. The user clicks on a tab and it opens up a dialog asking them if they have performed an action or not. If they click 'yes' another window opens and if they click 'no' it shows them a notification. The IF...

Update or Refresh Label after Function Call?

I have a button event listener which, when fired, makes a call to a function (doSync()) which is defined in my app.js as an Include (the function is a frequently used function). Upon return from doSync(), I need to update a label in the calling script. ...

TableViewSection EVENT

I am parsing JSON data and looping through it and displaying the data in TableViewSection, I need to add event listener to the table view section, on click open a new form and send a variable to that from which is one variable that is displayed in the...

Removing global event listener

I am working on a tab based Titanium Alloy iOS app. Consider the following example and advice from the Titanium documentation: ~~~ function doSomething(_event) { var foo = bar; } // adding this event listener causes a memory leak // as references...

Showing 1-50 of 837 1 2 3 4 5 617