Community Questions & Answers
White gap in tableview rows
I have a table view with rows populated with images. Each image shares the same color background, creating a nice feel to the app, except there's this really annoying 1 pixel white strip in between each row. This is on iPhone. I haven't tested on Android...
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...
Xcode could not locate source file: TiObjectRef.cpp
Anyone else run into this while debugging in Xcode? I've hunted around.. and cannot locate the file.. even in older builds..
Stopping iphone from asking current user position for map?
Hi, I have a map view that displays a single annotation. Something like this: ~~~ var mapView = Titanium.Map.createView({ mapType: Titanium.Map.STANDARD_TYPE, region:{latitude:mapRow.lat, longitude:mapRow.lng, latitudeDelta: 0.05, longitudeDelta:...
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:...
Invalid method (createToolbar) passed to UIModule on device
Hey. I'm trying to create a toolbar on a modal window and it works well on simulator. But after installing to the device and then it shows the error "invalid method (createToolbar) passed to UIModule on device. The version is Titanium 1.4.2, iOS 4.2,...
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
Android Video Player within a non fullscreen window
Is it possible to have a video player that can be inside a window that is smaller than fullscreen. Example. Window with a navigation area at the top and then a window below it for content. Video is tapped and video should open within the content...
EXC_BAD_ACCESS when show camera
hello I'm debugging my app because it crash when take a photo with the camera. Debug console show EXC_BAD_ACCESS and app crash. I'm compiling whit stable 1.4.2 sdk. Any idea about this error?
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', ...
Have 'back' go to previous window instead of close the application
I am having a similar problem as [this one] (http://developer.appcelerator.com/question/37081/stop-the-back-button-closing-app-on-android). Basically, I want my 'back' button (in Android) to reopen the previously opened window, instead of closing the...
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...
Navigation of pages
How would i navigate from one page to other page? which control i have to use?
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....
Rotating Timer
I have a number of remote images that while they are loading I would like to display the rotating timer/animation. Has anyone an example how to do this? thanks
downloading a file, question on how to call function
Hello, I am attempting to use the code in the answer to this question: http://developer.appcelerator.com/question/45471/how-to-save-a-remote-imagepicture-to-database-or-filesystem I do not think I am calling the function correctly. Here is how I am...
removing the default activity indicator from webview
since i have another activity indicator in the toolbar, is there a way to remove the original activity indicator when first loading webview? thank you
How to pass image taken with camera to another window
Is it possible, without saving to photo gallery, to pass image data from the success result of `Ti.Media.showCamera` to a new window so that it can be assigned to an imageview's `image` property? Kitchensink demo `camera_overlay.js` shows assigning the...
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:  (again, I am using Redux (dawsontoth's...
Can iPad 3G send ussd commands?
Hello, I have an iPad 3G app that needs to send some ussd commands to perform some network operations like recharge account etc.. is that possible since it has the 3G sim card etc.. ?
Address Book support in 1.4.3
I am using continuous Build 1.4.2 because it has Address Book support for Android. But I see that there is now a 1.4.3 build. For the sake of staying current, should I be using 1.4.3 instead of 1.4.2
Intel
Is there plans to have titanium work with Intel Atom* and ARMv7 architectures
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...
Changing Window Content within a Navigation Group
I'm using a navigationGroup, and on one window the user has the option to toggle between multiple ways that the data on the window is displayed. So, when a button is clicked I need to change the content in the window without changing my...
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...
KitchenSink Map view shows empty grid in Android
API 2.2 - Windows 7 The location (Atlanda stadium) shows correctly but on an empty grid Works fine in iPhone.
Save Remote ImageView from ScrollableView to the Photo Gallery
Hey guys, does anyone know how to save a remote ImageView from a ScrollableView to the Photo Gallery? I was thinking I would have to use xhr, but it seems that there should be an easier way, since the image is already loaded in an ImageView.
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...
back button color
hi, is there any chance to set the back button color independent from the bar color? nothing found yet except backround pictures.
Orientation oddity: Switches back to portrait when tab is changed
Hi, I just added support to my app for orientation change and I'm experiencing a couple of anomalies. The first is that when I've changed orientation to landscape, then hit a tab, it switches by itself back to portrait view. Views within the same tab...
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...
Background image not showing on child table
I have an app that has a single tab that contains a table, this table has a child in another .js file. I have a background image setup in both files but only the first one shows up and I cannot find out why. I am calling the background image with: var...
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? 
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...
Trigger link to new screen from inside UIwebview?
We have a section of our app that is constructed using styled HTML in a Uiwebview to present data. We have icons/buttons inside that webview that need to trigger links to other screens/views inside the app. Eg one icon links to info panel etc... This is...
Showing 39,201-39,250 of 47,759 1 … 780 781 782 783 784 785 786 787 788 789 790 … 956