Community Questions & Answers

TItanium Desktop SDK 1.1.0

Hi, I'm pretty new to Appcelarator, and just upgraded the SDK to 1.1.0. Great tool, great update - but since the upgrade i'm running into the follwoing problem: The menu ietms of the app's menu on the Mac are doubled. That means I have 2 Apples, 2 Edit,...

IOS parseInt Bug?

Have you guys tried that parseInt("09")==0 rather than 9 this bug still exist in Titanium 1.5.1 wasted a few hours checking my code, and finally found it was because of this statement.

692 views
asked 2 years ago by Samwise Zhan
last activity 7 months ago

Hiring Titanium Mobile Developers

Celebrity Apps, developer of premium fan apps for Hollywood Celebrities is hiring Titanium developers. Please contact Randy Adams at randy@celebrityapps.com for details.

Background Crashing

Anyone having issues with app crashing while in background service randomly? 1.5.1 \ SDK 4.2 Specifically if I run app it loads, hit home button it runs in background but if I do that about 5 or 6 times it crashes and has to load again and therefore...

TCPSocket

I'm having trouble with the TCPSocket and Android... whenever I run ANY code using TCPSOCKET I get this error: Cannot call method "CreateTCPSocket" of undefined Is TCPSocket not supported on Android?

Building Titanium From Source

Just a tip, if you are building Titanium from source following these instructions: http://developer.appcelerator.com/doc/mobile/mobile-build-osx Make sure there are no spaces in the path to the source directory, otherwise it won't work. Just figured...

Get onload from createimageview download

Trying to get callback when a remote image has been downloaded inside createimageview. The 'load' callback event does not fire when the image is downloaded. Seems like something that should be obvious, but I don't see it. Also, if the image has not yet...

New sample apps, where are they

Hello, in the last newsletter you said: Best of all, we're releasing two new Titanium apps (importable sample projects with full source code) that you can learn from and use! where can i find them ;(

Android - Problem with TableView when Scrolling

Hello, I'm have created a table view with about 15 rows, each row containing a news headline and date. But when I scroll up and down the details in each row disappear as they leave the main view. I have no idea why this is happening, its working fine on...

Mobile API for local use?

Folks, I must be dense, but where can I get the documentation for the API so I have it locally in some form. Docs online are fine, but not on a plane/cell dead zone/etc. Seems like I should be able to build them from the source but not clear on the...

createAudioPlayer to play local files

I am willing to know if I can use Titanium.Media.createAudioPlayer (instead of createSound) to play local (not remote) files. I have tried the following code and the iOS simulator gives the following alert: "File Error. Unable to configure network...

iOS SMS Dialog module

Hi fellow devs, I only wanted to let you know that I just published on github an iOS module for sending in-app text messages. Check it out here: https://github.com/omorandi/TiSMSDialog Cheers!

Keychain API

I am working on an application for which I wish to store credentials. I do not want to store plain text passwords or even md5 hash to be compared in server for security reasons, so I was wondering if anybody has figured a way to use the Keychain API or who...

Is there a Titaniun.js file

Doh sorry for the spelling mistake ( Titanium.js is what I meant ) I'm trying to add code completion to IntelliJ by adding a Global Library and was wondering if there is a source library file that I could include. I've seen instructions for compiling...

webview scroll to top within scrollview

I have a bunch of news articles and when the user clicks on one I have another window with a scrollview populated with all the articles so that the user can easily swipe left for the previous article and right for the next. That is all working fine except...

height property of a label not correct?

Hi, I have a view with a label within it. The label has a dynamic height because the text is read from a database. So the view also has a dynamic height. I try to determine the view's total height by adding the heights of all elements in it. But the...

Button Styles (Non Rounded)

For iPhone, is there a way to make input buttons and buttonbars non rounded (pill shaped)? Currently I am doing this by using a standard View with an image background and a click handler, but I would much prefer to use a an actual button image.

Creating a linked TableView

Hi everybody, EDIT: I'm using Titanium SDK 1.5.1 and running the app with the iPhone 4.2 SDK. I'm trying to build a tableView that enables users to click on a row and then show another window in the same tab. When I click on a row, I get the following...

App crashes on playbackState of VideoPlayer

As soon as I try to use the event playbackState of the VideoPlayer my app crashes in iPhone simulator when the video ends. steps to reproduce: - create new mobile project - copy movie.mp4 from kitchensink to Resources - ad the following to app.js below...

String in webview

Hello Guys, Do any one know how to display a single string in a webview. Say var str="MyName"; How can I display this in a webview?

MapView not visible in a Tab

A Mapview does not render map (only grid) if it's placed on a tab. It works ok in a normal window. Is this normal or am i missing somthing? Here is the code im using: var tg = Ti.UI.createTabGroup(); var win1 =...

Distribution Package error

My app is ready to submit. I am trying to Package it under "DISTRIBUTE" in TI and I am getting this error. I dont even have the file path listed in the error..."/Library/Application...

Orientation with older generation devices

Hi, I am testing my app on older devices, and have discovered that any horizontally orientated portions of the app are significantly messed up. They only take part of the screen and run off. Here is two images, one regular and one with a first...

Help with JSON...

Alright, here is what I need & have: I have on main TableView that has one option on it that opens a new window with a TableView on it that I want to be filled with stuff from a remote JS file in JSON data, like so: ~~~ { "Audi": ...

Showing 37,701-37,750 of 47,504 1750 751 752 753 754 755 756 757 758 759 760951