Community Questions & Answers
onDestroy can't work.
Hello. Now, I'm creating an application with Tableview including Mapview, so I want to use "onDestroy()", but "onDestroy" didn't work. Please tell me why. ~~~ var tableView; var data = []; while(i < 5){ var row =...
IPhone Install Error - Device.
Dear Sir / Madam, I have developed an app for iPhone with all certifications (provisional & AppleWWDRCA.cer) and appID registered. I can even test and try out in emulator, but when I'm trying to run on a device (iPhone), I get "Install...
Blackberry apps with titanium.
Dear All, I have developed an application using titanium its working fine for iphone/android devices. Can anyone please let me know, how shall I make this application running into blackberry as well. Need some initial help to start with blackberry...
audioplayer playing m4a
i'm trying to stream m4a file on iPhone via [audioplayer](http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Media.AudioPlayer-object) and i got *Parse bytes failed*, it's working with with mp3 file... ~~~ 2010-12-10 16:55:41.128...
Integrating Third Party Libraries
Hi, I'm wandering if someone can point me in the right direction with regards to integrating third party libraries into my Titanium apps? I am building a PHP based app for Titanium Desktop, and would like to include some of the HP libraries not compiled...
iOS - 3d Transforms Not Respected When Converting A View/Window To Image
Hi All, When converting a window or view to an image, child objects that have had a 2d transformation applied will appear in the resulting image as expected (i.e. with the transformations preserved). However, the same is not true when performing 3d...
emulator not working on imported projects
So I got a new mac and I've got Titanium up and running and I imported my projects. When I go to "Run Emulator" the program doesn't go further than Performing full rebuild. This will take a little bit. Hold tight... or [INFO] Skipping JS compile,...
Cannot return location annotation from Titanium.Geolocation.getCurrentPosition...why?
I am working on a project which i need to use my location.For that, i used the geolocation.js and i customed it to my project but i have a trouble. My code is that: ~~~ Titanium.Geolocation.getCurrentPosition(function(e) { if...
Can't install Titanium on Windows 7 x64
Hi guys, i can't install the Titanium appcelerator on my PC with Windows 7 Professional x64. While downloading of SDK files it fails with a message "Download Failed". On my another PC with Windows XP SP2 the installation process completed...
background for tab in tabGroup
I'm looking to change the background of a tab within a tabGroup. Similar to: http://bit.ly/fxDBN3 Anyone have an idea of how this can be accomplished? Thanks!
Listen for power off event
Hi, is it possible to listen for either iphone or android power off event?. Or this could only be achieved with fully obj-C code on SDK?. For example if the phone is about to turn off I would tell my app to send a message.
addAnnotations for Android
I have a map where user's can update the types of venue's they see, however addAnnotations does not work. The alternative is to add each annotation one at a time using addAnnotation which causes the map to be very slow. I would like to do one big batch...
suds.js Problems
Resolved
Picker and simple math
Hey there! I'm trying to do some simple math with a two column picker, as simple as "a+b=c"... like left column + right column = result... I just can't seem to get it to work, I even tried [this...
Is it possible to disable *some* of titanium developer's warnings
It warns about many syntactic forms that are valid and useful, such as: ~~~ if (condition) statement; ~~~ and: ~~~ x = (y + z); ~~~ I can avoid some of these (and be annoyed) but not all of them. The result will be that I'll miss warnings I...
Camera photo mode (dissabling camera mode?)
I need to let users make a profile photo but when i let them use the camera you can still toggle the mode to making a video. I want to remove the toggle on the right so you can only take a picture. Is that possible? What i need is actually what you see...
force only iPHONEs and not iPADs or iPODS
I am doing a dialing project, so I need this to only be downloadable to iPhones and ANDROID phones. In the normal development process, you can preselect which devices to install to... is there a way to force only iPHONEs, and not iPADs and iPODS?
desktop analytics
Is there anything special I need to do to enable desktop analytics tracking? I've packaged as: win/mac, network, privacy-private, and release to users - yes and i'm not seeing any of my events being picked up. also should i be seeing the events in the...
23 pages(views) with CURL_UP and DOWN
http://pastebin.com/GXb8jbCx - images (if need they go into the resources folder) : http://www.mediafire.com/?8c0b393pt4u7upi please anybody have a look, this is driving me nuts the arrowLeft always crashes. The flip to the next page works fine but the...
iTunesArtwork where and with a .png or not?
Where does iTunesArtwork live and should it have .png appended or not? Thanks
Where Is The Promised Update of Desktop?
According to the developer blog... http://developer.appcelerator.com/blog/2010/11/new-titanium-desktop-release-is-coming-soon.html ...Titanium Desktop 1.1 was targeted for the first week of December. It's now the 9th and there's no announcement that 1.1...
Android windowing
After struggling with opening and closing windows and sub windows in a non tab application I post some code examples for everybody who is interested in. The sample is about opening and closing a sub window in a main window from a option menuitem. It's...
handling compressed files
Is there a way to manipulate zip (or similar) files in Titanium? For example, I have an application that is a viewer of sorts that needs to download bundles of information that vary based on the user. I'd like for these to be packaged in compressed...
Refresh window after modal close
Hello, I been trying to figure this out for hours now...and no luck, maybe I can find some light here. I have an app that popups a modal window for login proposes. That window asks the user to login and saves some info on a .db and after that it closes...
TabGroup's useless allowUserCustomization property
Hello. What is the reason to add allowUserCustomization property to TabGroup? It is completely useless. It just adds "Edit" button and has no event for that. User arranges tabs and there is _NO_ way to know about it and store the state of...
Prevent Window close on Back button
In an android application, is this not supposed to prevent the window close? win.addEventListener('close', function(event) { Titanium.API.log('ERROR', "close fired"); event.preventDefault(); event.stopPropagation(); return false; });
***Bug*** Label 'Auto' Width Broken in 1.4.2
simple code causes the app to crash (tested on ipad simulator) --- Ti.UI.createLabel({ ID:1, text:'hi', font:{fontSize:14,fontWeight:'bold',fontFamily:'Helvetica Neue'}, color:'#ffffff', width:'auto', height: 25, left:2 }); ---
Can not get latest builds
Hello, i tried to get the latest build since my current one is buggy, but the url keeps timing out http://build.appcelerator.net/ am i missing something?
Is it possible to use a C++ library inside Titanium mobile ?
Hi guys, Assume we already have a C++ library for doing some complex calculs, we are wondering if it's possible to use this library inside Titanium mobile (for iPhone and Android). Maybe we are wrong but we thing it should be possible thanks to Titanium...
Autocomplete in Coda ?
Hi there ! i have just a small question! Is it possible to get autocomplete of Titanium with the "Coda" Editor (MacOSX) http://www.panic.com/coda/ Thanks
Vertical-Align of text in a Label plus auto-truncate the text at a fixed height
Any tricks or ideas to have top-align __and__ the truncation of the text? My research so far: To fix the vertical-align, i have to set the label-attribute `height:` to `'auto'`. But then the text will no longer been truncated at a given height. Even if...
how to touch the tiapp.xml
I am running into an ANDROID issue. I was requested to "touch the tiapp.xml" but I do not know how to do that... some assistance please
Ti Crash... this is new... quit unexpectedly...
I just updated my ANDROID SDK the usualy way, using the Android SDK and AVD Manager. I also added the continuous build 1.5.0 . I can get 1.4.2 and 1.4.3 to work on iPhone and ANDROID, doing both a default app as well as the latest KS. But I can not get a...
Error in Run Application
Hi All, When i run the application in emulator in titanium developer i got the following error in trace mode. [Error] [ERROR] C:\android-sdk\platforms\android-4\tools\aapt.exe (skipping index file...
Hang on Titanium 1.2.1 with 1.4.2 sdk
Our ipad app will hang after we try to add view or scrollview to a window but it is ok before. anyone has solution? or it is bug on 1.4.2 sdk
Adding Button = crash
Hi, I've some trouble with adding a simple Button in my app. This button is added here : Window > ScrollableView > View > View > Button In both of theses View, I can't add my button ... ~~~ var contentAddFormButton =...
createLabel & addEventListener problems clickable area not on the label
Hi, I have a Window with a Label and eventlistener which just has a piece of text, which when clicked should open a link in Safari. The link works and Safari opens, however the 'clickable' area is off by about 150px from the actual text that is the...
Web serivce Example
Hi , Can any one provide me sample example of web service using titanium developer . I gone through kitchen sink application ,but i am not able to understand from that example. any other example of web service Thanks Pratik Asthana
limit annotations
Hi. I used mapView for display annotations and routes. Application crash with a message "Memory level is urgent" when derivation of a large number of placemarks . Does anyone know there is a limit placemarks or(and) routes that can be displayed.
~/Library/ApplicationSupport/iPhone Simulator
That is the location to store files for transfer to iphone sim?
Create Application for Connect to getway and fetch updated data
Hi All, I am new to titanium developer application. i want to create application which will connect to getway and will fetch updated information,and if the information is updated it will update the local database . also i need to use websocket for it...
Blackberry support, when?
Hi, Our customer wants to have the app also available for Blackberry. We are considering PhoneGap and Titanium as development frameworks but the fact that there is no (official) support in Titanium for blackberry deployment at the moment, brings us closer...
How to package the resources folder inside the binary / executable??
Sorry for being a bit of a noob here but I noticed once I'd packaged up my desktop app into a windows installer and installed it. It actually just pastes your resources folder into your installation directory along with all the html and javascript files......
Having a home screen before a tab layout?
This is a very basic question, but something that I still haven't found a proper solution for. We have an application that we want to show the splashscreen, then go to a sort of "home" screen which looks like the splashscreen without tabs but...
Populate Search Results
I've got a tableview that is loaded on app startup and is populated by a JSON RSS feed from my website. I've also got a searchbar on that tableview that does a live search of the website's database, NOT the tableview. I cannot get those result to show up...
packaging error
I was presented with this ominous popup when I try to package my app for iPhone (it's an iPhone only app)  I'm on Ti 1.2.1, SDK 1.4.2, I searched but most question on the packaging error were dated...
JSON.parse not working
Hi all, I'm trying to parse some JSON on my app, and JSON.parse seems to be failing to do so. It just returns a {}, when the original 'text' JSON was the one I pasted here http://paste.pocoo.org/show/302607/ (it's quite big :P) On the other hand, using...
Help me a example or Api reference in Background service / Local notification
Hi, I'm a newbie of Titanium Appcelerator. I read KitchenShink project, but I don't see where it show me Background service and Local notification. I searched a lot here, most of posts said that the MobileSDK 1.5 support Background service and Local...
alertDialog actions
alertDialog takes an array of button names during instantiation. I was wondering if it's possible to choose different actions based on which button is pressed during the dialog. For example, 'OK' would close it, but 'Help' would open another view. Is this...
Showing 38,951-39,000 of 47,732 1 … 775 776 777 778 779 780 781 782 783 784 785 … 955