Community Questions & Answers
How to destroy a WebView from memory (iOS)
Hi, I'm trying to remove a webView from memory, removing from its parent component and assigning `null` value to it. This works with any other component in the same view, but not for the webView. I've tested with xCode profile tools. Using Allocations...
titanium sdk 1.8.1 not working on android sdk 2.2
hi, this is not the first time i post this problem and nobody can help me... please if you had something like this let me know. I have problem when i try to load my application on android phone with sdk 2.2 the error is: ~~~~ [92,19]...
Alloy 1.1.1 View Bug when using percentage width
Hi, The following code used to work on Alloy 1.0 ~~~~ <View layout="horizontal"> <View width="8%" backgroundColor="green"> <ImageView id="imgGps" image="/icones/gps.png"...
Possible Map.View (region) bug & workaround
Whilst developing an iOS application this week (tested on 6.0 Emulator & Device) I think I may have stumbled across a bug within the map view, in SDK 3.1.0 GA. What was happening was that the mapview was completely ignoring the region dictionary...
titanium build command always prompts for target platform?
I've been using 3.0 for about a week now. And I've got a nice command that should just run the entire build and run process, but it always ask "Target platform [android,ios,mobileweb]" no matter what Here's the command line: `titanium build -p...
click event on Map.View does not fire if title property isn't set
I'm using SDK 3.1 and I don't want to display the full annotation when the user clicks on it, I just want to show the pin on the map and detect the click to show an overlay view. In order to do that, I create the annotation without the `title` property. It...
URGENT: Location permission dismiss quickly before the user can accept or decline.
Hello, my app asks for location permissions to the user and it was working perfectly before doing some updates to the SDK and I'm just guessing that this is the issue because I didn't change the code that used to work. Now if the user installs for the...
Database not working on iPhone, while working on iPad?
I have the exact same code: --- var db = Titanium.Database.open('bookmarkDB'); db.execute('CREATE TABLE IF NOT EXISTS bookmarkdata (id INT, title TEXT, thumbImage TEXT)'); var exData = db.execute("SELECT * FROM bookmarkdata"); --- On the iPad...
Android 4.0.0+ animation on a view with rounded corners causes crash
Not sure if its a bug, or me doing something stupidly, but running this little demo snippet I made on the emulator shows the animation happen, and then Android causes a crash, with no error report. ~~~ var win = Ti.UI.currentWindow; var...
Fallback Authentication for Facebook not working in 3.1.0.GA
I am trying out the new Facebook-module in SDK 3.1.0.GA. While it does works fine if you have set up an integration from your iOS6.0 phone to FB, while **it fails to fallback to something useful** when this has not been done. This is as easy to...
TextField paddingLeft Problem
I launched my first iPhone app built with Titanium last week (called Automotive App currently only available in Canada), and I started getting reports of an odd bug happening with TextField's. What was happening is that the first 1/6 of the TextField was...
Can't compile to Adhoc with Titanium CLI 3.1.0
My version Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA ~~~ /usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181 throw e; ^ TypeError: Object true has no method 'trim' ...
What is happening with the consoles?
Since de last SDK update, a MS-Dos windows if open with emulator.exe console (difficult to find errors)  and from Titanium Studio, the console selector grows and grows!  Anyone else is happening?...
Android Fastdev Issue
Hello When attempting to use fastdev, my application suddenly throws null exceptions. When I disable fastdev via tiapp.xml, it builds and runs fine. This seems to be a problem with the way it exports the code to the device, since the way it blows up is...
webview load event not triggered anymore with 3.1.0GA - bug?
Since I've upgraded from 3.0.2GA to 3.1.0GA users can't login via a webview anymore, because the load event isn't triggered anymore. Users login via a simple webform in a webview. After they login they're redirect to the same page. With evalJS I pass...
webview in android
What is the problem with webview in Android emulator ? the app crashes all times... is it a bug in emulator or titanium ?
weird bug after clicking on textField
Hi, im developping a window (http://dzmob.net/tags.png) which displays tags for a photo and allows to add a tag : when there is no tags for a photo. a click on textField which allows to write tag and add it generates this weird exception !!!...
Android : "An application restart is required" - app in Market
I've seen this issue here and there in the Q&A from posts going back quite some way and assumed this had been fixed, but I just completed and uploaded an Adroid app to the market and, to my dismay, after installing the app and clicking 'open'...
highlightedColor in selected TableViewRow gets stuck
See [my screencast](https://vimeo.com/63740196) for an example of what I mean. You see the problem about 20 seconds into the video. It seems to mostly happen when scrolling the tableview causes the selected row to go off screen. When you scroll to bring...
Build Error :- Android
Hi I am new to Titanium. Facing one Issue continuously since last few days. Whenever I build anything to see the stuff in Emulator getting below error [ERROR][CheckinTask( 169)] Checkin failed: https://android.clients.google.com/checkin (request...
Normal html inputs, labels,... with the last letter cut off
I have a desktop application that is built with HTML code and what is happening is that all word inside inputs, labels, paragraphs have the last letter cut off. For example if I put the number "1", I almost can't see that is the number one,...
Ti Studio 3.0.1: Password Field with createTextField too short
Hi experts, When I create a password field like this ~~~ var l = Ti.UI.createTextField({ passwordMask: true, borderWidth: 1, borderColor: '#FF0000', hintText: 'hint', width: '200dp' }); ~~~ The resulting field accepts only one character. If I...
Android imageView.toBlob - get image dimensions (regression bug?)
I am trying to get an images dimensions on an android. I've created a simple test script below. On an android (HTC Desire) clicking butt_1 'toBlob.size()' will return the correct dimensions when using Ti:2.1.5. However when switching to Ti:3.0.2GA or...
android : Tableview No defaultimage and image disappeared while scrolling
I don't see this problem on iphone just android built. There's no defaultimage appeared on tableview image. It's just blank. When you scroll, remote image would reappear and disappear again. Anyone with android built experiences similar bugs or just me?...
TextArea Bug
When TextArea has automatic width, it trims white spaces. To reproduce the issue, run this code, focus the textarea and touch the spacebar. You would expect to see a white space appended to the text but nothing. Look also at the "change" event...
Can't logout an unverified user.
When trying to log out a user that was just created using ACS Users.create, but has not verified their account yet. I receive this error. "You have to confirm your account before continuing" Unless I'm doing something wrong, I believe this to...
Textfields not updated if value is set to null by alloy binding
Hi all, experimenting with alloy and data binding I found out that if a texfield will be bound to a null attribute, its text value wouldn't be updated (if a previous value was there, it's not even cleared). I tried after with a single standalone app.js...
Alloy view items gets misplaced after returning from navgroup.open create controller
Hi: I've got an alloy view that as an imageview button that calls another view using: ~~~ $.navgroup.open(Alloy.createController('about').getView()); ~~~ But when returning from that view the view interface gets misplaced. Take a look ... Original...
Titanium Studio Crashes on Load
Ok, so yesterday I used Ti Studio and all was fine. I turned the computer off and went home. Today I tried to open it again and bam! It crashes on the splash screen showing the message `Loggin In`. It says: `Titanium Studio Quit...
Can't distribute app on application loader.
I am upload app on the application loader. I'm test on device is correct. But I'm upload app on the application loader, the application loader show error below. --- application executable is missing a required architecture. at least one of the following...
CAUTION!! - Bug on TableView.ScrollToTop on 3.0.2.GA
Hi devs!! I have a bug when I´m trying to scrollToTop(0) on 3.0.3.GA version. Sometimes this make tablerows hiding. And the worst... it´s happens sometimes not always. Solved downgrading to a 3.0.0.GA Any solution???
Android "An application restart is required" Problem
Hello all, I noticed that my Titanium app displays message "An application restart is required" when I download apk and install to my Android device. I googled it and found many similar questions. It seems that this is a classical problem. ...
[ERROR] Application Installer abnormal process termination. Process exit value was 1
We are getting "[ERROR] Application Installer abnormal process termination. Process exit value was 1 " error when we try to build for android. JAVA: java version "1.6.0_35" Java(TM) SE Runtime Environment (build...
iOS Device displays splash screen with 1px white line at bottom
- App Type: mobile - Titanium SDK: 3.0.1.201212181159 - Platform: iOS 5.0.1 - Device: iPhone 4S I've noticed something really strange - when I deploy my app to my device, the slash screen displays a white line along the bottom with a height of 1px (maybe...
Views being cut off unexpectedly
**Setup** **SDK:** Titanium SDK 3.0.2 - 02/19/2013 **Device:** iPhone 4S **Device OS:** 5.0.1 I've just noticed a strange bug with my application. There are a few views within my application which have been cut off by 1 pixel from the bottom. [Notice...
TableViewRow opacity fix ?
Hi, I've been searching on some forums and websites about the TableViewRow opacity properties (seems like it's documented but don't work) and didn't found anything about a way to fix this bug. ~~~ // These tests don't work var row =...
"singletap" event on TableView response weirdly on IOS device (BUG ???)
I am using a TableView and TableViewRow to display the information (image and labels) retrieved from localhost database. I used "singletap" event to respond to the user tap on each row and then display detail information of that selected row. But...
Detail property of TableViewRow 'click' event does not work?
Hi, as described in docs (http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.TableViewRow-object) a TableViewRow provides a `detail` property within the `click` event object. It should be a boolean to indicate if the right area was...
TableViewSection.headerView doesn't work
Hi, I've a problem with tableViewSection.headerView. Here is my simple code of app.js: ~~~ Titanium.UI.setBackgroundColor('#000'); var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var dataSectionSopralluoghi =...
Checkbox always resetting to uncheck after scrolling tableView
hi i create a simple application using tableView and checkBox (switch).. that checkbox is inside the tableView row.. here's my code : ~~~ var tableData = []; for (i=0, len=realData.length;i<len;i++){ var row = Ti.UI.createTableViewRow({ ...
Titanium.App.Properties.removeProperty does not force writing option
Titanium desktop 1.1.0. Seems like function: ~~~ Titanium.App.Properties.removeProperty("key"); ~~~ does not really write to global `application.properties` file like setString do. It's means that when you remove property from...
[ERROR] : model.config.adapter When using Backbone.save or create methods
Full error: Script Error = 'undefined' is not an object (evaluating 'model.config.adapter') at properties.js (line 10). This was happening on the release candidate I installed earlier this week, but was not feeling well, so I wasn't working much....
SQLite Issue (database is locked)
I have a tableview and handle the row deletion the following code: ~~~ tableView.addEventListener('delete', function(e){ if(e.row) { var row = e.rowData; var id = row.id; //custom property var myDatabase2 =...
Javascript SDK Demo bug & OAuth question in JS Demo
I just got the Javascript SDK Demo up and running locally. https://github.com/cocoafish/cocoafish-javascript-sdk-demo I ran into a few problems. First, in trying to log in with OAuth via sdk.useThreeLegged(true); I was getting an error - "Log-in on...
Accordion - Vertical Layout - Animate jumps instead of gradual height changes; also can't animate to 0
Alloy: 0.3.6 Ti Studio: Titanium Studio, build: 3.0.1.201212181159 As in the title, I'm facing two problems. I'm trying to make an accordion widget which seems like a very easy process. A scrollview, with paired child views and then animate the the...
blackberry app development using titanium studio
When ndk directory was added in preference->titanium studio->titanium Blackberry NDK home could not detect the 'host' directory Blackberry NDK home could not detect the 'target' directory The ndk folder contains directory 'host_10_0_9_284' The ndk...
TITANIUM SDK 3.0 ImageView General Issue
Hi, I have tried this in a number of Macs and had the same problem in all of them so I don't think it is a hardware oriented problem. The issue is that I am calling an image from the internet (local images work fine in any way) inside an imageview and...
Does Ti.Filesystem.File.exists() always return true?
I'm using the following setup: - Titanium Mobile 1.7.1 stable - Titanium Studio 1.0.1.201106171427 - Mac OS 10.6.7 x86 with all updates - JRE 1.6.0_26-b03-384-10M3425 Here is some code to reproduce the problem. Note that in my app, 'app.js' does exist...
Android SQLite bugs ?
It looks to me that there might be some bug in Titanium with Android SQLite. This query: ~~~ db.execute("SELECT * FROM parks LEFT JOIN park_meta ON parks.id = park_meta.id WHERE parks.id = ? LIMIT 0, 1", id); ~~~ Gets me this Error...
Titanium Studio Deleting My Files
Hi, I have been having an issue with Titanium Studio that I thought I should bring to the attention of the appcelerator staff. If I create a new file in the app explorer window, studio remembers this in it's undo history. When I am testing changes in my...