Community Questions & Answers
build.py giving error in terminal when trying to install module
when i drag build.py into a terminal window and hit enter, this is the error terminal gives me: ~~~ Traceback (most recent call last): File "/admob/build.py", line 187, in <module> validate_license() File...
Problems Installing to Linux Mint 10
i'm having a problem installing Titanium to a Linux Mint 10 system. I've followed all of the instructions that i could find, and i seem to be getting stuck on launching titanium mobile. it gives the following error ./Titanium\ Developer bash: ./Titanium...
Titanium Developer 1.2.2 crashes with a malloc error on Ubuntu
Hi, I love the idea of Titanium and I'm itching to start, but can't :-( I've downloaded the Linux 32-bit binaries, unzipped them, run the installer which comes up fine, downloads two packages and then dies with this message: ~~~ /Titanium Developer:...
Problem with AdMob Module?
~~~ 2011-03-04 18:05:25.061 App[18813:207] <AdMob> The AdMob SDK requires a valid view controller to be returned from currentViewController (AdMobDelegateProtocol). Cancelling ad request. ~~~ When I try to view the AdMob ad I have in my app. Here's...
oAuth for Titanium desktop ...
I've successfully implemented oAuth for Twitter on other platforms, but Titanium desktop seems to lack the features needed to make it work without resorting to either xAuth or the OOB callback (Pin). If anyone has an example of how to make this work,...
change button text at runtime...
Is there a way to change the text on a button at runtime? I'd like to select a date from a picker and then display said date on the button. Any ideas?
Detect device total size
Hi, Is there any way to detect the total space of a device(iphone or android)? Thanks
Sqlite Tableview - almost there!
Thanks to Clayton for your help earlier. I've got my db displaying in my tableview but only the first record is displaying 4 times over. I know it's due to "for (var i = 0; i < 4; i++) {" but I'm not sure how to code it to display a...
Multi line strings in javascript code
Hello! Can I use multi line strings in my Javascript code? I have lots of long SQL statements that I'd much rather have line breaks in them than put them all on one line. Here's an abbreviated example that generates an error: ~~~ sql = "SELECT id...
[ERROR] Script Error = Couldn't find module: ti.paint.
i'm trying to create an app using the paint module but can't seem to quite get it right. I keep getting the above message. What am I doing wrong? I understand the message i just can't fix it!
Run on device, distribute
I have my first app up on itunes, built it thru titanium & xcode...packaged & uploaded thru xcode...I'd like to give titanium a try with packaging future apps but when I go to the Run on Device & Distribute section, I need to register my iphone...
Setting Partial Curl Distance
In the Kitchen Sink app, in the section that previews animations for modal windows, the Partial Curl demo on curls the page up halfway, but when I add this into my app, the page always curls up 95% of the way. At first I thought it was because of the...
Background color of moved/scaled image from gallery
Maybe I am missing something simple, but when you pick an image from the gallery (probably the same for camera), and move or scale it it gets a black background color. This will happen when the scaled/moved image does not fit the box completely (either on...
Pulling sqlite db into tableview
Hello All, I purchased a titanium template from CodeCanyon that is set up to allow me to pull my db into a table. My db is tcdata and the code is as follows along with the dev's comments for guidance. I'm very new and my lack of sqlite knowledge (along...
Multiline text on a button... iPhone
Is there a way to put two lines of text on a single button? Like in the Calendar app when you add an event, it appears that the Title/Location field is a button and the Starts/Ends is a button. The app I'm writing does something like this and if I can...
Facebook - Connect Button Not Working
I'm trying to get Facebook hooked up in my Titanium app. Things are working swimmingly in iOS, but I'm having trouble with the Android setup. My code is roughly this: https://gist.github.com/855583#file_ti_facebook_sample.js ~~~ var view =...
Nested windows without TabGroup?
Hi, I'm building an app that requires a custom interface, and am hoping to manage my content with two a base window that holds two content windows, which I will use for animation, leaving only one active after the animation completes. However, I'm...
Updated AdMob?
Is there any updated module out there that does the exact same thing as [TiAdMob4iPhone](https://github.com/masuidrive/TiAdMob4iPhone) did, back in 1.4.0? It seems this version does not work with 1.6.0.
Saving from URL
I am wanting to save an image from a URL returned to me out of a JSON parse. I have the variable, just need to get my app to the image at that URL. Thanks1
Notifications similar to Texts and Email
This is kind of an open ended question, but I can't seem to find anything in the Kitchen Sink or on this forum w.r.t. how to make notifications to the phone in the way text messages do (i.e. Popping your apps icon into the top left corner of the Android...
Cant Add Android SDK - Error Message
Hi, I have followed all the steps in setting up appcelerator for Android development, I installed the Android SKD from installer_r10-windows.exe (Recommended) http://developer.android.com/sdk/index.html I am trying to set-up kitchen sink, but I am...
Problem with table row formatting?
hey guys looking for a little help here. i am grabbing an array from a json and populating some results into a table view. ~~~ var json = json.calls; var dataArray = []; var pos; for( pos=0; pos < json.length; pos++){ var...
Making clock application
I am working on a new project where i need the clock. So i didn't have any problems , until i thought of updating the clock every second. So i made this: ~~~ function...
Problem in android after downgrading project
Hi everyone, I have a project created in 1.6.0 Titanium SDK. But after some problems I face I decided to downgrade it to 1.5.1. Everything works fine in iPhone but in Android the controls are in the same vertical position in the screen. Is there any...
Titanium executables stand-alone
I wonder if the paid version of titanium allows me to play applications without internet connection to download the installer. I also wonder if the complete version of the titanium I would be able to generate executable applications without requiring...
TI Desktop can't find my Android SDK
Just installed Windows 7 Home Advanced. Installed Android SDK latest version in e:\Program Files\Android\android-sdk. When trying to locate the Android SDK in TI Desktop, it says: Couldn't find adb.exe or android.bat in your SDK's "tools"...
Paging Control Colour!
This has been asked a lot on this forum, but i wonder if anyone has found an answer? How do you change the colour of the "DOTS" on the paging control both on the Dashboard and on the scrollable view.? I've seen it on many apps...
ti.paint module Expansion
Hello People! Yesterday Titanium Released the awesome painting module and made it opensource! I've already implemented into my app for a update(was using html5 first) And even played with the source already. So while it's a really minor update it is the...
Ti Plus "try out" license?
About the Ti Plus modules: I may "try them out" for free but as soon as I want to release an app using any of the Ti Plus modules I have to buy a subscription for at least 2500$....right? (way too much for small developers)
Problem new with admob module
i'm on OS 10.6.6 (French), XCode 3.2.5, lastest Titanium sdk, compile for iOS 4.2 i add the module within /Library/Application Support/Titanium/modules/iphone/ti.admob/1.0 Then, in tiapp.xml : within modules : <module...
Upload image from gallery to Flickr group
Has anyone got a working code snippet which allows the uploading of an image saved in the photo gallery to a Flickr group? I have successfully uploaded images from the gallery/camera to Twitpic before, but the Flickr API is leaving me a bit...
Shake event not triggered after 'back' navigation
I know a few people have raised this issue within the last year, but I can't actually find a definite answer to whether this has been fixed/has a work-around/cannot be fixed. I have a tabgroup based app with the initial window set up like this:...
Problem generating AndroidManifest.xml.gen
When generating an Android app either on emulator, device or distribute the compiler doesn´t write correct code to AndroidManifest.xml.gen. Especially the header is causing big problems to me as it will not include correct encoding (UTF-8). I tried...
camera overlay
Please advise on the front side and the back of the problem that the switch button disappears of camera with overlay of camera.
Having difficulty with JSON
I have been going around in circles with this for a while so I am hoping someone can help me understand how this all works. I understand that I open an xhr session to a JSON file, however when I get the responseText it all seems to come undone, in the...
"Too deep recursion while parsing" when including files on Android
We've separated our project into modules, which works fine on iPhone but seems to cause a stack overflow on Android. You can see my console here: https://skitch.com/arood/r196x/titanium-developer-1.2.2 How do I work around this problem?
TextView within TableViewRow scrolling/jumping when focussed
**Titanium Version 1.2.2 with Mobile 1.6.0 for iOS** **Description:** If you create a modal window with *TableView* that contains *TableViewRows* with *TextField* controls, the *TableView* is scrolling/jumping to a wrong position when focussed....
Project cration error - Trace back - File
I try to create a new project (Mobile app.). This has worked once. Now every time I try to create a new project I get the message: Project creation error: Trace back (most recent call last) File … Message disappears, empty root directory is created and...
third part component - OCR
It's possible to use third part component (like this http://www.abbyy.com/mobileOCR) with appcelerator SDK?
Basic Picker - ClassCastException
I know this is trivial problem but I've been pulling my hair for the past two hours to figure out the problem. The same piece of code works for another picker but not this. Can anybody point the problem here? I am using Windows 7, GalaxyTab SDK with...
PHP on linux
Hi, PHP don't work on my install. I have archlinux 64bit, but it seems to be the same on ubuntu. I have to remove some module, like in this post :...
Titanium Module Required
Hi Can someone here develop a titanium module for ios.Module should be based on route-me an iphone library (http://code.google.com/p/route-me/) Please let me know so we can discuss cost and details Thanks
TableViewCellSelectionStyle issue
Hi, Using the latest mobile API (1.6), I'm getting this error: `'Titanium.UI.iPhone.TableViewCellSelectionStyle' [undefined] is not an object.' when I use ~~~ var row =...
Chinese data display problem in Android
When I try to load some Chinese data from web service, it display some error coding in Android(it work ok in iphone), please tell me how to solve this problem
Titanium.addEventListener supposed to be different from Titanium.App.addEventListener??
This is a weird one! I've seen some really strange side-effects from using the first (without .App). The docs are a bit light & don't appear to have any visible difference: - [Titanium.addEventListener][1] -...
Error "Run on Device" with 1.6.0 and Barcode module
Install Error All, I am getting the following error when I trying to "Run on Device" for iPhone. App works fine on the simulator. The project is a new 1.6.0 project and has the new Barcode plus module. I did find a workaround by compiling...
Can I use acapela TTS SDK with Titanium?
Hi, I plan to build TTS iphone app and am wondering if I can use acapela TTS SDK with Titanium. Acapela TTS SDK engine for Iphone http://www.acapela-for-iphone.com/documentation App will require loading time every time it try to speak text.So, it might...
Custom Fonts still not working
Still cant get custom fonts to work on the new 1.6 and i'm unwilling to try out the dirty method. Did everything shown on the video: http://developer.appcelerator.com/question/49151/custom-font-solution - Deleted build build/iphone folder - Have a...
Paypal MPL Credit Card Support
Hi all, Will the Paypal MPL support guest visitor to use credit card as the payment method? I've read from the Paypal Express Checkout document:...
Saving pictures to photo gallery sometime's not working
Hi, I have an app which retreives pictures from web servers with an http request mecanism, and save them into the photo gallery. it works 99%, but sometime, with specific pictures, the saveToPhotoGallery method does just nothing, and the problem is : **I...
Showing 35,651-35,700 of 47,571 1 … 709 710 711 712 713 714 715 716 717 718 719 … 952