Community Questions & Answers

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

Keep event from firing on page/tab load

I have a tab based iOS app. In the itemedit tab the user can change some item names that get stored in properties. Before they return to the items tab I want to redraw the elements to reflect these changes. I could do this in a focus event on return to...

Best Practice, Events

Considering that after published the app's logic remains in Javascript is it more efficient to.. A. Have one event listener catch multiple click events and determine from the event's source what to do next. -or- B. Have multiple event listeners

getting a fire event from inside a webview

Hi, I am trying to create a wysiwyg text editor using a script from nicEdit. My problem is figuring out how to get the text back from the text area. I have tried the following, but the fire event is not firing. view file: ~~~ <WebView...

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