Community Questions & Answers

Build with 1.3 using SDK 4.2 possible?

My app runs fine with Ti 1.3/SDK 3.1.3. After moving to SDK 4.2 (and of course loosing SDK 3.1, thanks to apple) my app shows multiple errors using 1.4.x or 1.5pre (htppclient, tableview, map, geolcation ...) So I would like to wait, until some of the...

android:back event doesn't work

I'm trying to use an android:back event on a heavy-weight window (opened using modal:true) to close the window when the back button is pressed. However this event never fires, is this another bug, I copied the code exactly from Titanium's own...

Add count(badge?) to tablerow

I'd like to add something like a badge with a count to a tablerow. The only code examples I've seen involve badges on tabs. Here's a pic of what I'm trying to do: http://img230.imageshack.us/img230/2899/mailunified20101116.jpg Any ideas? Thanks edit:...

Route/Navigate to.... [TomTom?]

Hi there, I was wondering if anyone knows how to push a postcode/address into the native TomTom app? The app 'AroundMe' does this well which is what I'm trying to replicate. Many thanks

iphone app build error

I have installed kitchensink in titanium and build app in Xcode with iphone simulator 1.3.1 as the output. its give me errors: Undefined symbols: "_OBJC_CLASS_$_NSURLConnection", referenced from: __objc_classrefs__DATA@0 in...

i18n from 1.5 works in the Simulator but not in the Device

Hi All, I was looking for a i18n solution for my project, and I found this blog post from Jeff (http://bit.ly/hv3VpE). This is really great, I'm using a nightly build of 1.5 due to a bug in the HTTPClient, and as a side effect the i18n is already on my...

Search field, not search bar?

Hi, I am trying to implement a search field on the top right of my IPad app. For some reason i cant define where the search bar will be located. Its possible? Can someone point me to some examples? thanks in advance

Unrecognizable Error in iPhone Log

I am getting this error when I run my iPhone App. Can some one shed light on what the problem could be? Detected an attempt to call a symbol in system libraries that is not present on the iPhone: mmap$UNIX2003 called from function...

Bug in Grouped TableView?

Hi there, I'm deploying an app for iPad and I've been working with tableviews. This is the code I use: --- var myList = Titanium.UI.createTableView({ style:Titanium.UI.iPhone.TableViewStyle.GROUPED, backgroundColor:'#ff0000', ...

HTML

Hi, I have created two html files namely index.html and weblike.html in the resource directory.In the main app.js file i was called the index.html in the below syntax. var win1 = Titanium.UI.createWindow({ url:'index.html', title:'Tab...

Calling HTML.

Hi, I have created two html files namely index.html and weblike.html in the resource directory.In the main app.js file i was called the weblike.html in the below syntax. var tab2 = Titanium.UI.createTab({ icon:'static/weblike.png', title:'Tab...

Custom background on UINavigationBar

I am new to titanium. I am coming from "attempting" to build apps natively. One of the things, I did on an app was change the background of the UINavigationBar. Is this possible with titanium? Here's a link to the native...

How to create a Button...

Hi frnds... m very new to titanium n m trying to create a button in android cn anyone pls provide sample code on how to create a button....

jquery.getJSON is there a way to do this in Ti?

I have a JSONP feed that I would like to consume. On the web I use JQUERY. But on Ti, I parse out the center of the JSONP file. Not elegant. Is there a way to do it as I would in jQuery? Can I use jQuery in Ti? If so, how do you add jQuery to a file?

Facebook Oauth 2.0 Sessions

I'm wanting to exchange my sessions for oAuth sessions after the user logs in through the app. I'm using Facebooks documentation on how to exchange the sessions but I was wondering how I can get those sessions to update in the app as well

AirPlay in the works?

In the native audio control for the iphone SDK is an airplay feature. Seems this hasnt found it's way into titanium yet, can someone confirm if this is in the works?

With Sqlite, how do you get RowId

With the Sqlite, how do you access the autoincrement field RowID for a table row from a ResultSet? I have tried the resultSet.fieldbyname( 'RowId' ) with no luck and there does not seem to be an row index function. Using Titanium 1.4.2 for the Iphone...

TableViewRow hasChild not working?

of course it's quite possible I've just lost the plot.. I have ~~~ var row = new TableViewRow({hasChild:false,height:50,backgroundColor:rowColor}); ~~~ Results in this: ![](http://imgur.com/Y3vTr.png) (again, I am using Redux (dawsontoth's...

Problem running KitchenSink Application

Hi, I have just installed Appcelerator and I am trying to get the KitchenSink Demo program running with the android emulator. It fails with an error : [ERROR] Failed installing com.nolanwright.kitchensink: pkg: /data/local/tmp/app.apk [I put the...

Make map annotation display on map load in android?

Is there a way to make a map annotation tooltip show up when the map is first loaded in Android? In IPhone it does this automatically, it pops up the tooltip with the title and subtitle. However in Android, you have to click on the pin in order to pop up...

createView problems!

I have a problem with my view. this is my code: ~~~ var barV = Titanium.UI.createView({ borderRadius:0, backgroundImage:'images/bar.png', width:Titanium.Platform.displayCaps.platformHeight, height:44, top:0 }); mainW.add(barV); ~~~ In this...

Firing an Event at the End of a Transition

If I close a window with a transition effect, such as: ~~~ win.close({ transition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT }); ~~~ Is there a way to trigger an event when this transition is complete? If I attach it to 'close' it fires immediately...

JS Warning for Read Only attribute

Hey guys, this line: ~~~ parent = Ti.Filesystem.getresourcesDirectory(); ~~~ produces this error: ~~~ [WARN] JavaScript compiler reported "Read only." at app.js:18 ~~~ Why? It's more of an annoyance because my app is working fine, but I'd...

Packaging My App

I'm ready to package my app. I've done everything according to the video on vimeo, however when I go to package it, everything seems like it's going properly, but then it opens up xcode and no zip file is created. It doesn't give me any sort of error that...

Can't run Kitchen Sink on Device (iPod Touch)

Hi, today I installed Titanium Developer 1.2.1. So far it works and I was able to launch Kitchen Sink in iPhone Emulator. I even was able to run an app compiled from a nothing-changed-new-project on my device. But with Kitchen Sink the "Run on...

How can I refresh a label value???

I have a label with its value being controlled via the database and the settings window, trouble is that if you change the value in the settings window and then go back to the details page the label value has not changed. How can I refresh the...

sliding up buttons

kinda stupid question, i searched,.. but how do i slides up rows of buttons like the image below? is it supported from Ti or i just fake it with view / modal window? ![slide up buttons](http://imgur.com/dipWU.png "slide up buttons")

Creating a wizard interface

Hi all, I've been playing with Appcelerator for about a month on and off now and I'm getting the hang of the core things that I want to use like mapping and retrieving data from web pages and now I'm moving on to concentrating on the user interface. I...

Showing 39,201-39,250 of 47,759 1780 781 782 783 784 785 786 787 788 789 790956