In the documentation, it seems that you can prevent bubbling by passing an arguments to an click event on a text field:  http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.TextField-event-click  Using their new Alloy framework, I have a tex...
I need to close the windows2 to open windows3. I have the next code: I'm a begginer on titanium , please help me.      //Windows1.XML     <Alloy>         <Window exitOnClose="false">             <Button   onClick="openW...
I'm new to Titanium API. I want to know how to retrieve values from DB and display in UI. I created a model and inserted a row. My code is as below,  Model:  var moment = require('alloy/moment');  exports.definition = {     config : {...
How can I bind data from controller to xml, My code is as follows,  View:    <Collection src="respondentAge"/>     <Label id="question"></Label>   Styles  ".question":{     font:{         fontSize:18,...
I'm trying to pass data from Appcelerator Cloud Services to Backbone models. I couldn't find documentation on how to do this...   Below is the config from my model file:  exports.definition = {     config: {         "columns": {...
I'm trying to create a popup like this    A user presses a button and a selection of options appear, which I call a popup. In the meantime the background goes black transparant.   I've spend the last few hours online trying to find a good exa...
I have 2 controllers.  Controller 1:    var x = 1; var y = ImageView;     Controller 2:    var Z = 1; var K = ImageView;     I close controller 1 to go to controller 2 and want to know if I must set x and y to null to free memory....
I learned to use iOS default native gallery to select an image with the following code,  gallery.addEventListener('click', function(e) {     Titanium.Media.openPhotoGallery({         success: function(event) {             // set image view...
I frequently use the method to set the visibility  $.abort.setVisible(true);   but I have problems, not all the times it has happened, sometimes it happens that does not work is possibile? (I call in a callback that runs to the success of an http req...
In my application I get the country code using Titanium.Locale.getCurrentCountry(); , I then want to match this country code with this xml : https://code.google.com/p/country-phone-codes/ to find the corresponding country name and phone code. I am us...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.