Community Questions & Answers

Error on launch

Hi, I have just installed titanium and trying to build hello world project. I have only created an empty project and trying to build it but I am getting following error when I press launch button: [ERROR] Error: Traceback (most recent call last): File...

How can I use

Hello. I want to use this on Android. ~~~ Ti.App.addEventListener('resume', function(){}; ~~~ But it doesn't work on Android. Are there any other ways to do the same thing with this code?

Can not call createHTTPClient Is undefined

Hi All, I have found error while calling webservice,createHTTPClient Is undefined, please help me out. Below are the code sample. Thaks var xhr = Ti.Network.createHTTPClient(); xhr.onload = function(e) { Titanium.API.info('xml ' + this.responseXML...

Modal Window Issues

Hi, I'm trying to use a modal window to set some options in a table view. Here is my code: ~~~ function doShowDialog() { var optview = Titanium.UI.createTableView({ backgroundColor: "#EEEEEE", headerTitle: 'Select...

Convert ticks to Date object

Hi, I have a ticks value, how can I convert that to a Date object. In other forums they say DateTime myDate = new DateTime(numberOfTicks); String test = myDate.ToString("MMMM dd, yyyy"); I tried this and got 'parse error'. Any help will be...

HTTPClient()

My code used have var Loader=Ti.Network.createHTTPClient(); and I am currentely writing a program to load plaintext to a mobile device. What should my onload function include in order to simply put all of the text straight into a string? In other...

252 views
asked 2 years ago by Iniko Dev
last activity 2 years ago

Starting up Android Emulator from Titanium crashes keyboard

I tweeted about this and was asked to put it in a Q&A Pretty much every time I go to run my app in the Android Emulator I get this error (PNG screenshot attached) I also attached the Trace to see if it's anything that can help fix this...

479 views
asked 2 years ago by Stephen Gilboy
last activity 2 years ago

Multiple to/cc Recipients array

Hi there, The documentation on toRecipients and ccRecipients states it accepts an array for sending email, however it populates as '1 Recipient' and when pressing the send button I get an error of an invalid email address (because it's one long string I...

Shake Unreliable

Hi, I'm trying to implement a function that runs when the device is shaked, however using the method [here](http://developer.appcelerator.com/question/69491/gestures-addeventlistener-does-not-get-added-a-second-time), the function runs inconsistently....

Error Parsing xml file

Hello, SDK 1.5.0 and iphone Simulator I have a strange error trying to parse an xml file. the xml file is located here [pastie][id]. [id]: http://pastie.org/1380783 I have used this code : ~~~ xhr = Titanium.Network.createHTTPClient(); xhr.onload =...

Some sort of disabled state?

My app has several windows that require loading data from either XML or PHP. Is there a disabled state I can set the device into until data is received? My alternative was to make an opaque view that covers the whole app. Just wondering if their is...

Links Not Working on Webview

Everything is coded in HTML and javascript...I am using webview as in: ~~~ var webview = Titanium.UI.createWebView({url:'index.html'}); var window = Titanium.UI.createWindow(); window.add(webview); window.open({fullscreen:true}); ~~~ Looks...

Trying to test on iphone

I've gone through all the necessary steps getting the certificates and provisioning profiles etc in order to test on the device. Under test and package, all the requirements are met. I did notice that when I select my provision profile, my app id gets...

1.5 network / geolocation events

hi, seems that 1.5 broke my app... strange behaviour: i have a geolocation listener in one window, which works as expected. if i open another window, and start a geolocation listener there, exactly the same syntax, it waits endless for the event. that's...

Popover Messed up after 1.5.0

I updated a few things with one of my apps today including building it now with 1.5.0 most of the issues I have had were fixed. But I ran across a new and pretty serious issue and I would like to know if anyone else has seen this or know of a fix. I have...

Card payments capability using Titanium SDK (mobile).

Hi All, We have been developing apps using Titanium SDK for mobile. We now have to do a card payment capability with-in the Titanium app. Any pointers/references regarding this would be highly appreciated. Has anybody been successful trying any other...

Multiselect UI Interface (Android)

Hi, For an Android app I'd like to have a dialog that pops up and allows a user to select 1-X items in a list (that will have about 10-15 total options). So far it does not seem like there are any APIs that help out with this. My current thought is...

Errors packaging Android application

I upgraded Titanium to the 1.5 SDK yesterday, and today when I try to package my Android application I get this error message: [http://pastie.org/1379589](http://pastie.org/1379589) Has anyone experienced this issue before? Any pointers on how to resolve...

Suspend Sleep - How to use idleTimerDisabled syntax

Ti.App.idleTimerDisabled = true; From the docs ... how to use it?, with Ti 1.5 i get in the simulator the following error: [ERROR] Script Error = Result of expression 'Ti.App' [undefined] is not an object. at app.js (line 87). thank you Andrea

Start up problems

I am new to the package. I am having a run into a ton of problems. I am running (trying to anyway) 1.2.2 with the 1.5 SDK. I have the iPhone SDK running (I have successfully developed with it outside of Titanium.I have installed the Android tools and SDK...

"Run emulator" empty save for gray box

I just created my first project. During creation, I see a "Android SDK found" with a green check. So far so good. Project gets created, and from reading here: http://developer.appcelerator.com/guides/en/getting_started.html it's my understanding...

Showing 38,701-38,750 of 47,744 1770 771 772 773 774 775 776 777 778 779 780955