Community Questions & Answers

Basic Project Not Building on iPhone

Hi- I'm new to Titanium, but I'm having an issue. I've created a new project, and without touching any code within it, I get errors when I try to compile for iPhone. I am using iOS SDK 4.3 and Titanium SDK 1.6.2. I wonder if this may have something to do...

Create Calendar

Hi, Here the code i use to create a calendar: ~~~ var calendar = Titanium.Android.Calendar.createCalendar({ hidden: false, id: 265, name: "calendrier compte fiscal", selected: true }); function showCalendars(calendars) { for (var i =...

Facebook on Android

Hi all! I'm porting an IPhone app on Android, both developed with Titanium. In IPhone app I need Facebook to show some data. In Android I have problem with this method: 'Titanium.Facebook.requestWithGraphPath();' I'm using a path like...

Module can use other xcode project files.

Hi, I am creating a titanium module for iphone. I need to select multiple video files from library. I have find the solution in xcode as ELCAlbumPickerController. Now I want to use this in Titanium module. For this I copy all the class in that and create a...

vertical scrollableview ?

Hi, I need a vertical scrollableview. I understand that the titanium scrollableview is horizontal only. So I am trying to use the scrollview. I need some kind of resistance and bounceback if the swipe is too short. My first attempt is here but doesnt work....

Walking Directions from Google Maps

Is it possible to get walking directions from Google Maps API by default? In other words, I'm using the '&mode=walking' switch in the URL string and STILL get DRIVING first -- forcing users to tap the walking button every time....

How to handle user sessions?

Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I am a bit confused about what is the best practice when dealing with user "sessions" in the app. Like it is now I save the users token in a property and then check on each page that it...

Dinamic TableView error

Hi, I have a problem with a tableview. I would like to create a table view that show more details when you click on a tableviewrow. This is the tableview before clicking on a row: http://img228.imageshack.us/i/tableview1.jpg/ This is the tableview after...

Android Calendar...How does it work?

Hi! I have several questions about the Android Calendar Object: - When i create a new one (using Titanium.Android.Calendar.createCalendar();) i got an error wich says "cannot find function createCalendar in object [Ti.Android.Calendar]" - When...

Run on iPhone

Hey again I was here yesterday, but you know, new day, new issues ;) Just kidding, I freaking love titanium. This time I need some help with errors appearing when I try to run on the iphone, I get this; --- Install Error [ERROR] Error: Traceback (most...

Email Dialog Issue in Android

When a button is clicked,emailDialog is opening.but it doesnot have Disacrd button.How to Discard the message.But it works fine in iphone. Thanks in Advance, Pavani

Blend Modes

Hi, I've seen quite a few mentions of the (undocumented) Blend Modes in Titanium Mobile, but I didn't find a real demo of how to use it. Is this the kind of blend modes photoshop uses? I'd love to be able to use that feature. Could enable some cool...

Earn $50 Via Paypal for Android Setup help

I just installed all of the latest software and SDK's and Android is not being detected properly. I will pay someone $50 via Paypal to help solve this problem. I have already dont the workaround and copying the adb to the new folder but this did not work.

Tab events on android, do they work?

Hi I am having some real problems adding any kind of tab events to either tab groups or tabs. I need an event to tell if the tab has been changed (and to what) which would be fine if i could get focus or singletap to work, but they just don't. I am also...

Push notification WHILE the app is open and active?

I just noticed that if my app is currently open and active on my phone at the time I send a notification to it, the notification alert never happens. How do I trap that notification so that I can display it?

CreateTimestamp

Just Curious how to arrive at the correct epoch value from a value of '1243819826000000' or '831131912326000000'. I've been recieving these values when calling createTimestamp on a file object. Any suggestions?

Memory Leak Problem

Hello, i've realized a very simple application just to test the Navigation Group. Then i tried to check for memory leak with Xcode4 (Instruments tool). Unluckily it find me many memory leaks when i push the button and then navigate back. I'm using...

Android application will not run

I'm at my wits end. I had a new project that was working fine when all of the sudden I'm getting this error and the project will no longer run: [ERROR] Failed installing com.company.project: pkg: /data/local/tmp/app.apk. I've combed the Q&A for a...

Can't find variable XPathResult

Hi there, I'm using this function to grab xml data via XPath and I get this error ~~~ var expression = '//plist/dict/array/dict/dict/string[2]'; var elements = doc.evaluate(expression,doc,null,XPathResult.ANY_TYPE,null); ~~~

Audio Player - Error Capturing

Im working on getting a streaming radio client working in an Iphone App. everything works great, except for this little issue: is there any way to have valid error capturing for the Audioplayer. i really don't want the user to see the technical error...

Running my First App, unsure how...

I am completely new to this and have especially bought a mac-mini and joined up with the apple dev programme, however i cannot seem to get started. the xcode-4 does not install as the dmg is "not recognised" so whilst i wait for support from...

Adroid TabGroup "close" event does not work

It seems that the "close" event does not work for TabGroup on Android (but is ok on iOS) ~~~ var Tbg_Main = Ti.UI.createTabGroup(); Tbg_Main.addEventListener("close", function(){Ti.API.info("Close !");}); ~~~

Twitter effect

Hi guys! I have a question, long ago I want to know how to simulate the effect that makes twitter when a user moves the finger left or right on a tweet. Then, appears a hidden menu. It would be possible to make that effect with Titanium. Thanks.

XHR connection fails now and then without reason.

Hello! I am using a XHR connection to my own Rails 3 API and when I click a send button sometimes I get the below error message. If I click the button again directly after it works fine. What can be wrong? ~~~ Error:Error Domain=ASIHTTPRequestErrorDomain...

1,085 views
asked 2 years ago by James -
last activity 2 years ago

Showing 34,901-34,950 of 48,766 1694 695 696 697 698 699 700 701 702 703 704976