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...

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,...

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...

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...

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...

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?

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...

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 =...

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.

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...

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) ![error](http://imgur.com/XiMdr.png "error") 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...

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 1775 776 777 778 779 780 781 782 783 784 785955