Community Questions & Answers

even simplest TableView won't work

Hello people, I am trying to make TableView work, but even simplest example crashes. I must be doing something wrong because KitchenSink works. Here's the example: ~~~ var window = Titanium.UI.createWindow(); var data = [ {title:'Row 1', color:'red',...

Nested JSON to Rails api

Hello, I have a rails api, which requires a user object, with an email and password for authentication. JSON serialization to the rails API does not seem to work. the inner object gets escaped. Looks like others have the same issue:...

Parse multilevel xml file

Hi, I'm pretty new to Titanium Mobile and my XML and javascript are both a little rusty. Needless to say, I'm finding myself a little stumped trying to parse an xml file. I have an xml file like the following that I'm trying to grab all the values...

623 views
asked 2 years ago by henry farbles
last activity 2 years ago

separating table row

hi i would like to separate table rows by adding f.e. 10px transparent space between each row. i've tried borderWidth and borderColor (with same color as background - not table background but view background,under the tabel) on TableViewRow but it looks...

Detect when an iAd is clicked

I am trying to integrate iAds and want to detect if an ad is clicked. However none of the events I try to listen on works.. anybody out there who has got this to work? Code: ~~~ iads = Ti.UI.iOS.createAdView({ width: 'auto',height: 'auto',top: 0, ...

TIP: Facebook Graph friends sort

Facebook GRAPH API currently does not allow you to sort your friend's by last name. A HUGE pain in the... Below is how I did it manually. ~~~ function sortByName(a, b) { //notice how I am sorting by last_name which is a special field var x =...

iPad Design Help !!!!

hi ., i wanted to create a UI on ipad which has two views i.e. Left and right(ipad orientation -Landscape). The left View has a table kinda UI that conatains row kinda list items and the right view is an empty table view.. All i wanted to do is to let...

How to change the time of setInterval?

I want to change the time (at the request of the user), but I do not know how. Have you any idea? ~~~ // LOAD DB var db = Ti.Database.install('settings.sqlite','settings'); var query_refresh = db.execute(' SELECT value FROM settings WHERE...

App always crashes when opening from Android Market

I have an app that uses the latest CI build on the 1.6 branch. It works perfectly in every situation, except when you launch it from the Android Market it says every time - "The application has stoped unexpectedly. Please try again." This bug...

App showcase for desktop apps?

Hi everyone, I came across Appcelerator Titanium through the lovely task management application Wunderlist (http://www.6wunderkinder.com/wunderlist/) on iOS and Mac OS X. The current version of the desktop app still has some issues, but overall i'm very...

Facebook and SDK 1.6

I have downloaded the RC1 sdk and things so far are looking good for my app. Is there a way to create the Facebook button so that when clicked it opens in a webview instead of launching safari and putting my app into the background? I cannot see via the...

I need a save button

I have a tab group, in one of my tabs I have stacked windows which gives me a back button at the top of the screen. How do I add a save button to that bar at the top? I'm new to this, this is my first app so there may a different way to do this. I...

Access to iOS VoiceOver

Hi there ! I have a question about the voiceOver core functions in iOS devices : does Titanium have any built-in or any workaround, solution, to call this voiceOver from within an App ? Obviously I'm not speaking about having the global VoiceOver option...

invalid method

First off, I know when deleting the build directory, this should be fixed, and it used to work. Now, for some reason it doesnt. When deleting the build directory it works in the simulator, but when I run it on the device, it wont work. When running it in...

links broken in a webview

**UPDATE** If you are having the same issue, you can follow the ticket in the link below for a solution I've posted this in the as a bug already: https://appcelerator.lighthouseapp.com/projects/32238/tickets/2995-webview-link-doesnt-click but I was...

What to use for a large text-based article

Hi, Hopefully a quick question. I have a large piece of text to include (it's basically an article linked through from a title screen) and am wondering the best method for displaying on the iPhone. Label doesn't seem appropriate as it doesn't scroll. So...

Forcing Portrait in tiapp.xml

I've read a number of posts that show how to force portrait layout in Android via a custom AndroidManifest, then other posts that imply that this can now be done via the tiapp.xml. I've tried a number of approaches in tiapp.xml. Can someone point me to...

Android Crash

I have an App on the Android Marketplace, but whenever somebody runs it they get an error. They have reported it and [this is what it says](http://pastie.org/1554735) in the Android Developer Center, but I use Titanium so I don't exactly know what they...

Events & ActivityIndicator

I have defined events for showing and hiding the activity indicator. The event is registered to the app in the root context and is fired by other execution contexts. I can see that the event fires OK but the actual display of the activityIndicator is...

Help with email.Dialog.setMessageBody

Platform: iOS, Latest Titanium Version <br><br> Im trying to paste together a formatted message body from several App.properties strings. My problem is adding several strings together. The goal that im trying to achieve is:<br> Driver:...

setTimeout doesn't work properly on Android

The following code works fine on the iPhone: //this is run after opening main window setTimeout(function() { Ti.API.info("Hello 1") },1000); setTimeout(function() { Ti.API.info("Hello 3") },3000); On Android only "Hello 1"...

414 views
asked 2 years ago by Brian Knorr
last activity 2 years ago

Camera Overlay with problem

Hi Everybody, Today I try to use the camera functions in appcelerator on my iphone and i check that there's a problem when we use the overlay. The first image, before take the shoot, is stretched. Does also see this bug? anyone solve this...

JDK and Android SDK on Mac

First of all, I love this product!! I've been developing for Android, so far, and have everything running beautifully under Win 7. I received my new Mac Mini yesterday and am very eager to get my app working for iPhone, but am having difficulty finding...

Touch issues with Tweetanium on Android

We really like the Tweetanium app - it seems like a great reference app for cross-platform development. Unfortunately though, we have found it doesn't work very well on an Android device. Touching tabs and buttons rarely work unless you super lightly...

Showing 36,551-36,600 of 47,726 1727 728 729 730 731 732 733 734 735 736 737955