Community Questions & Answers

Question on titanium api

So I am trying to find information on the 'returnKeyType' property. I searched the API for it and nothing came up. I understand that the API isn't complete yet, but how or where do I even look that up if it isn't the API? How do people find these...

Set Ring Mode on Android

Hi, Is there currently a way to programmatically change the ring mode on an Android device with titanium? I know that it is possible with Android (unfortunately not iPhone), but is it implemented in the mobile api yet? If not, where can I suggest this...

win.visible retunrs undefined

The API docs sepcify that the Window object has a visible property. However when I try to view the property value it returns undefined, in SDK 1.4.2 and the continues build from today. Any idea if this is a bug, or i'm doing something wrong? This is for...

Packaging for Mac OSX

Hi! When I package my app for the Mac OSX I always get the same version to download even when I change the code or give the app new version number. Anybody has any experience with that?

RETURNKEY_NEXT not going to next text field

I have 5 text fields in a window. The returnKeyType property for each text field is RETURNKEY_NEXT except for the last one. That one is RETURNKEY_DEFAULT. When I hit the next button on the keyboard, it just closes the keyboard and doesn't go to the next...

Background Audio Controls

Now that 1.5 has been released and it sports "Titanium.App.iOS.BackgroundService", can this be used to handle audio playback? It is nice that we have been able to play background Audio since 1.4, but not beeing able to stop playback without...

Android Webview Copy Link with Long Press?

Is there a way to enable the functionality seen with the brower where I can press and hold on a link and get the option to copy the URL or SHARE the url? I'm not able to get that to work with Webview within the emulator? Is it an emulator issue or does it...

slide up window

I was wondering how to slide a window up from the bottom. Kind of how the notifications work in the facebook app. You click 'Notifications' on the bottom of the device and it scrolls up

SMS Dialouge for iPhone - Source included

If anybody is interested, I've put together a small SMS class that allows you to access the SMS iphone dialogue within titanium. This was added to iOS 4.0 and allows you to present a modal window within your app and pre-populate the to address and the...

createWebView throws exception

Just getting started with Ti and I've created a simple navigation based app. On the first page is a grouped table list. The user selects an item that creates a new window and adds it to the stack. This window should display a web view, but it crashes...

997 views
asked 2 years ago by Jaime Fuhr
last activity 8 months ago

Android JSS Bug - Not Applied From File Includes

Trying to use the jss feature with 1.5 and have run into the following issue. If a file is included from app.js and creates any type of UI element, the jss properties are not applied at all for Android. It does however work just fine on iphone. Here's a...

Are events asynchronous?

I have an optionsDialogue with a tableview. When the option dialog button is clicked I run an event listener to process through the tableview - however it doesn't work. Based on debug it appears that each time I run I get different results (as if the...

JSS working on iPhone Simulator and 1.5 GA?

I can't get it to work. Anyone else that got it to work? I created a global.jss file with: ~~~ #forecast-row { height: 70px; } ~~~ And a table row like: ~~~ var row = Titanium.UI.createTableViewRow({ id:...

OMG is the Database "Global"???

OK, so I was really happy Apple approved my first app...till...users started using it. I was using Titanium.Database as a way to store user information. I thought that information was only being inserted into a .db created on each user device...but...I...

Not include Android SDK

Hello, Is it possible to create a new mobile project without including the Android SDK as I won't use it for now? Thanks.

Ti.Filesystem not working in 1.5.0

Hello, As I can't make the Ti.Locale.getString() function work whatever I do I tried to re-create it with a simple xml file and a custom function. But when I try to load locally my xml file I always get the same error: > [ERROR] Script Error = Result...

Titanium Developer won't start

A fresh installation of Titanium Developer won't start, I get the 'Titanium Developer appears to have encountered a fatal error and cannot continue' dialog. Here are the contents of my tiapp.log if I run with --debug: http://pastie.org/1382654

Build Problem - iPhone Simulator

Hello, I'm getting the following error when trying to compile my app: [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/builder.py", line 1003, in...

crop/clip image (module from Kosso )

## how crop image? i've found this module http://gist.github.com/621367#file_image_as_cropped to crop image. i copy the crop code in this file (/Library/Application Support/Titanium/mobilesdk/osx/1.5.0/iphone/Classes/TiBlob.m). ~~~ // Kosso...

[iOS iPhone 4] Camera overlay bug?

I'm trying to add an image overlay to the showCamera(). showCamera() itself works fine. But when I add (any) overlay, the showCamera() view seems stretched out vertically. (tap to focus area is not a square space, but more like a rectangle) When I take...

Module with custom library

I'm creating custom module for iphone. How do I add several frameworks and also custom library in the module.xcconfig file? I put following line into module.xcconfig: OTHER_LDFLAGS=$(inherited) -framework AddressBook -framework UIKit...

Platform-specific Resources broken?

Hi, using 1.5.0 I found that platform-specific resources does not work for me with iPhone. Lets say we have this code: ~~~ var tab1 = Titanium.UI.createTab({ icon:'KS_nav_views.png', title:'Tab 1', window:win1 }); ~~~ Following [this...

TI Developer Reset?

I have deleted a project and would like to reuse the application name. But for some reason I am not able to use it. TI is working and I can create the project using a different name. Looks like the original name is linked to the previous definition. Is...

Open Web Page in Browser

I'm wondering if it's possible to create a IPad application that essentially opens a web page within a contained browser that has forward/back navigation buttons (like the netflix application). I've started by using a WebView, but I've noticed that this...

Size of created iphone app

As my first task on using Appcelerator I compiled an empty project. I've looked at the iphone output - in the build directory - and am surprised at the number of files created by Appcelerator. Is this how it works? Any way to reduce the footprint?

android sdk

I ve downloaded the android sdk but appcelerator cannot recognise it. I've not used android before so there may be something in my ignorance I'm overlooking. Help appreciated!

android.bat not found

I just installed Titanium as described in the installation documents... as required, I installed the Android SDK and it's all there.. I checked and tested it.. Now, when I try to set Android SDK location in the Environment Settings of the Ti Developer...

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...

Showing 38,401-38,450 of 47,483 1764 765 766 767 768 769 770 771 772 773 774950