Community Questions & Answers
For loop e.REPLACETHIS.length
I have a for loop and I want to be able to change the return data by replacing the string between e. and .length. Anyone having an idea how I can do this? ~~~ for (var i = 0; i < e.REPLACETHIS.length; i++) { var return =...
Repeating Data from RemoteSource
The code below is repeating data, for no reason. API is fine. ~~~ db.execute('CREATE TABLE IF NOT EXISTS people (gt TEXT UNIQUE, gs TEXT, ga TEXT, mt TEXT)'); for (i = 0; i < json.Data.Friends.length; i++) { friend = json.Data.Friends[i]; var gt =...
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] =...
Dynamic tableviewvrow eventlistener that detects which row has been clicked
Hi everyone, I have a dynamic tableview populated with mysql data. The goal is to open a detail page when clicking a row and passing the right data from that row into the detailpage. So the next step is to create a event listener that is able to detect...
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 =...
Adding labels to my tableview with JSON data
~~~ var json = this.responseText; var response = JSON.parse(json); var emptyarray=[]; tableView.setData(emptyarray); var broadcasts = response.broadcasts; /* for(x in broadcasts){ ...
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....
wildcard for finding file with filesystem
I am trying to find any file that starts with 'temp'. ~~~ var fileexists = Ti.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,'temp*'); Titanium.API.info('EXISTS: '+fileexists.exists()); ~~~ But this doesn't seem to work, any ideas?
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...
Need talented programmer to port an existing HTML5+JS app to Appcelerator
I could not find a way to delete this question - but I've found the help I need. Thanks for stopping by!
Make our iOS app work on Android? (Looking for a mobile dev.)
Howdy, I've built an iOS app called [Inspir'd for iOS][1], and we'd like to make it Android "compatible." It seems like there's a lot of little nitpicky issues with the app because some iOS features obviously don't work in Android. We just need...
iPhone Contacts listing crashs on iPhone
Okay, Mobile SDK 1.5.1, Ti Dev 1.2.2, Mac OSX, building for iPhone 3GS 4.2.1. Runs fine on sim, fine on android, crashes on iPhone. Simple to recreate ~~~ var contactList = Ti.Contacts.getAllPeople(); (iterating.. using c as iterator, there is at...
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.
Admob intergration with android
Hi Has anyone already successfully integrated ADMOB advertisements with android? Any response would be appreciated......
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...
2nd app approved - Thanks Appcelerator
Only took about 4 days to build, thanks to Appcelerator. Description PlotMe is a tool that will help plan your daily travels in a more efficient manner. Going to a garage sale? Have a few places to travel to, and want to see which one you are closer...
Looking for Titanium Developer
I am looking for a developer/shop to build an iPhone/Android application using the Titanium framework. If you are interested please contact me at nmr19026 @ gmail Thanks, Nick
Not configured to run for iPhone
I just changed the app-icon in Titanium Developer, saved and tried to run my app on emulator. Buttons are completely gone in the "Run Emulator"-view. Starting a new project in Titanium (with copying my "old" resources) works pretty...
Problems with Installation/Running Titanium Developer App behind corporate proxy
Hello Titanium Developers, I am encountering several problems installing and running Titanium behind a corporate proxy. I applied this fix I found somewhere online to enable authentification in "offline" state: ~~~ // index.js, around line...
This project is not configured for Android
I have followed the threads about missing Android tabs as there was no sign of Android tabs on the test&package window. Installing the suggested fixes broke Titanium completely and wouldn't run existing I-Phone projects. I deleted all the Titanium...
Showing 1-23 of 23