Community Questions & Answers

Window don't close

I am making an iPhone app with a facebook like slide navigation, which is working just fine. In addition I have 3 buttons on the top bar where I need different overlay windows for each button - first tap opens the overlay and second tap close the window...

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

Close TabGroup iPhone / SDK 3.0

Hi. Im trying to close a Titanium.UI.TabGroup with tabgroup.close(). The tabgroup closes, but it doesnt seem that it is released from memory. When trying to rebuild the tabgroup, it seems like it keeps all the windows from the previous tabgroup aswell,...

UIApplicationExitsOnSuspend

Has anyone got this to work? I have even tried it on KS and it does nothing. The app enters suspend mode only and does not close down in completion. Is there more to just editing the info.plist file in build > iphone? regards in anticipation. AndyG.

iOS vs Android Window Close

Hi, In iOS i tried to close a window with `win.close();` and it never worked (it just made everything back but did not go back also) so instead, I use : ~~~ Titanium.API.currentTabGroup.getActiveTab().close(win,{animated:true});| ~~~ currentTabGroup is...

How do i close my win?

Hi. I have a function that runs in a window that i am creating onClick on btn. It used to be on a tab but i decided to move to a button inside the app and that made problems for me.. The window (That is created inside the function) has navBarHidden:...

Close window with no animation

How can I close a window (sub nav of a tab group) without animation? The close method seems to accept an animation object, but I have not been able to use it successfully at least on the phone. I need a way to get back to the root tab window and closing...

Close app with exit button

Hiya, I've made an exit button on my app window(The first window created in app.js, all windows are added to this one). I'd like to close the entire app when someone pressed the "exit" button. However, it doesn't seem to work. Could someone...

Close tabGroup and open window

So, I have a window(win) with a facebook login. When I log in, the tabGroup (3 tabs) is opened. Inside one of the tabs, the third one, I have a logout button. I want that, when I log out, the tabGroup closes (as all windows inside of it) and open the log...

Closing a window hosting a webview

Hi All, I have facing a problem in closing a child window which has a webview added to it. The child window is added to a main window. Here is the code snippet: ~~~ function ApplicationWindow() { //load component dependencies var FirstView =...

TimePickerDilaog at click of text in label view

I am doing an app for timetracker.... i have button check in/check out for the app... when i press check in a table view appears ... having column for in and out time..... now when i press check in a time stamp appears for in and out label... now i...

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

Empty a Window

Hi, I have a window that contains six buttons, each button has a Click event that fills a window named products, this six products are displayed depending on the button pressed. My problem is that when I return to the window of the six main buttons and ...

What happened to the close event?

~~~ Ti.App.addEventListener('close',function(event) { //-- The home button was pressed/app was closed }); ~~~ The above no longer works on iOS or Android. I am using the latest Ti SKD release: 2.1.2 GA The last SDK I was using when it was working was...

stopped unexperctedlly

Application type: mobile Titanium SDK: 2.1.0GA Platform & version: Android 2.3 Device: Android emulator and physical device Host Operating System: Windows 7 Titanium Studio: 1.0 Dear folk, I got this unexpectedly stopped error, doesn't anyone has any...

Close Event for Window?

I'm working in Titanium Desktop, I'm not sure how to do this, but I was looking for a way to capture an event when a window closes. This works for when the application closes, but I think it fires after the window closes because I put the code to process...

'android:back' not closing my window.

Hi,I am developing android application.In my application I need to close one window on click of back button of android device. My code looks like ~~~ var win = Ti.UI.currentWindow; var label1 = Ti.UI.createLabel( { text:'Edit ', }); var img_win =...

Showing 1-50 of 220 1 2 3 4 5