Community Questions & Answers
Android Clean Build possible?
Android, Ti mobile SDK 1.6, on Mac. My problem is that for some reason when I change images in my resources (ie: modify the graphic icon for a tab bar in an image editor) resave etc it doesn't make it to the emulator. When I check in the...
a button inside a scrollableView
I have a scrollable view. Inside one of the views is a button. If I try and scroll the scrollable view and I happen to scroll starting on the button, the buttons 'click' event is called. How can I avoid that? Maybe a different event on the button?
Custom Component: OptionPickerDialog
Source Code: [http://www.pastie.org/1494046](http://www.pastie.org/1494046) Works like an OptionDialog, but with a Picker object instead of buttons. Only tested on iPhone. Usage is as simple as: ~~~ // Include component in...
Videos force closing and erroring out on Android
Good evening! So, I've been learning how to develop with Appcelerator/Titanium over the last week or so, and ran in to a slight snag while playing video. I'm pulling video through the Facebook API and using the following code to play it: ~~~ var win =...
Framework for Titanium
Hi guys, Some time ago in my company ([Dev-iQue LLC][devique]) we had developed an open-source framework that significantly speeds up the development on Titanium platform. The framework includes: - Workarounds for standard Titanium bugs and problems -...
Multiple pickers in one window ?
I've created really simple view with pickers inside. But only last one is active - is that normal ? Is there some workaround for that ?
can't setup android sdk
I have installed the titanium developer app and am trying to setup the android app. When i send it to the appropriate folder it keeps telling me that the adb.exe or android.bat is not in the tool for folder. The adb.exe is in the tools_platform folder and...
Android heavyweight window with tabs
I need to create an android heavyweight window so that the back button does not close the application. When I do this, I lose the tab bar along the top of the window. Is there a way to get the tab bar back? I've tried using tabBarHidden:false. Perhaps...
iPad and Photo Gallery
Having a couple of issues with opening the photo gallery on an iPad. Using Ti SDK 1.5.1 and iOS 4.2 ~~~ Ti.Media.openPhotoGallery({ success:function(event) { var image = event.media; alert('picture was selected'); }, cancel:function() {...
use Android background service to launch app?
hello, I don't know if this can be done... I have an app that needs to run if the device has been inactive after x minutes. I know that you can use background services now, ex:...
My apps lags more when compiled with 1.5.1
Hello, It seems that my app is lagging a lot more when I've compiled it with 1.5.1. It's basically a tableview with rows and labels, and it's only 20-50 rows. I have two classnames on my rows one classname when no image is added and one for rows with...
App Preferences. How to get PSMultiValueSpecifier property?
Hi! I use the PSMultiValueSpecifier in my root.plist (settings bundle). But in application I can't get the selected value. Titanium.App.Properties.hasProperty('card_from_preference') return 0,Titanium.App.Properties.listProperties() do not return this...
fail to change text property on a label
hi, i have a label instance in a tablerow. at one point i want to change the text property of the label. when setting: ~~~ myLabel.text = "hallo"; ~~~ the label is not updated. But Ti.API.info gives me the correct string. any ideas?? [link to...
pureMVC and mootools in Titanium
I followed what it was suggested in [this](http://developer.appcelerator.com/question/11201/javascript-mvc-frameworks#162841) post, and installed [puremvc](http://trac.puremvc.org/PureMVC_JS) (ported for javascript) and...
Height of the titlebar in an iPhone/iPad app?
How can I find the height of the titlebar on a window in an iphone/ipad app? And, does it/is it going to vary (for example in the new iPad 2 with better resolution)?
Facebook connect on mobile 1.6
Hi I've just upgraded my Titanium Mobile SDK version to 1.6. I noticed the facebook connect button only opens a facebook page in Safari. Does anybody experiences the same problems and knows how to fix it? Thanks a lot! Felix
Can i make this in appcelerator?
Hello there, Im new to the development of apps and i've got some questions. First let me tell you about the app i need to make. As an intern at a company i need to develop an iPhone and Android app, they want me to create an app that is based on a...
[ERROR] Error generating R.java from manifest
Hi there, I have had no end of trouble tring to get titanium developer to work on winxp. The IT guy was here and said that the program looks to be full of bugs. I have managed to get the emulator working and showing the mobile screen. However, I have...
3.1 to 4.2:Application stopped workin
I made a simple app which I built in SDK 2.2 but I just got iPhone4 which made me to eventually upgrade SDK to 4.2. I am getting following error: http://img29.imageshack.us/img29/8090/apceleratorerror.png
Build error (titanium) Compile Error (xCode)
So i'm getting pretty sicked and tired from this now. I'm not mad, just frustraded. This problem is arising for alot of people and not one person comes here and tells us what the exact problem is and/or how to fix or if they even try to fix it. I know...
Windows 7 Mobile
Strategically Windows 7 Mobile is now a big deal for MS. Does Appcelerator have this platform on it's road map? If so can I get a time line. Quarter X of year Y will do. I would like to hear a yes, either way I have to prepare. Let me know.
Facebook Login stopped working, more people with the same experience?
Hi Guys, I love appcelerator and us it for a Iphone app which connects to Facebook. I run Ti.version.1.5.1 against an old 3.1.3 iOS SDK, and had a working Facebook connect / login button (Titanium.Facebook.XXX) button. I implemented this Facebook...
win.close Crashes Android App
My application is based off of this tutorial - http://mobile.tutsplus.com/tutorials/appcelerator/titanium-user-authentication-part-3/ My app only has the basis of that tutorial, and has a lot of added functionality to it. Here is the code as of right...
iPad vertical/portrait split view
in the kitchen sink example, turning the iPad to portrait removes the left view and places it in the pop-up (triggered by the "Show List" button), much like the default mail app. My question is, how do you keep the split view in portrait? What...
Can't add the Facebook Button into a TableView Row
When I try to add it like another control (a button for instance) > **the Facebook button appears but does not work - not clickable.** ` var fbButton =...
Getting Errors after a Default program shuts down
I created a new mobile project, saved it and it ran fine in the simulator. However, back in the Titanium console, when the project terminates, I get the following: [ERROR] Error: Traceback (most recent call last): File "/Library/Application...
Titanium generated xcode project fails on build
Runs fine in simulator but when I package for build it fails with this error. Anyone experienced this before? "Command /bin/sh failed with exit code 2" xcode 3.2.4 and titanium
webview events ti namespace not recognized
webview event firing does not work in android emulator with API 2.3 and droid x phone (2.2.1) Works in android emulator with API 2.2 but not in phone. Same issue with the Kitchen sink application and testing the web view - local url example. Have spent...
Loading an image from sdcard into a webview html page
Hi I have a web view that has it's content set via the "webview.html = markUp;" mechanism. The problem is I want to load saved images into the html display: <img src= ... I have tried the folowing and none seem to resolve for me and display...
Accessing window variables after win.add() and from subview
Hi I've been using Titanium for a few months working on a few prototype ideas for iOS development. As a non Mac / iPhone or javascript programmer to start with, I was expecting a few stumbling blocks along the way, but nothing has really come up that has...
running php script on a mac
Hi I've tried to different codes (I've already read this page http://developer.app usecelerator.com/doc/desktop/php)and it seems that in mac osx 10.5 I can only get the code that is not preprocessed to work: <pre class="javascript...
Why sending nested JSON to a Rails app doesn't work?
~~~ xhr.send({ person: { name: n, surname: s } }); ~~~ This doesn't work. Rails app receives params malformed and can't parse it. ~~~ xhr.send( { name: n, surname: s } ); ~~~ This works. I'd really like to use the first option (with nested attributes)...
Auto load next item in RSS feed
Hi Is it possible to create an autoload feature which automatically loads the next podcast when the previous is done? I'm using the example from...
Tabgroup with space between tabs?
Hi, is it possible to create a tabgroup with space between the tab buttons? So that it looks like this: 20px space - TabButton1 - 50px space - TabButton2 - 50px space - TabButton3 ?
Label as member within a object
~~~ function Field() { this.my_value = 0; this.label = Titanium.UI.createLabel( { ... } ); this.handler = function() { this.label.text = this.my_value++; } this.label.addEventListener( "click", ??? ); } var my_fields =...
Problems with Ti and Titanium.include in desktop application
I've coding mobile application and everything is going quite well. Today I've started coding desktop application and encountered two problems. First one is mentioned in title and I'm guessing that Desktop applictions cannot use Ti shortcut - am I right...
Error: App created by a different user
Hello, I just downloaded Titanium Developer to try out on my Windows 7 x64 machine. It works well.. I am able to compile the test 'HelloWorld' application. But, when I try packaging it, I get this error- "Packaging failed. Error: This app was...
TextField word suggestion showing chinese in Android emulator
Hi. I'm developing an Android app that has several textfields in a form. When I run it in the emulator and type text into a field, an english keyboard shows but then a word suggestion bar appears above it showing chinese characters. Can anyone tell me how...
Trying to integrate a module ==> FileNotFound
Following the guide I build a module but cannot manage to integrate it. The build process is ok and generated a zip file. I copy the zip to the root of the app and declare the module in tiapp.xml as described in the doc. require('fr.infinnova.mymodule')...
Multiple addEventListener simplify to one
Hello, Sorry for my bad English, I want to optimize my code, I add many addEventListener whish do the same action, but i don't know how to... This is my code : ~~~ var categories_ = _sql.categoriesSelect(); var ii = categories_.length; for(var i = 0; i...
click event works only from time to time
Hi there ! I had the problem weeks ago, no one could help me, so i recreated my app new from the scratch, but now i have the exactly same problem that makes my crazy ! What's the problem ? ----------------- I have a window and some buttons....
[ERROR] Timed out waiting for android.process.acore
I have installed Titanium about 4 days ago. I could run some test apps (helloworld kinda) in the 1st 2 days. I even ran the kitchensink once or twice. I am very new to mobile programming. But, since yesterday I get "[ERROR] Timed out waiting for...
Appeal : Revive Jaxer please!
I am absolutely thrilled with aptana+appcelerator and I am going to party now. But I have an appeal to revive jaxer please. I was so thrilled when jaxer came out and made business plans based on that technology. But alas! aptana scrapped it. What I am...
Which JDK for Mac Snow Leopard?
I just downloaded everything today and am having a blast putting things together. The iPhone side went straight as an arrow, but what I can't figure out is the Android stuff. I read a thread on the forums about this, but it has me a bit concerned to do...
Refresh Feed/TableView (using xml_rss.js Kitchensink Example)
Howdy, I'm using the xml_rss.js example from KitchenSink, and I can't figure out a way to refresh the feed... I was just wrapping the script in a function then calling that function when I wanted to refresh, but I realized that that was just creating...
Final Step: Uploading Error
Hi i just finished making my first app using Titanium. I was so excited until I faced this problem. My app's status is "Waiting for Upload" . As instructed I followed all steps and when I clicked "Package" in Titanium it made a file on...
Quick & Easy Verification of All Required Installations on Vista?
When installing to Vista I think I followed the Windows 7 Installation document at http://developer.appcelerator.com/guides/en/installing_on_windows.html The install took me ~6 hours following all of the steps on that page and I worked diligently to setup...
Universal App for iphone and ipad
Here how to create the universal app for iphone and ipad in titanium framework
Can't get createWindow to apear in another createWindow
Hi fellow developers. Can u guys help me with the code below.. 'wint' opens like i wanted it to.. no problem but 'win4' should open in wint but its not displaying. what am i doing wrong.. sigh thanks for the help guys.. http://pastie.org/1488791
How to get Mobile option for new project?
In my setup, Titanium Developer does not give a menu item for (Desktop vs Mobile) when creating a new project. It automatically shows new projects as Desktop without giving me a choice. I also have a problem because I installed the latest Android 2.3 (in...
Showing 37,251-37,300 of 47,668 1 … 741 742 743 744 745 746 747 748 749 750 751 … 954