Community Questions & Answers

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

Dynamically change font size, etc.

Okay I am sure this is simple but for the life of me I cannot figure out how to change the font dynamically like I would change the text: ~~~ label.text = 'new words'; ~~~ But how would you do that with the font size? ~~~ label.font=...

JavaScript compiler failures (1.5.1 SDK)

Not really a question as I know the answers this is more along the lines of help for others. I ran across these trying to compile existing files. They work perfectly well in the browser but Ti fails to build with them. ~~~ { this.d() } ~~~ The above...

More TableViewRow Android Issues

[see previous question for history](http://developer.appcelerator.com/question/97571/tableviewrow-on-android-auto-height-not-working) The rule is, use className when creating tables; but what I am seeing is that the view rows are being cache and it is...

Modal window help

When opening a modal window, if the windows navBarHidden property is set to true, opening it the first time is fine. After closing it and reopening it, the modal window shows up behind the phones status bar at the top (where the signal, clock etc...

starting in titanium, finishing in xcode

Hi, This project looks awesome compared to trying to learn objective c like I've been doing for a while. I have a very specific app in mind that has an open source openGL ES library that I need to use for the app.. or learn how to code it myself, but it...

Get image from database path

Hi all. can you tell me how I can, based on a filename in my database, create a leftImage in a tableview? my js is here: ~~~ // create var for the currentWindow var currentWin = Ti.UI.currentWindow; Ti.UI.currentWindow.barColor = 'black'; var lmin =...

Mac Store?

Hi! The Mac Store opened today; and here in France; There is not so many apps... I would like to create some apps before the others do; so is Titanium compatible or is an update planned? Thanks; Ivan -This thread may be a global Mac Store Discussion...

455 views
asked 2 years ago by Ivan Mathy
last activity 2 years ago

ANDROID - Get Row in TableView

Hi All, I tried a whole day to get this to work without being successful :'( I want to iterate through the rows of a TableView this way : ~~~ function getRow(listingID) { var sections = tableView.data; for (var i = 0; i < sections.length;...

537 views
asked 2 years ago by Kevin Aubry
last activity 2 years ago

Do custom modules work in SDK 1.5.x?

Hi, I've been wanting to extend the functionality of my app by creating a custom module (via: [http://developer.appcelerator.com/guides/en/module_ios.html](http://developer.appcelerator.com/guides/en/module_ios.html)). My first try was using 1.5.1 but...

Want to show title of a window within tabgroup

Hi. I'm currently developing for Android and iPhone, using Titanium. I have a query regarding the tabgroup UI object used for Android. Basically I'm trying to display the window title, of a window which is a child of a tab. To make myself clear, the...

What is a compiled Titanium consist of?

Hello, I'm considering using Appcelerator Titanium for an iPhone and Android app I'm working on. I understand that it compiles JavaScript down into some native format. My question is what is that format? Is actual Objective C code generated so that I...

scrollView with paragraphs of undefined length

I'm trying to create a scrollview that contains a few paragraphs of text. However, the length of this text changes depending on the user. If I set a large height on the infoview (as shown below) then the scrollview does work. However, this adds lots of...

Webviews failing on 1.5

Has anyone else noticed a problem with executing webviews when compiling with titanium 1.5. If i change the TI_VERSION in the project.xcconfig back to 1.4.1.1 then the webview works perfectly. When using 1.5.x it fails...Any ideas anyone? The project was...

Show Facebook wall

Hello, I have to show the facebook wall on my company. I have seen some functions on kitchensink sample, but nothing about this. Is there some sample code somewhere ? I have tryed a simple way to do this using the mobile web page of facebook,...

Installing Error with Titanium.

Hi, I made an app spending days and now that I'm trying to run it on my device before I publish it, it doesn't work.:( (emulator works) Of course, I tried erasing contents inside iPhone folder hundreds of times. I have mobilesdk 1.5.1 Titanium 1.2.2 (All...

242 views
asked 2 years ago by Justin Ko
last activity 2 years ago

Command Chaining

I'm attempting to chain commands in my JS files for Titanium, but have so far failed. Is it not possible to do this? For example, I'm trying to do something like: ~~~ var views = new Array( ...

Hiding the tab group

I want to build an application that has no menu in the home screen.I have tried using the tabBarHidden,navBarHidden properties of the window but it doesnt seem to work on android.Btw i am using titanium sdk 1.5.1 on windows 7 x64.I am using Please advice...

How to Limit TextArea?

Is there a way to limit the amount of characters allowed in a TextArea? I would like a limit of 300 characters, or 50 words. Could anybody help? Here's my TextArea, if you really need it: ~~~ var descData = Titanium.UI.createTextArea({ value:'', ...

Compress image

Please let me know how we can control the quality of image. As you know, when we upload an image via a network, in some cases we do not need to upload it in the best quality. We want to reduce its size before uploading.

Only show half of the web site

When I add in tab on the code, the webview is not showing full. is it any problem with the code? here is the app.js code that I have ~~~ var webview = Titanium.UI.createWebView({url:'index.htm'}); var tabGroup =...

webview using animation from appcelerator

Is it possible to have a link on webview with that animation that is from appcelerator instead of using jquery? Because The app that open is very slow. Do you know what is the cause? If I apply the native animation, can it improve the performance?

always installing component whenever I start Titanium

It always come a dialog box Installing Components -> Downloading application update 1.2.2 whenever I Start Appcelerator. Is there anything I do wrong? I already update, but it always want to download whenever I start Appcelerator

237 views
asked 2 years ago by Lewis Satini
last activity 2 years ago

blank emulator windows 7

Hi, i'm new on titanium. I use win7 pro 64. I can'tfix the blank emulator. I succeed to install it on 2 others win7 pc. I reinstall my pc and it still not working because of the file permission. I try with the following guides...

Showing 38,001-38,050 of 47,758 1756 757 758 759 760 761 762 763 764 765 766956