Community Questions & Answers
Facebook - Cancelling with Back button Android
Hi all, Okay here's an odd question: I'm using FB Authorize in an Android app. (fwiw I'm using the new v3.2 module... but I've found the same results with both) This then pops up the usual log-in Webview, aok. If the user cancels or it fails, then...
Can't play sound from my Android device SDCard
Hi, I download some mp3 files to my Android device SDCard. When I want to play them they don't start playing. The path of each file is like this one: `file:///mnt/sdcard/Android/data/com.myDomain.myApp/files/ShiningStars.mp3` (I use...
Ti.admob module causes project not to compile
Hi, I added Ti.admob module to my Android project. When I try to compile, after a while I get the following lines: ~~~ [TRACE] Writing out AndroidManifest.xml [DEBUG] /Users/myself/Desktop/android-sdk-macosx/platform-tools/aapt package -m -J...
Android emulator terminates without compiling the app
Hi, I'm testing my Android app in Android emulator but it fails to compile the app and exits. I can't undestand what happens. The log file can be red/downloaded [HERE](https://www.dropbox.com/s/ap130pn42qd3kbg/log.txt) Can you help me?
build on ios simulator but fail on ios Device
Hello, I use Titanium SDK 3.0.2.GA, Xcode 4.6 and iOS SDK 6.1. When I run my app on the iOS SImulator it works but when i try on ios device it fail : [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC...
Titanium Alloy app works - ONLY SOMETIMES - on Android
I have an app based on the Titanium Alloy project available in "studio". It is fairly simple. It has one screen with a form and two buttons. a "save" button and a "debug" button. on save, the form's information is stored on...
commonjs build failed iOS simulator
~~~ [INFO] : Copying CommonJS modules [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : CompileC build/projectname.build/Debug-iphonesimulator/projectname.build/Objects-normal/i386/ASIInputStream.o...
ACS is failing?
All of a sudden (sdk upgrade?) my ACS calls aren't working. It sends out response but then dissappears... `function(e)` returns nothing.No success or error response. logcat: ~~~ ACS Request: { url: "users/show/me.json", verb: "GET",...
Android Scrollable View Problem with 3 views
Hello. I'm very nervous because I have to send a project tomorrow and, in Android, if I add more than two views to a ScrollableView, it fails!!! This is an example. ~~~ var win = Titanium.UI.currentWindow; win.backgroundColor = 'black'; var vA =...
Issues Testing App on Non-IOS 6 iPad
Hi all... I am currently using build 2.1.3.GA and have the IOS 6 SDK with XCode v4.5.1 loaded. When building via my app via the simulator all is well. Also, when switching over to XCode and testing my app on my iPad, all is well (my iPad is iOS 6.0). ...
Android emulator launches but doesn't launch app
When i hit Run (clean build) the android emulator launches but the titanium app does not. I started with just a blank app bare bones and it still doesn't do it. Icon isn't located on the emulator either. I have win7, JavaSDK 1.6.0_25, Titanium ...
Push notification: sending status FAIL
Hello, I have app that should receive the push notifications. When I run app at iPhone 4 I can see that it successfully subscribes to the notifications (You currently have 1 iOS client), but when I'm trying to send notification, it says...
Desktop app Packaging failed. HTTP status:100
I'm trying to package a desktop app SDK 1.0 (Titanium Developer 1.2.1). I've tried to package it for Mac, for Windows and for Both. Bundled installer type, private, not released to users. It always fails after a few minutes with the message: Packaging...
Codesign check fails when building .ipa file
Application type: mobile Titanium SDK: version number, build date and build hash, copied and pasted from the console at application launch Platform & version: iOS 5.0 Device: iOS iPod/iPhone Host Operating System: OSX 10.6 Lion Titanium Studio:...
Firefox debugging install - fail
I received the prompt to install Firefox for debugging so I clicked on [Download]. After a few seconds it returned a dialog that it had been "installed" but then it just resulted in a web page coming up to install Aptana Studio 3. So (knowing...
Android Labels - Strange behaviour once color is set?
Hey there, Having found strange issue. Some of my Labels have a click eventListener - however I've noticed if I add a color to the label it'll react slow. eg With the following code - the alert doesn't always pop up sometimes I find myself spamming...
Simple Database Insert is failing
Hey there, I am just doing a simple database insert and it keeps failing. SQLite error: 'constraint failed' for 'REPLACE into customer_site (id, customerID) values(3,65)' It's very strange... it is only this table that is failing, where as if I insert...
Desktop PHP not processing
I'm trying to get into development on the desktop version of Ti. I cannot get any PHP examples to run, I've tried different way to just print out the phpinfo page: From [IBM...
Packaging Failed
i'm trying to package a desktop application using Titanium 1.2.2 and it fails showing an error that says Packaging Failed HTTP status:403
App fails to install on iPhone
When I install my application from onto an iphone, I get the following error:  Installs and runs just fine in the emulator. I would try launching from Ti Studio but...
App wont install on emulator,"missing shared library"
Just installed Titanium Studio, looks good but I can't install my app on the emulator for testing. The last few lines of the console output during build are here: [DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 2...
Includes on Android.
Hi, Trying to include a file in Android. So far to avoid pitfalls mentioned elsewhere i have put ALL my js files in the root of Resources with app.js I am using the latest build (1.7) but it still fails. It is a window opened from a table row. Sample...
can't update titanium to latest version, it fails to update
Hi I wanted to give titainum a chance, downloaded 1.2 When it installed it tried to download some stuff which failed to unpack after downloading, it complained that the download was corrupt. I went ahead and started the app and noticed in right top corner...
SQLite: Foreign Keys Fail!
Hello I have created a database with the SQLite manager in firefox. Now I'm inserting testdata. Now when I insert the data it always says "Foreign Keys Mismatch". I have checked the data and the foreign keys exist (so there should be no...
Brand new MacBook - Titanium fails to install
Hello, I just bought a brand new MacBook Pro (2011 model), downloaded Titanium through Safari, and it will not install. It just stops and says "Some files failed to download properly. Cannot continue" It is not an issue with my network, I am...
No documentation and problems
I'm trying to launch external applications and find device's name... Nothing seems to exist in documentation. Why every Titanium user must ask question here? You really need better documentation and simpler coding. Too much fixes needed to make app. My...
Emulator works, but RoD fails - iphoneos version fail
I get both the KitchenSink and new projects up and running with the emulator, but it fails when I try to Run on Device or distribute. I get the same error with 1.5.0 and 1.6.1 RC1, and if I try earlier OS versions. It seems like there is a bug with the...
iPhone App Build Fail / not installing on simulator
Hi, Running the latest build from continuos server (1.6) 27th Jan. Fresh install of X-Code w/4.2 iOS SDK. On Mac (of course). No problem building with Ti for Android, no problem building with XCode for Apple. When I try to create a new, vanilla project...
Ad Hoc distribution (second try)
Does anyone have a final answer about Ad Hoc distribution and Titanium apps? I've seen posts where people are suggesting that I send my Developer Provisioning Profile out to testers but I dont consider that a realistic solution and I'm not sure it doesn't...
can't build with 1.5.1
Hey, I've looked at post after post about solutions and none of them work for me. My error *looks* identical to some others I've but I'm posting in hope maybe some can see a difference and help me out. ~~~ [ERROR] Error: Traceback (most recent call...
Application launch fail
The application fails to start while connected to the intervview. It just says it "encountered a serious error and cannot continue". However when i remove the internet connection, it finally manages to open up with the login form but crashes...
Install Fail On Windows
I'm trying install Titanium Developer in my Windows 7 desktop. During install two requests are executed. First request get de url for SDK, an Response.Redirect is executed and a second request to get the file (sdk-1.0.0.zip). Using firefox i can see some...
Android VS iPhone orentation
Orientation on iPhone was a breeze. Worked straight away. But after two days of reading and trying and fixing, my code when running on Android device or emulator will not pick up the orientation change... Feels very frustrating when i know the code works...
Titanium+ Commerce / PayPal-Login in Germany failed
[SOLVED] ===== Hello, ----- i tested the RedCross demo application. Everything is OK, but when i try to sign in it will be refused: **"Login failed!"**. Is there no support for the krauts or what's the matter? Thank you for your help!
Android - tiapp.xml analytics: false -> database install on device fails
hello everybody! i just noticed (after spending some hours to find it), the following bug: if i set the analytics-property in my tiapp.xml to "false" and run my app on my android device, the installation of my database fails. if i reset this...
Titanium Developer not launching simulator after migrating to new Mac
Hi, Got a new Macbook Pro today and migrated everything over from my old MB using the Migration Assistant and my Time Machine backup. In the process of testing everything to make sure I can work with the new machine, I discovered that I can no longer...
Alert - Did fail to receive ad
I'm using successfully the Admob integration as described in this comment: [http://developer.appcelerator.com/question/57991/admob-and-iads#109501] Most of the times the ads are shown without any problems, but more and more I'm getting an alert message...
Can't install Titanium on Win 7
Greetings! I have troubles installing your app on Win 7 Ultimate. The .msi starts as expected, then i agree with the license, the UAC window pops up, which i use to grant the installer admin permissions. And then... it tries to "download and extract...
Workflow for creating a Ti Module
Hi Guys, i try this : [Link](http://developer.appcelerator.com/doc/mobile/iphone/module_sdk) , and i try out this: ~~~ > sudo python install.py Appcelerator Titanium XCode templates installed ~~~ But there isnt any Template in Xcode. I check the...
Install on Android device fail
**SOLVED** I'm trying to install a new default app on my HTC hero and it fails. The adb logcat says ~~~ Requires newer sdk version #4 (current version is #3) ~~~ I have the phone set up with unknown sources and debugging on. I have all the sdk...
Build Failed 1.3.3
Tried to build an app with 1.3.3 which builds fine with 1.3.2 and the Build Log shows 'file not found' for my provisioning profile - which is of course where it always has been. Is there a fix for this? (Just trying to get a working Contacts API, it's...
Build Failed
I just made a new application on titanium. Before I edit it at all, when I load it to the iPhone emulator, I get the message "Build failed. Please see output for details." I've uninstalled and re-installed Titanium, deleted and re-made the app,...
Titanium.Network.HTTPClient failing on proxy bypass
Hi Titanium Team! The TestMaker Editor uses a socket connection to pass command requests to a daemon. All of this runs on a local machine. We use the following code in the Editor: if (window.environment == "titanium"){ ...
Most apps fail to function correctly or at all in iOS4
I performed the iOS4 fix and re-submitted my apps to apple. All were allowed into the store. Today being iOS4 release day I tested my apps on a live iOS4 and all bar two fail to load or fail to function correctly to the point they are useless. Is this...
Titanium 1.2 packaging error: Packaging failed. Error: Invalid timanifest file in distribution (bad JSON)
I select the following options: Platform: Macintosh Publish privacy: Private Release to Users: No Installer type: Bundled I'm running Titanium 1.2 on a MacBook Pro with Mac OS X 10.5.8. I see: "Packaging failed. Error: Invalid timanifest file in...
Titanium for Win installation fails to download SDK files
Once the Titanium installer for Windows downloaded, I launch the install but it fails to download the rest of the files necessary for install. This happens at about 50% of the "Downloading and extracting the SDK (1.0.0)" step. Capture:...
1.2 is out -- still doesn't work.
ok, I have TiDev 1.2.0 and Kitchensink for 1.2.x ... I can get android to run now, sometimes... takes about 3+ minutes for each launch... and then sometimes doesn't work. for the iphone -- no. I've never had the iphone working on any computer with any...
Windows: "missing installer" when updating to 1.2.0
Started Titanium 1.0 (Win XP) today. First it offered me to update Mobile SDK to 1.2.0; afterwards it offered me to update the application itself to 1.2.0. Immediately after clicking on the update link within the application, I got a modal window stating...
KitchenSink fails to install on to Android 1.6 device
Hello everyone! I hope you can help. I am trying to get the KitchenSink app to install on to my HTC Magic (Android 1.6) device using Titanium Developer 1.0 but the app doesn't appear on my device. Inside Titanium Developer I choose "Run on...
Running in emulator for android fails
Heya, I get the following when I try to run my app (which is basically a simple new project without any change..) in the emulator, no matter which target version of android I pick, nothing happens in the emulator after it starts, and I run on Win7 x64 if...
Showing 1-50 of 50