Community Questions & Answers

Align text to top of label?

I am making a custom table row, and need a title and a caption. I created a view, set its layout to vertical, and positioned 2 labels in it: [pastie here](http://pastie.org/2422408) Although it worked as expected, the text in the caption label is...

iPad appicon - failing validation

I have placed 2 files in the resources\iphone directory - appicon@2x.png 114 x 114 appicon.png 57x57. Where do I put the iPad appicon.png 72x72 file? The application is failing validation because I am missing the iPad appicon.

How to preserve the application settings in one session

Hi all, i have two pages one win.js and another one is setting.js On win.js there is a toolbar which contains the button for setting page. On setting page there is a toggle button as F/C. i just want to preserve that which toggle button was last selected...

need a litle bit of help

ive recently been shown how to strat codeing useing php and ive downloaded titanium but im not sure if i need anything else as im on my laptop not my friends computer and he has all the infomation and i was wonderin if anyone could help me. much...

Use an intent filter to open app from weblink

Hi all, I would like to have a link on my company's mobile web page that when clicked would open or app (if installed). I found a solution on stack overflow which requires the use of the AndroidManifest.xml ([Launch custom android application from android...

Second app in store!!

Hi, Just wanted to let you all know, my second app is in store. This one is also made with Titanium Studio! [http://rs.gs/iWeer](http://rs.gs/iWeer) Now working on third app, and hope in september the fourth app. Thanks for the right tools and...

Label crashes since 1.7.2

Were any changes made to LabelView? In 1.7.1 everything runs fine but when compiling with 1.7.2 I receive the cryptic message ~~~ 2011-08-24 10:30:08.616 Test[2800:6803] -[TiUILabelProxy characterAtIndex:]: unrecognized selector sent to instance...

Why use: X === True or X !== True, instead of regular == or !=

Title is my question, just wondering about a while back before summer. Now i got back into tita using the TiDev community and what i see is that the code editor there gives an explanation mark if i use the == operator and should use === instead But this...

Import using git

when im import any project using get i cant run it !!! anyone have any clue why ?? the button is just disabled & there is "*" before the project name & " Master" after it

New iPhone Project Will not Compile and Run

I am getting the following error on a clean build for an iPhone mobile app. error: expected expression before '@' token error: missing terminating " character The only thing I had done was fill out the tiapp.xml. I realized that I had used a...

Can't create keyboardToolbar

Hi, I've just started playing with Titanium and like so far. I have one problem though. I'm trying to do a keyboardToolbar, but just can't get it to work. I'm using the exact same code as the textfield_toolbar.js (copied the file into my project) but it...

Android Tablet wont draw all views

I have this interesting issue. When loading a series of vies (usually 4) on the screen one after another, the last one will often not be drawn on the screen. Yet if I have added labels and buttons to the view, they will show up with out the background...

Get Content-Length of image to upload

I'm working on uploading images to my server, but due to mod_security being enforced, I can't send a basic xmlhttprequest with post without sending content-length as a header. What's the best way to do that?

Change the way Android formats POST data?

I have an app that I'm currently working on porting to Android. In it, it's running an XHR request that posts data to a server that I have no control over. On iPhone, that request works just fine, because iPhone sends it in the query string style format...

Blank Emulator screen

i face a problem with Android emulator each time i lunch the same code run over iphone fine, but at android emulator the emulator just run with no application at phone desktop i try all kind of Android SDK with the same problem :(

Q&A's sort backwards

When doing a search on these Q&A's, the results are sorted from oldest to newest. Shouldn't it be the other way around? Kinda makes it harder to find relevant answers.

Suggestions for Cloud Database code

I am interested in writing a database app using a MYSQL database in the cloud to save my data. I am fairly proficient with JSON and PUT requests so I'm looking for the easiest way to have a front end API to write to a MySQL database I setup to run in...

Eval problems with HTTPClient+PHP+and+MySQL Tutorial

Hi I am getting a syntax error on eval, source result false when it should be true it is in arrData=eval('('+this.responseText+')');. it states its a runtime error. please help the tutorial is...

Showing 27,851-27,900 of 47,594 1553 554 555 556 557 558 559 560 561 562 563952