Community Questions & Answers

For loop Count PLEASE HELP

Hi all, I have a for loop that populates to the amount of files in a Json and I give each item an ID in the for loop so if i click on one the id will display of the specific one but it only displays the last ID in the loop ~~~ var lblTaskName; var url =...

For loop + Button use in For loop

Hi All, I have a for loop that creates a view with a title and a button in a table row on a Table as following ~~~ function InboxTable(section, title, startOpenBool){ var amountTasks = 10; var tableInboxData = []; var tableInbox = Ti.UI.createTableView({...

How do I create an specific name to objects in an for?

I'm trying to give specific names to my images view in an for loop something like that ~~~ for( var i = 0; i < 5; i++ ){ // give specific names to each image view to be able to change something after var imageView[i] =...

have multiple scroll view as

~~~ // COMIENZO DEL CODIGO var win1 = Titanium.UI.createWindow({ //url:'view2.js', title:'ParqueRecuerdo', backgroundColor:'#fff' , // color blanco //layout: 'vertical' }); var CodigoNicho =...

Load data from a FOR

Hi guys, I'm having trouble getting the value of a variable in an array. For one I created to insert data into a tableview up so good. when I need more I need to access the data by clicking a button the variable does not return anything. Code: for (var...

Loop and eventListener

Hi, I have a loop which create 4 buttons, each buttons has a specific action : ~~~ for (var i=0, i<4, i++) { var btn = Ti.UI.createButton({ ... }); btn.addEventListener('click',function(e){ alert(i); }); } ~~~ But if i click on btn 1, 2, 3 or 4....

Creating a Quiz

I'm very new to this, but I've downloaded the Kitchen Sink and I've been screwing around with it. I've been able to make my own app on Idioms, complete with videos, audio and definitions. Is it possible to make a quiz out of it and keep score? Is there...

Constructor for String not found

When I use, for(key in Object) construct in my code, I am getting the following error: **Constructor for String not found** I get this error only in Android and only with version 1.5 and 1.5.1. I am not getting this problem with iPhone.

HOW to connect SQLite 3 with Ti???

i am working on a a login validation app,for which i need to create one DB using SQLite 3,in which i need to create one table of username and password.but i dunno how to create the table ,insert the value and then connect it to my app,i hav made one event...

Showing 1-23 of 23