Community Questions & Answers

Android resume event (again...)

Hi, I want to restart a service call when my application is displayed. Android "resume" event for the application does not exist, so I wanted to use the one on the current activity. But it is not triggered. I have only one window in my...

Window change event in tab ?

Hi all, I have Tabgroup in my applications and it has 2 tabs. In one tab I then open other windows like this :- Alloy.Globals.tabgroup.activeTab.open(newWinToOpen); I want to know which window is at top right now but I am not finding any event to get...

Hidden window click through

Titanium 3.2.3 Android 4.4 Mac 10.9.3 I have 2 heavyweight windows and I am going to flip from one window to another by orientation change and the only way I think of doing this is by using the show() and hide() functions. Now the problem I noticed is...

Titanium Studio can't open

hello, its a first time i work with Titanium Studio i install * jdk-8u5-windows-i586 * node-v0.10.28-x86.msi and finally * Titanium_Studio.exe and display to me "Titanium Studio install successfully" but when i double click on Titanium...

Out of Memory - Titanium Alloy

Is it a bad idea to use some static variables or variables such as `var test = Alloy.createController('index');` on different Alloy controller file that contains one to many that really consumes too much memory? If yes, what's is the best practice to...

Slide window Effect in Alloy

Hi, I have decided to work on alloy for development. So, I am here to ask my first question. I want the window open with sliding effect from Right to left. I have used the animation effect from left to Right slide window. Which I have implemented using...

Open window in front of modal window

Hey, I have an ios app with a window controller which can be opened within a navigationWindow but also as a modal window. In this controller i open another Window on a specific action. This window has a semi transparent background and should overlap the...

Stacking debug messages

I'm having a weard bug that causes the following in the console: ~~~ [DEBUG] Window: Window is closed normally. [DEBUG] Window: Window is closed normally. [DEBUG] Window: Window is closed normally. ~~~ Whenever I repeat the action, more of these messages...

remove bar from Navigation Window

Hello, This question is regarding Ti 3.2.3 with iPhone as a target. I created a navigationWindow using: var naviWin = Titanium.UI.iOS.createNavigationWindow({ window: win//, // extendEdges: Ti.UI.EXTEND_EDGE_ALL, // includeOpaqueBars:...

Fixed menu with activities below

I'm looking for a solution for the following problem: (android+ios solution preferred) My current setup contains windows in which i consistently require a partial view which is the header. This means that every window creates a new header and if i close...

Navigation transitions in iOS7 like iOS6

The migration guide says: *"On iOS 7, when transitioning between two windows in a navigation stack, the bottom window slides half way off the screen, pauses then the top window appears. This is noticeable if you do not specify a background color for...

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

New window (alloy) can't be open in animation

I have a code which is in classic way, but i would like to change into alloy way. *** For IOS version*** The classic way's code as below. How can it works in alloy ? ~~~ $.img.addEventListener('click', function(e) { var newwin =...

Passing data to new open window

Hi guys, When user tap on the 'departOnBtn' button, it will open a new window (calendarView.js) and send a variable called text to it. Any idea how to do it? Many thanks! **MyTripWindow.js** ~~~ function MyTripWindow() { var win =...

No window settings?

I am opening a new window, but i cant get any of the attributes to work except color. Im using commonjs to open a new window from a slide menu. Here is some sample code. For IOS Any...

Window opening using slide menu

Hi I am using Titanium Studio, build: 3.2.3.201404181442, on a Mac Book OS10. I am making IOS app using a slide menu. I am using NappSlideMenu found here. https://github.com/viezel/NappSlideMenu. My problem is that I cannot open a new window from any...

closing windows

Hi, I have multiple places in my app where I am opening a window which is an extension of the tab group, if you will. I just realised with one window which has a scrollable view, that when I close the window and re-open it after, all components of the page...

How to extend the UI.Window class

Hello there, i would like to extend the Window class with some functions. Is this possible? If yes, how? If not, are there any workarounds? As best i want to do something like this (Pseudocode): ~~~ Window.prototype.startActivityIndicator = function()...

Showing 1-50 of 1,508 1 2 3 4 5 631