Community Questions & Answers

Suds.js on Android vs IOS with II7

I am experiencing an error using the sample suds.js from the kitchen sink. When I replace the URL with a custom written C# Web Service everything runs as expected on Android. When I attempt to run the same code on IOS I get a network Timeout. If I setup...

tool-api-level (again)

I'm porting (or re-writing) an app developed for iOS using Titanium to Android, and apart from layout problems, which most folks seem to have and I won't bore you with here, I am trying to get my head round the difference between 'tool-api-level' and...

Enterprise app - wireless manifest file

Hi, We have developed an enterprise app and now looking to distribute it to our employees via a web server. I went over Apple's documentation and everything is pretty clear except for one thing - they say I need a wireless manifest file which should be...

Can't update Android SDK

Hello, I installed Titanium Studio for the first time yesterday, including installing the Android SDK. I think I rushed it without properly installing everything— when I opened Titanium this morning, I got this message: ~~~ Android configuration...

view and scrollView

Hello I have an aggregated view a ScrollView, but I want to add multiple views to main view that is added to the ScrollView, but shows nothing. example: ~~~ var win = Ti.UI.createWindow({ backgroundColor: 'white', exitOnClose: true, fullscreen:...

Tabs not active in TabGroup

Hi, I am trying to use TabGroup, but when it opens, I can't switch between tabs. It's like the tabs are disabled. I am using the code provided in a new default project and simply do an open on the file: ~~~ // create tab group var tabGroup =...

Multiple calls of service in a lopp

Hello Friends, Its very important, I stuck in service call in loop. For my app i need to call image upload service multiple time in a loop. I need to display these images on each row and row is populated from service call. following is the code ~~~ var...

How to change the "build" folder's loc?

When I run or debug the project, folder "build" will be created automagic. I want to move the "build" to a ramdisk drive, that the compile will be faster and it can cut down the write-disk times for my SSD. thank you!

Google G+ integration

In my app I want to enable the users to login through any of Facebook, G+, Twitter or Yahoo. I know that there is a Titanium.Facebook API with which I can integrate to Facebook. How can I achieve similar integration for Google, Twitter and Yahoo? Thanks

How to make an italic font ?

Hi - on iOS How can make a italic font? My code: (doesn't works) ~~~ var albumLabel = Ti.UI.createLabel({ font:{fontFamily:'Georgia', fontWeight:'italic'}, top: 12, left: 15, text: 'Select an Album' }); ~~~ Thanks

I'm creating a Class for PDF Generation

Hi to all , i'm creating a class for pdf generation. at the moment the working feature are: simple text with position advanced text with color and size line advanced line with color and size Now i'm going to build the addImage feature. i've read the pdf...

can't select distribution Ad Hoc profile

Hello, I just updated Titanium Studio, now I can't select my distribution provisioning profile. I can select the profile that I downloaded form apple but I cant select it. The selectbox stay's dead. any suggestions?

Titanium web app OPTIONS instead of GET

I'm trying to compile a Titanium app for Web. When I try to contact the server via http request in the browser console I see a OPTIONS method instead of a GET method: ~~~ var request = Ti.Network.createHTTPClient(); request.open('GET', url); ...

Get position

Hi All, I have a window with a tableview. In that table there are 100 rows having each with an image. How can I get the Image position (left,top) with respect to window on click of the image. Anyone please suggest.

the event fired in an android activity can not be listened

titanium sdk:2.1.1 os: mac os platform: android i'm using intent to implement some voice record related function, after the voice is recorded, i want to fire an event so my app can do some related things, but it seems that the event fired can not be...

Default iOS module won't build

I'm creating a custom iOS module, beginning with the [iOS Module Development Guide](http://docs.appcelerator.com/titanium/2.1/index.html#!/guide/iOS_Module_Development_Guide). I'm using Titanium SDK 2.1.3.GA and Xcode 4.5.1 After creating the module and...

Are the Titanium Studio Download address error?

I found the address "http://titanium-studio.s3.amazonaws.com/latest/Titanium_Studio.dmg" was wrong,maybe it shoud be https://titanium-studio.s3.amazonaws.com/latest/Titanium_Studio.dmg

How do I open an email attachment in my App

Based on a prior question "Open email attachment in our App... ", I've been trying to implement it based on the answers, but I'm not having much success. Does anyone have a small sample Titanium Iphone app (including the modified info.plist'...

Open Safari

Hi all, How do I open Safari by clicking a link in my WebView (with remote URL - NOT Local URL) Help needed desperately! Thanks Vishal

Passing POST vars to a server

I'm trying to post a JSON string (as a POST var) to a server via HTTPClient, but all I get back is <null> on e.error. Here is my code: ~~~ var now = new Date().getTime(); var xhr = Ti.Network.createHTTPClient({ onload: function(e) { ...

3DMatrix for Pinching and Panning an image

I'm using 3DMatrix for panning and pinching (scaling) an image. Either event works great independent of each other. However if I pan an image after I pinch it larger the image returns back to it's original size. How do I manage this - how do I maintain the...

Showing 27,851-27,900 of 66,209 1553 554 555 556 557 558 559 560 561 562 5631325