Community Questions & Answers

Can't login - the login server returned an error

I can't login when launching the latest version of Titanium Studio (just downloaded it for the first time), I also can't create an account through the Studio (I was just testing it). For some reason the Internet is not working through it..what would be...

table view row questions

1. I would like to make the background selected image for my table view row round? Like the table view is round, and the background selected image should be round too. background selected image is the image that is displayed when you select a row. 2. How...

Padding for all components in a view?

Hi, is it possible to set padding properties for a view? I have a view with some labels and text fields. all components has width: 100%. This works so far. But now I want to have a padding on each corner for each components. For example 5 pixels on the...

Facebook, upload photo and url question

Hey! I am developing an app where i need to upload a pic in original size, the user can write a caption and then i suppose to add a link to a external URL. I have tried the deprecated photos.upload, then the pic is original size but i cant send link to...

Best practice for facebook login

Hi, Goal: the access to FB is transparent. It means, if the user is not loggined, the login window appears: ~~~ exports.get = function(_options, _callback) { function getFacebookFriends() { Ti.Facebook.requestWithGraphPath('me/friends', {}, 'GET',...

Expire properties field based on time

My app was rejected based on 17.2 (asking for email), so I have to create a "guest" account basically. I've done this, but I would like to expire the properties settings after a period of time, thus giving the opportunity to the user to register...

659 views
asked 2 years ago by matt s
last activity 2 years ago

android and UI.FILL

Hi there, I'm trying to create a view with horizontal layout with two view inside; the first is an imageview with a specified width and the second is a label which should take all the remaining available space. Here is the code: ~~~ var self =...

Column and Row Position

Hi there, When i run the code , my containers aren't positioning like i want, here is my code and screenshots, what should i do? if you can look at the screenshots for page two it is not positioning at the top? Page...

Webview cannot go back with local html

I am not able to go back in the webview with local html. The canGoBack() function is returning false. Before this i had another problem where the titanium object was not available once the webview url changed. I resolved that issue from the solutiion...

loop w/ array

Hello, I have this ~~~ var obtenerCategoria = Ti.Network.createHTTPClient({ onload : function(e) { var viewCategoria = []; var c = 0; var colores = 111111; var obtenerCategoriasData = JSON.parse(this.responseText); var...

Load data from webserver into ACS Cloud

Hi Community, So far every questions that I have asked has been answered, so thanks all for your priceless contributions. I have again come across another stone on my path. I have an app for the iPhone that has been in the appstore for the past year. The...

ScrollView/WebView refuses to scroll

I am building an app that allows a user to flip through articles just like the pages of an eBook. I have two "article" windows which I toggle between to have the effect of flipping through a series of pages. Each contains a series of header...

Push into ScrollableView

hi there, i am trying to make a scrollableview with json and i am stuck at something, what should i write insted of the "???" marks? and what should i write for the text for top value? ~~~ var win = Ti.UI.currentWindow; var xhr_request =...

Library not found error in android

In my titanium studio while installing app on simulator most of the time app got failed and give the error below. In past when i work on android the solution of this error is to change the simulator wihc is compatible to goole API if in code there is any...

Compile SDK from Source - fix bugs myself?

Hey, i really new to this "compile from source" thing... My Problem: For example i am wondering, i cant set the color of the alphabetical List on the right of a tableview, using "index". My idea: Can i download the titanium sources,...

getting iOS Settings App Data

I have my settings.bundle in place and there is data there as confirmed in the Settings App. Now how do I get to this info? Using Ti SDK 2.1.3 Many thx in advance

SplitWindow iOS 5.1 style

Hello, I have a question as stated in title: Is it possible to create iOS 5.1 style SplitWindow? I am using Titatnium SDK 2.1.3.

Alloy id selection ($.) issue

I will cut to the chase with a simple code example. For some reason, the `$.` selection does not work for me inside an exported function, as can be seen in "badTab". The "Bad Title" will not display for that window, while "Good...

2,255 views
asked 2 years ago by Mark M
last activity 2 years ago

title Control full width?

Hey, i am using a custom titlecontrol view but it doesn't fit fullwidth of my application ... :( No matter what i am trying left and right are "spaces" (10px or so) .. Even if i try to set the width to 1000 or so, it doesn't work... any idea?

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