Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (ti.app)
Browsing latest articles
Browse All 15 View Live

Ti.App Global Variables and Webviews = Null

Hi, I have an application that quieries a sql database and assigns the results/fields to Ti.App variables so that they can be accessed from any other js file. Whenever I open a window that contains a...

View Article


Ti.App Global Objects won't update.

Hi, I'm making a facebook chat and I'm already receiving the list of online friends, and connected to the XMPP server through sockets.... when the XMPP connects instead of requesting the roster I use...

View Article


TI.App variable works only once.

Hello I am creating a tableView and passing it into a gloable var (TI.App.myVar). In another window (win2) the tableView is been showed - It works... But If I close win2, and open it again the table is...

View Article

Ti.App.Properties Lists within Lists

Hi there, Is it possible to store a list in properties that contains x amount of lists, which in turn contain x amount of objects? i.e. var product1 = new product(); var product2 = new product(); var...

View Article

Is it still okay to use Ti.App?

Hi All, I am working working around some of the memory issues I am having with 1.7.2. I have shared database library, containing all DB calls. In my testing I have moved the db object into app.js and...

View Article


Difference between Ti.App & Titanium.App

Hiya, Just a quick tech question: What's the difference between the expressions "Ti.App" and "Titanium.App", and when is it appropriate to use one over the other? Thanks! Glen

View Article

Android query and excute problem

hello, I need your help I have two javascript files, the first called main contains some of the following code SearchText.addEventListener('change', function(e) { if(SearchText.value == "") {   }else{...

View Article

Resume event not fired on unlock

Hi! I am currently working on an app that check for GPS data every X mins/seconds. I use the "pause" event to stop it while the app is in background and resume it with "resume" event. No problem there....

View Article


WebView event problem

Hello, I cannot access the Ti.App var inside a webview. My code is similar to Ti.App.addEventListener('btnClicked', function(e) { alert('Test'); });   var WebView = Ti.UI.createWebView({ width: 320,...

View Article


Another [undefined] is not an object error

So it was working literally 30 minutes ago for several days and boom its down. function cartBadge(){ if ( cartItems.length >= 1){ Ti.App.tabCart.setBadge(cartItems.length); } }The error I receive is...

View Article

Why Titanium can't evaluate Ti.App?

I got the following error while firing an application event from Titanium window to a local html page. Would you please help to see why Titanium can't recognize Ti.App? Titanium 2.0.2 IOS 5.0 [WARN]...

View Article

Global object

My intern developed an Titanium Android App and created an global object within the Ti.App namespace like this: Ti.App.ObjectName.function This seemed to work in Android but on iOS it doesn't work when...

View Article

Create Dynamic View and Keep in Memory

Hell there, i have a button creating a new view everytime i click on it. If i close my app, i open again the app, the views i created disapeared (so normal !!! ). How i can save in memory these new...

View Article


Ti is not defined when Ti.App.fireEvent in webview

That's all the information I can give you guys. I can't access titanium or Ti from webview. When I run in on the desktop it keeps saying: Uncaught ReferenceError: Ti is not defined Am I missing an...

View Article

Globally fire event for all windows. But closed windows also listening to the...

Hello, I am making a music player like widget which will be a bar at the bottom of each player. A user can traverse from one window to another but the widget will be present on all windows and will...

View Article

Browsing latest articles
Browse All 15 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>