Community Questions & Answers

bazp

How do I format Titanium community version as a mobile project. I am using the Android emulator. Sorry I am brand new to the group.

PHP script fail - Cannot redeclare function

I declare the function by including it with php script tags. Like this: "include("php/game-functions.php");" When I go to call the function in a jquery click event it fails and says I am redeclaring it. The error says previously...

What iOS SDK versions are supported?

I've looked around through release notes and documentation, but can't find any mention of which iOS SDK versions are supported by which Titanium SDK versions. Specifically I'm wondering which iOS SDK I should be using with Titanium Mobile SDK 1.5.1

Layout horizontal scrollview

Hi, I'm trying to add labels with different widths in a scrollview. I tried to calculate the left dynamicly by using width but it returns an error on android ( works fine on iPhone). I tried to to add the property layout : horizontal for the scrollview but...

Recommended way to use HTTPClient

Hi -I read in many posts some problems regarding HTTPClient, such as memory leak and onload not firing. My iPhone app requires frequent small requests and I am worried about these issues. Could somebody post the definite way to use HTTPClient for the...

Error in Compiler Issues / Unable to Create New Project

This morning, mac-mini (pre-configured, working @7pm last night) and I'm getting strange issues. I've used Appcelerator for almost 1 month. Here are the weird issues I'm having. Create Mobile Project - Attempt to debug/test error below. Attempt to...

Move elements around

I'm trying to make an application where I can select one of many views and drag it around, and do a resize of the element. Then I can select one of the others views and do the same. Is this possible? Currently I have just achieved this with one element,...

iPad app not compiling

It always seems stuck at the "Building, one moment", and just sits there. I've created a new project without any modifications, using 1.5.1, and sdk vesrion 4.2 (and 4.1,3.2), and all of it does the same thing. I've deleted everything out of...

Multiple Local Data methods Strategy

My app has a local SQLite database of widgets. As the user views widgets, I'd like to save a simple list of "recently viewed widgets". I could easily store the "recently viewed" data in the SQLite database, but then that data would be...

JSS Fontsize

Hi, How to set the fontSize property in JSS file. I have tried but did not work. Also since property is object i have tried it as `font.fontSize: '7'` but no luck `#item { fontSize: 26; }`

hinttext problem in textfield?

[ titanium mobile for android. titanium sdk 1.5.1 ] hi! do you know why I'm not getting the texthint inside the textfield with this code? what am I doing wrong? thanks a. var win = Titanium.UI.currentWindow; win.backgroundColor = '#fff'; win.barColor =...

Facebook new API

Hey guys, Just wondering if anyone has had any experience using Facebook's new Social Graph API instead of the old deprecated functions included in KitchenSink? Is the process easier or harder than before when using Titanium? Thanks in advance.

accessing contact email adress crash

i try to access email adresses from the contact database. my code seems to work stable on the emulator, but on the device it crashes. the crash message: Fri Jan 28 01:56:46 toms-iPhone xxxxxxx[5947] <Error>: *** Terminating app due to uncaught...

Adding files to

Hi all, Is it possible to add files to "Titanium.Filesystem.applicationDataDirectory" before building the App? I wan't to have a dynamic image folder, which will contain a lot of images which a distributed with the app. But I also need to be...

Filesystem on the iPad Emulator

iOS SDK 4.2 Titanium 1.5.1 I cannot get Titanium.Filesystem.applicationDataDirectory call to work. I get the following message: Result of expression 'Titanium.Filesystem' [undefined] is not an object If I run the same code on iPad, it works correctly....

Detect Calling Capability

In my iPhone app I have a button that initiates a call via `Ti.Platform.openURL('tel:'+myData.phone);` How do I detect if the device can call? I probably need to show an alert/error if someone on an iPod Touch presses this button.

Showing 38,151-38,200 of 48,755 1759 760 761 762 763 764 765 766 767 768 769976