Community Questions & Answers
Getting GPS position causes application to crash
I'm experiencing a weird issue when trying to get the users current location using GPS. After i run the application on an actual device - The first time the application runs fine and gives me the coords, but if i close the application and run it again it...
Listen for all events?
Is it possible to create an eventListener that captures all possible events? If so, how?
Titanium.API methods not working in 1.5.0
hi, i was just trying out the 1.5.0 SDK for android and noticed that Ti.API.info/debug methods are not tracing out anything. is Ti.API broken in 1.5.0 or did anything change?
Error in packaging a desktop app
Hi everyone., I have successfully created a Desktop app in titanium .When i come to package option for linux OS,it works fine.But when i download the package it contains .exe file along with the resource directory which should not known to the end...
TableViewRow related
In my tableView, Contains number of rows. Each row contains big screens. initially height of row is fixed when i click on the row it should display whole contain (i.e. Height of row i want to increase in the click but i m not getting that effect)
Debug Application
Hi All, I am new to titanium developer. Can any one tell me that how to enable step by step debugging on the titanium application . I want to understand flow of titanium application,is there any way to understand flow of titanium application. Thanks in...
UnHideTab ?
Hello, I am developing an app with a login screen as first window. For that window I use `window.hideTabBar();` in order to make it "almost full screen". I say almost because I still display the title bar. The problem is that I can't find a...
transfer of control in android?
in Android Env... How could i transfer control from one window to other? actually i have prepared one login page.. after clicking on login button i can move to next page but i cant do anything on that page though it has some controls....
'click' event when tapping on a label in a tableView doesn't work
I have a tableView with some custom tableViewRows. I've added an event listener to 'click' on the table view, but now I'm finding that if I tap on an area where a UI.Label is, the click doesn't register. It only works if I tap on a blank area. There is...
How-to append contents to a file (with example)
Hi I need to download many small files and some large files to filesystem with my app. With large files, write method of Ti.Filesystem.File is not enough (crashes). I searched Q&A and found code for Desktop but not for Mobile. Then I searched in...
Simple Hello World App without TabGroup
How to make a simple Hello World App without Tabs? The Hello World App generated from new project has them but what if need a even simpler project. This is not working from app.js What im i doing wrong? ~~~ var win = Ti.UI.createWindow(); var l =...
Picker in IPhone
Now that I've upgraded to Titanium 1.5, I'm starting to play with the picker, as it actually works for Android. No more having to create a webview with select html in it and then firing off ti events! However, I'm having trouble with it in iphone. In...
Cookie management problem
I know there are a lot of cookie questions and problem reports. Not sure which one to glom onto so I'll make my own. :) In the iphone emulator, with iphone sdk 4.1, and titanium sdk 1.4.2. Titanium is clearly trying to manage cookies (as required...
Recipients not populated in emailDialog for Android
I am opening an email dialog with the recipient pre-populated, but the recipient field is populating on iPhone not Android. Is this a bug? var emailDialog = Titanium.UI.createEmailDialog(); emailDialog.toRecipients = ['support@support.com']; ...
Android Database file location
In iPhone, I can view the current status of my SQLite database by accessing the .sql file at "Library/Application Support/iPhone Simulator", etc. Is there an equivalent location for the database in Android?
Styling labels
When or how can I style the text in a label or message? For instance, if I want a word in the label to be bold, how can I do that? This seems like a very huge limitation to Titanium if this can't be done.
SIP Softphone
is anyone working on a SIP-based softphone module?
jQuery mobile - not working
I'm trying to use jQuery mobile in webview but i'm getting lot's of Javascript compile errors when i try to launch the emulator. Jas anyone had luck with doing this? Here's the log: http://pastie.org/1357191
Titanium won't run
Hi! I tried to install Appcelerator Titanium on my Linux Ubuntu 10. I got the option to choose my path and so on, and then there was a kind off downloading thing showing. After that it flashed away and since then I can't run Titanium anymore. Can someone...
Android 2.2 app won't run, Emulator won't launch
I correctly installed the Android SDK per the Titanium instructions. I put the android sdk folder in the root folder of my hard drive and Titanium recognizes the SDKs. I have Android 1.6 and 2.2 installed and Titanium recognizes both of them in the Test...
about iOS 4.2
just to share a tiny experience with iOS 4.2. I didn't want to upgrade from 4.1 to 4.2.1 until I had to add iAd to my iPad app. I initially installed ios 4.2.1 to a separated directory other than /Developer, which has 4.1. I first removed everything...
Cant load app in android emulator
When I try to launch my app into android emulator, I get the following errors: [ERROR] /Users/gavin/Downloads/android-sdk-mac_x86/platforms/android-4/tools/aapt (skipping hidden file...
Pause and Resume not firing on Android
I am trying to catch both the 'pause' and the 'resume' events. These events seem to work as expected on iOS, but they are not getting caught on Android. Has anyone been able to get this to work for them. I am testing on Android 1.6 through the emulator...
Crash in device, but not in Simulator.
Hi my app crash in device, in simulator its ok. Xcode Log devices, send me the next information: Date/Time: 2010-12-07 10:52:53.729 -0600 OS Version: iPhone OS 4.2.1 (8C148) Report Version: 104 Exception Type: EXC_BAD_ACCESS...
sophisticated iphone graphical apps in Appcelertor
I wonder whether it's possible to make an app like Angry Birds by using Appcelerator API? or even an App which can create a rose by using some graphics API? Thanks
Automatically add alphabetical headers in tableview?
In the kitchensink the Tableview with Headers example lists names with headers for each letter of the alphabet. This is hard coded. Is there any example code for Titanium to automatically sort your table rows and add a header for each letter of the alphabet?
Windows in Window versus Views in Window
Hi All, I am in the early stages of creating an app for a client for the iPad. They like the Twittleator app interface which has what appears to be multiple windows or views that "float" over a background image. Are "floating" views...
Updated Android SDK now Titanium is not launching emulator
Today the android sdk manager wanted to update so I let it. After that Titanium would not launch the emmulator, I get the "launching emulator" message and the building application and then nothing happens. I have re-installed everything to no...
Twitter and Facebook clients
I have created a little app and now I want to add Facebook and Twitter functionality. I would like to login and Get and Receive post. I have checked out the KS examples but they are not the helpful. Has anyone created their own Twitter and Facebook...
2 functions calling each others, how to declare them ?
Hello, I have a pretty simple problem : I have 2 functions : ~~~ function displayItems(itemList){ --------some code here------ feedTableView.addEventListener('scrollEnd',function(e) { loadRSSFeed(url) }); ---------some other code...
iPhone Application Examples
Ok so your enjoying using Titanium... But your not quite sure as to build and put together an app. Why not have a look at some of my premade templates that are available to buy at very cheap rates. http://codecanyon.net/user/chrismj83/portfolio Strip...
How to count number of rows in a picker
Is there an easy way to count the amount of rows in a picker? I've been beating my brain around this all morning and can't figure out an easy solution! Please help!
Touch event bug == really really stupid
There is a really ridiculously ridiculous bug associated with View touch events. Given a setup such as: var view1 = Ti.UI.createView({ width:200, height:200 }); var view2 = Ti.UI.createView({ width:100, height:100, top:50,...
Android OptionMenu missing from 1.5 CI builds
I'm trying to use the Android OptionMenu in the latest 1.5 CI build with the same code that worked in 1.4: ~~~ function createMenu() { var menu = null; if (isAndroid) { menu = Ti.UI.Android.OptionMenu.createMenu(); } //refresh...
Bug: Rendering problem - TableView w/ TableSection & custom HeaderView
I saw issue about TableView + TableSection & custom headerview : - here http://developer.appcelerator.com/question/77001/bug-tableview-with-header-and-section-not-working-correctly - and here...
[Android] Nested Windows in TabGroup don't work?
Hi, I am trying to give a title bar to the Window that is shown by in a tab on Android. While a window in a tab has a title bar on iPhone, the bar is not shown on Android. But if you have an App that keeps the tabs on top (iPhone bottom) while...
Background location
I noticed that location keeps running even after the app is closed, what kind of cade can be run while in the BG, and could I get some examples of how to do so? I am very lost on this. [edit] So my question is, can I do something like running location in...
Native notifications in Windows possible?
Windows has a native notification system in form of the balloon notifications associated with icons in the notification area (aka tray). Titanium seems to support only third party notifcation applications or roll its own notifications as a fallback. Is...
createSound Delay in Simulator
Hey guys, I've noticed that using createSound (while using the preload attribute) will cause a very noticeable delay in the simulator the first time one is played. After this initial sound plays there is no delay for the others... This isn't happening on...
Nested Animations
Hey guys, I may be a tad naïve in asking this, but what is the problem with having nested animations? I've noticed that this can create some bugs when run in the simulator, such as animations locking up the app. However, I have been unable to repeat...
Helloworld Application is not running
Hi all, i am new to titanium developer. i develop new sample mobile application called "hello world". it is showing two messages. [INFO] Launching Android emulator...one moment [INFO] Building HelloWorld for Android ... one moment and hang...
Weird issues in Windows
I have problems using the Titanium Developer in Windows. In Mac OS and Linux, everthing is working fine, but in Windows I have the following issues: 1. Inspector doesn't work/ shows up as all-white surface in projects. (It does work in sandbox mode for...
Android emulater won't launch; adb.exe doesn't start
Hi, I am using Windows 7 64 bits. I have the latest android with everything installed. Titanium SDK is 1.4. Can someone with the same machine successfully running their titanium projects on Android enumerator share the following: -Environment Variable?...
Localizing the Splash Screen on 1.5
Hi There, 1.5 introduces i18n features, which is great and works like a charm, but how can I localize the Splash Screen and the Name of The App, IS that a way to do this? Maybe adding some specific fields in the info.plist.
MarkerClusterer - iPhone mapview
Has any one successfully implemented MarkerClusterer using Titanium on an iPhone App? I have over 900 annotations to place, and its painfully slow to place them, and I am getting memory warnings - surprisingly its not crashing yet! I cant imagine it...
App Won't Load
Hi I'm attempting to launch the most basic app (HelloWorld) and every time it seem to get stuck on: "[DEBUG] Waiting for device to be ready ..." Even if I select Launch again (after the emulator has started) the same debug error occurs. I am...
Layout issue with IPad.
Hello, We have created an application using titanium and its running fine for android as well iPhone, but when we test in IPad, layout of that application is not getting proper. (Actually I can able to see the layout is the size of iphone layout). Please...
Adding annotation to mapview makes the application crash
I'm currently working on an application where we need to show a location using Google maps. We have an if statement that does a Geocoder lookup if we don't have latitude and longitude and if we do have the latitude and longitude it just adds the annotation...
fireEvent from webview to window
Hi, I'm learning Titanium by developing a simple iPhone app, and it's coming along pretty good. However, I've been trying to figure out how to get fireEvent to work and after checking out different examples I just cannot get it to work (probably missing...
Passing Data Between Window?.
I want send data to one window from other. The main window has a table view. while clicking on the table view, I want to pass corresponding id to next window. The window is in other .js file. Presently, I am passing data by dispatching a custom event. But...
Showing 38,801-38,850 of 47,503 1 … 772 773 774 775 776 777 778 779 780 781 782 … 951