Community Questions & Answers

setSelectedRow doesnt work

Hi, in my app Ihave a picker with to colums. The setting of rows only works in left column. ?? ~~~ anlasspicker.setSelectedRow(0, ndx.main,true); anlasspicker.setSelectedRow(1, ndx.sub,true); ~~~ ndx.sub is filled with i.e. 3. I have no...

Append to table help...

I have an app that does some geolocation, sends info to a server, and receives a JSON array. I then parse and add that to my table, no problem... My issue now is that I'm wanting to fire it at a certain interval, and update the table with new information...

track GPS in iphone background service

Every example I've seen for the background service people use a notification but Im having trouble figuring out my scenario. Curretly my app tracks a users location (and stores in db) and also runs a timer. Where I'm having trouble is when the background...

Add counter to TableViewRow

Hi there. I need to create custom table row with label, counter and right arrow (using hasChild property). Like on [this picture](http://steelrat.info/wp-content/uploads/ui_list_item_example.png). I tried to do this with following code: ~~~ var data =...

Database file location

I'm working on an Android application that use a sqlite database. The database is deployed using Titanium Studio (is in the resource directory) and I use that using: ~~~ var db = Ti.Database.install('myDb', 'mainDb'); ~~~ With the terminal I see that the...

How to tell when worker thread is complete?

Hello, I'm using a worker thread to carry out a search (simply checking an array of strings for a certain query) in the background of my main thread; it works wonderfully, but I can't seem to get it to let me know when the search is complete. Here is the...

Global variables on Android

Can anyone tell me why this simple global variable test doesn't work on the Android simulator but works perfectly ok on the iOS simulator (I've not tried devices but I assume I would get the same result). In iOS the global variable is detected in the...

Titanium pen writing

Hello, Is there a way to enable people to handwrite on the tablet with a pen, and saving the writing somewhere (as image... or if I'm lucky, as a characters recognition and save the text) Thx Etienne

How to move project to new system?

I have a titanium project that was given to me from our vendor. Problem is Titanium hard codes the path to the developer's Titanium SDK ALL OVER THE PLACE. What do I need to do when opening an iOS Titanium based project on a different system with a...

back without close the window!

I have two windows in my application. is there a way to get back to the "window 1" without to close the currentWindow "window 2" ??. There is a music playing in the "window2" and I don't want to stop it. what's the best way to...

Crashing iPad app

Hello. I have a crashing iPad app due to low memory. (iOS 5.0.1, iPad 1, TiSDK 1.8.1) The app uses a lot of ImageViews & WebViews which are created and destroyed again. I also cache .png & .html files in the Caches/ directory. I profiled my app...

how to make value globally used..

hi, for my application i need a value to use in another function but not getting way to make it globule. 'var row_number; custom_row.addEventListener('click',function(e){ //Index of the table view row row_number=e.index; ...

Weird Internal Error

Hello, I am blindly trying to make an Android module, and I succeeded in getting it working in a trivial example, but when I try to use it in my project, I get the following error: **In ti:/window.js:280,34** **Message: Uncaught TypeError: Cannot call...

crash report from android market

hello, i published my app to android market recently, and got the following crash report, how can i know which part of my code i should check? com.zorpia.GetDating is my appid, try it if you are insterested,any suggestions/complaints are welcome; thanks...

Remote log?

When I am testing with [TestFlight](https://testflightapp.com/), you can turn on remote logging so that your console messages are visible in [TestFlight](https://testflightapp.com/). Does anyone know of something similar for "production" logs...

OptionDialog Missing Options?

I am trying to use Option Dialog to build a app for ipad, Below is my code ~~~ var opdCompany = Titanium.UI.createOptionDialog({ title:'List Of Workplaces', options:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20], cancel:...

1,110 views
asked 3 years ago by Caesar Li
last activity 3 years ago

Clear textfield in tableview

I have a textfield inside a tablerow. When the user enters some text and then hits return, I want this textfield to clear. It should work like the way Wunderlist adds new folders/tasks. I've tried updaterow but it takes in data, not textfield. I've tried...

how to change the annotation position

I create an annotation (latitude = 0, longitude = 0) in a map.Now i want to change the position of the annotation. i tried annotations,addAnnotations and setAnnotations, but they didn't work. Help me please

log console

When click a button, will console a string, where can I see it at titanium studio? Here is my code: var buttonIntent = Titanium.UI.createButton({ width : 'auto', height : 'auto', center : 'true', textAlign: 'center', title : 'Click button to start...

Changing the editor to use Vim

I'm using 1.8.1 on a Mac but find the editor slow and difficult to use compared to using Vim. Is there a way to use the vim editor at all within Titanium, is anyone else doing this?

Problems Creating A New Ruble

I've followed the "Creating a new Ruble Using the Wizard (New!)" and "Checking to ensure your Ruble loaded" steps on the https://wiki.appcelerator.org/display/tis/Creating+a+new+Ruble page. I can see my Ruble is loaded, but the project...

Button will not glow

We have solved this issue in the past, and I have reread and worked through the older Q&A here. We are now on sdk 1.8.0.1 and I cannot get this button to glow. The button is on a view, on a window. I took the background color and background image off...

Building Distributions Locally

Is it possible to create distribution installers locally? In other words, is it possible to create installer packages (for the local OS platform) without an internet connection or access to the distribution servers?

barImage 1.8.1 iOS

I'm using barImage on my window within a Navigation controller (this happens with both Navigation and TabBar). When I push another window onto the controller *without* a barImage, the barImage of the previous window appears underneath the title of the...

Showing 40,951-41,000 of 67,803 1815 816 817 818 819 820 821 822 823 824 8251357