Community Questions & Answers

Separate window and button

Hello everybody ! I'm just a new user of Titanium Studio, and I'm currently learning how to develop on Android. More, I'm sorry for my bad English (because I'm French !), and I hope I will be clear. I've just finished an application which can count the...

Silly Android Question

Hi All I feel this maybe a silly question but going to ask anyway. I have been developing using titanium for IOS for a while now and have watch titanium grow and love it. Recently i have been looking into making my apps cross platform and building them...

Switch tabgroup animated

Hello Is it possible to animate the tabgroup switch (like when you open a window) I use the following line, but I don't know how to animate this one ~~~ win.tabGroup.setActiveTab(2); ~~~ When opening a window I use the folling: ~~~ theTab.open(newWin,...

Multiple views with drawer menu

I am using drawer menu for my application. I have created one window with multiple views. On click of any menu item i want to display the respective view (i have set the visible property of all views except the active one to false) The issue is when i...

Modal Window transparency

Hi I'm creating a modal Window, it works fine on Android (the Window has a dark transparent color); But on iOS the modal Windowhas a solid white color. ~~~ var searchView = Ti.UI.createWindow({ theme : "Theme.NoActionBar", modal :...

window doesn't add view

Hi everyone, i have this strange problem which maybe is very simple: in my application i have 2 windows, a button andone view. At the beginning the view is added to the first window. I'd like that pressing the button the second window adds the view and...

Generic Tab - Tab Group Issue

- Titanium Studio: 3.4.0.201409261227 - Device: Android emulator - Nexus 10 - OS: Windows 7 I'm new to Titanium and Alloy. I'm trying to create a very generic Tabbing system utilizing the Alloy Tag <TabGroup> and my emulator bombs out anytime I hit...

remove view

Hey guys , I am new to titanium.I am facing issue in closing view after window switch. ~~ function createAPIExampleWindow(){ var win = Ti.UI.createWindow({ backgroundColor:'#222' }); var data = [ {title:...

Load different first window based on cookie?

I have code in the alloy.js file which checks for the presence and value of a cookie. Based upon this cookie I want to branch to either a login screen or into the restored session window. What should the code look like in (index.js?)(alloy.js?) to manage...

How Can I close parent window of any Window ?

Hello, I want to know that How Can I close parent window ? I have Login window and Registration button inside the window. Now I am showing Registration window as **modal** when button is pressed. Now when Registration get successful then I am closing...

Reverse window.open() animation on close

This might be a dumb question, so forgive me in advance :) When using an animation to open a window, is there a way to reverse that animation when it closes? Example, let's say you open a window as such: ~~~ win.open({ transition:...

Android 4.4 window slow to be shown

SDK 3.4.0.GA I've noticed that on Android API19 (4.4.2, 4.4.4) windows are very slow to be shown. Here how I open it ~~~ Alloy.createController('mywin', {}).getView().open(); ~~~ I put a postLayout listener on the window ~~~ <Alloy> <Window...

How to get currentWindow in Alloy

In Alloy, Ti.UI.currentWindow doesn't work (returns undefined). Is there an alternative to this? From the context of a TableViewRow controller I need to access the current window in order to add a view (spinner). Any suggestions?

Window Hierarchy

According to the iOS human interface guidelines, an app only has one window and then different views that change within that window. In the tutorials I have done for titanium it always mentioned to create a different window and then add other views to that...

Add window to a view - 3.2.2

Hi, I am trying to add a view to an existing window. But when i to do this, the app crashes with 'NSRangeException. - [__NSArrayM objectAtIndex:]: index 1 beyond bounds [0 .. 0] This worked on 2.x SDK. but now i am using 3.2.2. What is the correct...

Showing 1-50 of 1,575 1 2 3 4 5 632