Community Questions & Answers
Can't get JSS to work on iOS
I feel pretty stupid about asking about this, I can't get JSS to work in a fresh 1.5.1 project. I use [this][guide] example, so I don't really know where I could go wrong... **app.js:** ~~~ Titanium.UI.setBackgroundColor('#000'); var window =...
Prepend row(s) to a table view?
Is there a way prepend rows to the beginning of a table view, before anything else? or is after the only current way?
(Android) tabGroup always visible?
When creating a tabGroup in iPhone, the tabgroup's buttons is visible throughout the app. Even after opening windows with `Titanium.UI.currentTab.open(win)` you can switch tab by tapping in the tabGroup in the bottom. How can I get the same behaviour in...
Ti.API info and debugging not working under mobile SDK 1.5.x?
I've been trying to use Ti.API.debug and Ti.API.info to show up while running the Android emulator, and just FINALLY realized that it won't work under mobile SDK 1.5.0 and 1.5.1... once I compiled my code (as well as KitchenSink) under 1.2.0 mobile SDK,...
TableRows disappear when scrolling on Android
I have a tab that displays a tableview. I have a view for each row and when I scroll down and then back up, the contents of the rows disappear. It only affects 1.5, 1.4 works fine. Here is the code I'm using: ~~~ var data = new Array(1); var...
Advertising Modules - Modules in General
How are we going with the advertising modules, I asked this question 6 months ago and it was stated that the modules were on their way, With 1.5 just about here. Are the advertising modules part of this or will we need to code them seperately. I'd like...
[Solved} Large center tabbar tab like gowala
A popular new iphone design trend is the use of a large center tab for the apps core function. Gowala and Path are a good example of this. I have spent days trying to figure out how to do something like this using titanium using things like the custom...
UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position
I'm trying to use 1.5 (rc2 and continuous builds) on Vista 64 and I get this error. With 1.4 everything works. >[DEBUG] detected module analytics, path = C:\ProgramData\Titanium\mobilesdk\win32\1.5.0\android\modules\titanium-analytics.jar >[DEBUG]...
1.5 sdk ipad launch orientation
There seems to be an issue with the new 1.5 SDK. The ipad orientation doesnt seem to detect what orientation it is in on launch and is launching everything in portrait mode. Even when the ipad is in landscape and you launch the app, it even moves the time...
Can I have an imageView overflow?
I have an imageView that I would like the image width to stretch to fit, but let the length just overflow if its too large for the container. How can I do this? Thanks :)
1.5 mobile SDK cant use Ti.App.createBackgroundService
Is Ti.App.createBackgroundService not yet in the latest build of 1.5? or am I using it wrong? --- var serviceProxy = Ti.App.createBackgroundService({ url:"bg.js" }); --- I am getting an error of: [WARN] attempted to load:...
[Solved] Extended Tab Bar!
Hey guys! Just wanted to share my most recent project :) This script will "extend" the tab bar in iPhone/iTouch projects to allow any image to be used. This means things like larger full color center tabs, or even full color icons for all...
Help me a example or Api reference in Background service / Local notification
Hi, I'm a newbie of Titanium Appcelerator. I read KitchenShink project, but I don't see where it show me Background service and Local notification. I searched a lot here, most of posts said that the MobileSDK 1.5 support Background service and Local...
Speed attribute geolocation under iphone with Appcelerator 1.5
Strange: geolocation works fine on iphone 3G with iOs4.1 Appcelerator 1.5 master, but does not return value for the speed attribute. Someone the same experiences? we
TabGroup zindex
Is there a way to add an item to the view with a zindex so that it floats above the tabgroup?
Titanium Mobile Roadmap: 2.0 in July 2010
It's late September now... you might want to update the roadmap. http://developer.appcelerator.com/doc/mobile/roadmap/ Did 2.0 turn into 1.5? Will 2.0 be coming after 1.5? Before it? Did I somehow jump into an alternate universe where numbers go...
Text wrap around image?
Is there a way to make a label wrap around an image? Thanks, Matt
Webviews failing on 1.5
Has anyone else noticed a problem with executing webviews when compiling with titanium 1.5. If i change the TI_VERSION in the project.xcconfig back to 1.4.1.1 then the webview works perfectly. When using 1.5.x it fails...Any ideas anyone? The project was...
Develpo for Android SDK 1.5
I have a mobile with android 1.5 and i'm trying to compile theh hello world sample for this, but i can't install the aplication because the adb -d logcat says: "the aplication need android version 4" in the xml line 7. I have try to change the...
Background disappears after re-opening window
Since upgrading to mobile sdk 1.5, I'm losing backgrounds on windows that are closed and then re-opened. Here are definitions of some of the windows I'm using: ~~~ var loadingWindow =...
Facebook login view
Is there a way to replicate the facebook login popup window? The best I can get centers it in the window, not centered over the entire display area (like the bottom of the popup over the tab bar) Thanks guys!
Tableviews 'remembering' selected states after setData
Since 1.5(.1), My tableviews are remembering their selected state after a setData (and sometimes even an append). Should I create a table with 10 rows and select (via click) row 3, upon replacing that tables Data through setData, row 3 will still be...
createHTTPClient setTimeout issues in 1.5
hi, in 1.4 i had to use ~~~ var xhr = Ti.Network.createHTTPClient(); xhr.setTimeout([10000]); ~~~ for setting a timeout. note the array. this crashes my app now in 1.5. ~~~ var xhr = Ti.Network.createHTTPClient(); xhr.setTimeout(10000); ~~~ seems to...
Android has no mapview addRoute support?
Hi.. I can tell both from the documentation and kitchensink that addRoute is not supported by Android. How come, and would it be available in 1.5.0? I really need it. secondly, I know how to program it in native java for android. How can I combine this...
Forcing installation of Titanium SDK 1.4.2
Hello, I recently purchased a new Mac and would like to use the 1.4.2 SDK instead 1.5.0 (my app won't work with it). The app still runs fine on my old Mac when compiled with 1.4.2, so if I can install 1.4.2 on my new machine, I can continue working on my...
Android: custom AndroidManifest.xml
Where do I put my custom manifest xml now with Titanium SDK 1.5? When building it says I have to put it under the platform/android directory, but where's that? I couldn't find any references in the programming guides.
TI Developer Reset?
I have deleted a project and would like to reuse the application name. But for some reason I am not able to use it. TI is working and I can create the project using a different name. Looks like the original name is linked to the previous definition. Is...
Android: Titanium.Network.online not working
Tried: ~~~ Titanium.Network.online Ti.Network.online ~~~ Neither of them works. I get ~~~ Cannot read property "online" from undefined ~~~ What the ..? Using Titanium SDK 1.5
[ERROR] Error: Traceback and Android SDK
Hey folks, every time I get an error message if I push the "stop" button in the emulator. Like this: http://pastie.org/1379574 Also i can't install the Android SDK, e.g. for testing the KitchenSink Demo. If I choose the Android SDK directory I...
1.5 Titanium.Media.createAudioPlayer: setUrl is not a function
in 1.4 Titanium.Media.createAudioPlayer.setUrl(url) worked fine, in 1.5 it complains "... is not a function". what's wrong? no hint in the api doc. --uno
1.5 release is way too buggy
I have been a big fan of Ti until today. I had high hope of 1.5 to resolve some memory issues for me. Instead of helping, this 1.5 is like a bomb, blowed everything away. I was trying to start my app and noticed a bunch of issues. 1. HttpClient...
Upgrading to 1.5. Cant compile 1.4 projects
Hello, is there anything that must be done in order to be able to compile 1.4 and older projects into newer appcelerator sdk's? Thanks for your help!
Use of ActivityIndicator crashing my app...
here is a past of the error deliver in the console as soon as my app crashes: My environment is: mobile SDK 1.5, simulator 4.2, running on OS X [edit] Fixed, see comment
Custom events not working for Android in 1.5?
I have an event listener in my app.js attached to a window in a tabgroup. In the window, I try firing the event and it doesn't call it. It works in 1.4. I've also tried adding a Ti.App event listener and that doesn't work either. Here is my...
Scroll View Not Scrolling (1.5 SDK)
I have multiple scroll view windows that when a lot of data is placed in them they disable the ability to scroll. They work completely fine in 1.4.2. (They don't scroll and they don't allow any touch events.)
1.5 - Cannot hit Build for device - and annoying 'you have to select the Android SDK'
Some of my projects (and the Kitchensink app) have the 'Build for device' button grayed out (does not work). And Titanium keeps asking for the Android SDK. Anyone has a fix for that?
JSON.parse not working
Hi all, I'm trying to parse some JSON on my app, and JSON.parse seems to be failing to do so. It just returns a {}, when the original 'text' JSON was the one I pasted here http://paste.pocoo.org/show/302607/ (it's quite big :P) On the other hand, using...
1.5 build errors
When updating my mobile project from titanium v1.4 to 1.5 (CI build), it gives me the following errors: [INFO] Compiling Javascript Resources ... [ERROR] C:\Navtrak\Mobile\Titanium\Navtrak\build\android\gen\com\navtrak\navtrak\NavtrakApplication.java:31:...
navBarHidden:true doesnt work on 1.5 android
Hello, Title says it all, can't get the window to open without the titlebar... It works with 1.4 not with 1.5 anymore! If anyone from Ti could help that would be great, my last questions seem to get lost in the Q&A void :)
Losing Titanium libraries?
I created an iPhone app, without major problems, for a large real estate firm.. And I need to make an Android app too.. But the iPhone project couldn't be run on the Android emulator, so I put the code aside, and started from scratch.. But the current...
ScrollableView Push Views bug on 1.5
Hi, 1.5 seems to have a bug when pushing a new array of Views to an existing scrollableView. The previous views are still visible in the background and the app starts to lag a lot... Anyone experiencing this? The workaround is to loop through all the...
How to download the latest 1.5.0 beta build?
When I go to the github, I cannot figure out where to download the latest 1.5 beta build of the mobile sdk. Anyone that could be helpful and send me a link.. secondly, anyone have any idea if mapview gets a addRoute for Android in the 1.5? Thanks..
Titanium 1.5
When titanium 1.5 will be released? There's a lot of bug on Android api now That i hope will be fixed Like zoom/pinch in webview.
iOS 4.2 and 1.5 build
Has anyone installed and used the latest build 1.5 with iOS 4.2 GM? Any issues or problems?
Release date 1.5
Hi guys, is there any official date for the new release of Titanium? I'm having a major problem of memory leaking with scrollableviews and imageviews, I heard they would be fixed for the new version here's the problem I'm having:...
Build Titanium 0.8.3 - HELP!
I'm building an app for the Android 1.5. It seems that Titanium 1.3 only works for 1.6 and above. A suggestion somewhere was to build Titanium 0.8.3, but I can't find any step-by-step instructions to do so. Can anyone provide this? Thank you.
Develop and test for android 1.5
Hello, I have an HTC HERO (european) with Android 1.5, I recently tried to use Titanium and run applications directly on the phone. It obviously didn't work and probably it's due the android low version (because at least 1.6 is needed). So the question is...
Android 1.5 SDK
Hi Folks, Does anyone happen to know what changed in the Titanium SDK to cause applications to stop working on the Android 1.5 SDK? Tried dropping the version numbering in the AndroidManifest file to support 1.5 but it crashes straight away! Thanks!...
Android 1.5
I know there are a number of other questions on this subject and I've read them all. I need to support 1.5 (Motorola BackFlip on AT&T), and I've managed to get 0.8.3 compiled from Git and working on the device. (The old kitchensink is working). What...
Showing 1-49 of 49