Community Questions & Answers

Open a new screen

Hello. At this moment I'm running a small application (one screen). So I have one controller, one view and one style. I'd like to add an other window, so I added a new Alloy Controller (lets call this one "example.js"). How is it possible to...

Packaging android application error

android devices nexus 7 Node.js Node.js Version = 0.10.13 npm Version = 1.3.2 Titanium CLI CLI Version = 3.4.1 node-appc Version = 0.2.14 Titanium SDKs 3.5.0.GA Version ...

Setting components in a window before opening

I have a ListView populated with some tasks. When I click on an item, a window containing the details of that task is shown. I'm doing it as follows: ~~~ function itemclick(e){ var ntarefa = Alloy.createController('detalhes', { tarefa:...

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,...

Insert an array as database field

Hi, I'm working on an application which has a window and a button. When i press the button, the win add a view and put this view in an array, therefore i have an array containing a series of view. I use an array to contain the view and a variable to track...

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

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