Community Questions & Answers

Windows and memory free up

Hi, in my iPhone app I have a RootWindow.js containing the following code (any button in RootWindow.js opens a new Window with a transition, then, once the Window is open I can close it from the opened window itself): ~~~ // I omit repeated code but...

Refresh Page upon tab click

Hi All I am looking for a way to reload a page upon a tab click currently it just maintains the previous state i want it to completely close and reopen again. I am a newbie at titanium so some help with this would be amazing. ~~~ // this sets the...

Open new Window using Alloy

Hi! Please can anyone tell me what is the best way for open new window using Ti Alloy? Unfortunately I have a little bit problem with this... What I need is basically: -> app.js ~~~ var newWin = Ti.UI.createWindow({ url:...

Load window before opening it

Hi, is there any way to wait for a window to open until that new window is fully loaded? So in a sense the new window is preloaded first. For instance, let's say I have a window with a tableview with a bunch of items. When I click one of the items on...

Opening a PDF not working

Hello, I am trying to open a pdf to no avail. I referred to this http://developer.appcelerator.com/question/72361/open-pdf-file-on-android link to see how I could go about opening a pdf. It still does not work. I have also already asked this...

Opening a PDF not working

Hello, I am trying to open a pdf to no avail. I referred to this http://developer.appcelerator.com/question/72361/open-pdf-file-on-android link to see how I could go about opening a pdf. It still does not work. Below is the code. ~~~ var win =...

Open old window with commonjs

Hi, This is my 1st window code: ~~~ var actualWin; exports.init = function(){ //do blablabla and create window, then store in var actualWin = win; } exports.getWin(){ return actualWin; } exports.open(){ actualWin.open(); } ~~~ I call this...

What is the best option to open windows

Hi, All I have a multiple window app and have buttons to go back to previous pages if I use my app the first time all works well but if I page back my some of my icons on my page does not work. if a page opens it looks like this ~~~ winMail.add(new...

Opening a page with a button

First of all, Yes haha, I have spent hours trying to find a solution but I have not found anything. So I basically with the use of my button "buttonChampInfo" I would like to open the app1.js screen. I have absolutely no idea how to do it.. I...

Dynamically make calls, or open URL

Hi there, What I'm trying to do is. - Loading a URL and a phone number from a local DB.Then pass those into a button/link to prompt to make a call, or to open that URl. what I did so far, is to get my URL, and phone number as a var value, then i can't do...

Closing windows problem

Ok... I'm going to try to explain what I want to do and what my problem is... Basically, I want to create a main menu window (I'm working without tabs) with a start button and a second window with the program, so when you hit the button you go to the...

Showing 1-50 of 115 1 2 3