I want to check if a file exists locally, where the HTML file is located. It has to be JavaScript. JavaScript will never be disabled. jQuery is not good but can do.  By the way, I am making a titanium app for Mac so I am looking for a way of protecti...
I am working with Titanium, my code looks like this:  var currentData = new Array();  if(currentData[index]!==""||currentData[index]!==null||currentData[index]!=='null') {     Ti.API.info("is exists  " + currentData[index]);...
I'm trying to find a good way to work on CoffeeScript on Windows and be able to process these files quickly to JavaScript in the IDE.  RubyMine - if I just open a .coffee file in RubyMine this seems to work. But I see no button or menu option to...
I have come across a very strange problem. I have tried to find its solution but in vain. My problem is that I want to create a random  number between 1-45 and I don't want that number to repeat again....
I have a date string "2012-11-14T06:57:36+0000" that I want to convert to the following format "Nov 14 2012 12:27". I have tried a lot of solutions including Convert UTC Date to datetime string Javascript. But nothing could help me. T...
this has been giving me a headache for a couple weeks now -- hope somebody can help. I'm building an app for iOs 5.0, using the 2.1.4 SDK in Titanium mobile. My app pulls data from a database, and displays it in a scrollableview using labels and...
I am using google aouth with following in scope  scope : ['https://www.googleapis.com/auth/tasks', 'https://www.googleapis.com/auth/tasks.readonly', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleap...
I'm using Titanium Appcelerator mobile API 1.7.2.  When creating an array, I'm getting some odd results. Is it my syntax?  container.textBoxArray = new Array(); container.textBoxArray[0] = createPasswordTextField(options, '0%'); conta...
I'm working with two js files and sharing variables between them in a titanium app. In my main app.js I have 3 variables associated with each row in a table. I have an event listener for when a row is clicked to open a modal view whose components...
I am a newbie to Titanium. I am creating a picker in Titanium which loads a set of records from my local sqlite database.    Whenever I scroll the picker, for the first time there seems to be a small lag in scrolling. That is, when user scrolls the p...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.