Community Questions & Answers

createWindow url doesn't function well

In Titanium Studio, i create my project using Default Project and Titanium SDK is 3.2.0.v20130414162442 and Deployment Target is Blackberry. In my app.js ~~~ Titanium.UI.setBackgroundColor('#000'); var tabGroup = Titanium.UI.createTabGroup(); var win1 =...

Can't open a new UI.window from a function?

I have a function which is supposed to display a new window, show information, and then call itself to show another window with the next piece of information. It works the first time, but when it calls itself the new window never shows up. Any help?...

Refresh window after modal close

Hello, I been trying to figure this out for hours now...and no luck, maybe I can find some light here. I have an app that popups a modal window for login proposes. That window asks the user to login and saves some info on a .db and after that it closes...

Create a window without an upper toolbar

Hi, I've tried to open a new window with no toolbar in the head of the window. I don't need the title and I DO need this place. I can't find a way to remove/hide this toolbar in order to use this place for other objects (like labels or buttons etc.) Thanks

AddEventListerners for createWindows

Hi, Can someone tell me what the addEventListener types there are for any createWindow methods? I went to the API docs and could not find anything: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Window.addEventListener-method.html I...

createWindow url file code not being run

So I'm trying to create a new window for a new support view within mobile app. from app.js I createWindow then after that opened it. With that process in mind I created the support.js and added all my form items thinking I would then add them back to the...

NavBar disappears when opening/closing a window

Hi, I create a window, when I move around the app, I have code that closes the window and re-opens it. Whenever it re-opens (i.e. win.open();) the navbar disappears (whereas, it was there at the beginning). Why is that? I tried to create it and reopen...

What's different with url and include

Hellow , I need to know what the different between using include and createWindow with url. 1. in app.js to using Ti.include('ui/HotNews.js') 2. in app.js to createWindow using url ~~~ var WinHotNews = Titanium.UI.createWindow({ title:'????', ...

Creating a child window that I have control overl

I need some advice please. I need to create a series of child windows. Some of them will have one button, two buttons, 4 buttons, text boxes etc. Instead of always creating each window from scratch, is there a way I can create a 'master' child window...

navigating among windows

i am trying to switch from one window to another and back to the previous one ... but while doing so when i switch back to the first window .. the elements (buttons, views) are disabled and logcat shows that i am clicking on the window... here are my...

currentWindow

I am using the code from the kitchen sink XML RSS and I get to the point on line 60 where it says current window is not valid. I have used this file as an included file in my app.js but still telling me currentWindow is a no go. What is the work around...

Loading a tableview into a section of the js window

I am trying to load a tableview into the bottom left hand corner of a js window. I have tabs on the right. When each one is clicked I would like the tableview to slide in into the left handside (height: 400, width: 600). This is for iPad. How can this be...

Can't get window/view to open using

I am new to titanium developer mobile as-well-as developing for iphone all together. But, I have been a web developer for years mainly using HTML, CSS, PHP/MySQL, some Javascript, etc. So I thought I would give it a shot as i have a website I would like to...

Can't get window/view to open using

I am new to titanium developer mobile as-well-as developing for iphone all together. But, I have been a web developer for years mainly using HTML, CSS, PHP/MySQL, some Javascript, etc. So I thought I would give it a shot as i have a website I would like to...

Android App and Menu

I'm trying to have my Android App display content in a wondow when it launches. I don't want tabGroups. I also want a menu to appear when the Menu button is clicked but in app.js when I createWindow and setMenu my app crashes. Can someone tell me how or...

Showing 1-49 of 49