Community Questions & Answers

[WARN] : Called remove for [object TiUIView]

I am storing the top and left values, then trying to read and pass them to a (new or old) view when needed. I am getting [WARN] : Called remove for [object TiUIView] on [object TiUIWindow], but [object TiUIView] isn't a child or has already been...

FlipBook component

Hello everyone, I'm creating a FlipBook component for Titanium mobile for the iPad. [See this in action](http://dl.dropbox.com/u/12145036/flip.mov) Is in its first version, and all who wish to use it, have questions or can help me, leave a message...

can not access facebook

hi Its been a couple of days i started working with titanium and got familiar with the framework. Its really cool framework. Now i am building an app trying to connect with facebook.... I also registered an app on facebook developers and got the id.But it...

Where is the debug/console log location on an iPad?

I'm trying to determine if and where the console log is stored on the actual device (an iPad in this case). The log lives in the applications Documents directory in the simulator but not on the iPad. To be clear, this is the log to which Ti.API.trace...

Check if on line

From a programmatic "Best Practice " How would I check if my ios app is online and can send data or if not do nothing ?... this is working fine what I want to be sure of is if there is no connection that the app does nothing not freeze because...

Keyboard not hiding upon blur() on iPad

Hi everyone, Have anyone had a problem where the `blur()` function was removing focus from the textField but wasn't hiding the keyboard? I'm running on iPad (SDK 2.1.4, a little old, I know, but that's another topic) and noticed this happens on a modal...

Get the last inserted record

I want to retrieve the last inserted record...now I am getting the first record ... and db.lastInsertRowId I cant seem to make return the singular record I want ... Any ideas ? ~~~ var SelectStroke = function(){ var db =...

Sqlite

Where in the SDK can I find the database files I generate... here is the code I'm using to generate... I can't find the DB so I don't know if the db is generated or not generated... I'm getting no errors ... ~~~ var db =...

implementing time picker in iOS

Titanium Studio Version: 3.0.2.1361317434 device: iPad iOS SDK: 6. simulator Version: 6.1 Mac OS X version: 10.7.5 Xcode version: 4.6.1 Hi, i get a problem working with time pickers. The code bellows goes perfectly in Android but doesn't in iOS. It takes...

How can I draw a line?

I find it very hard to believe that there's no simple way to draw a line using Appcelerator. It seems very common among iOS apps (I'm making an iPad app). I want the user to be able to touchmove over a view and have a line appear where they have drawn. My...

Save Login data

Pragmatically how would I ... My ipad app have a log in screen... what is the best way & simplest way to save to log in info so next time they open the app the information is save and the can press the button and go

get value from Titanium.UI.PICKER_TYPE_TIME

Titanium Studio Version: 3.0.2.1361317434 device: iPad iOS SDK: 6. simulator Version: 6.1 Mac OS X version: 10.7.5 Xcode version: 4.6.1 Hi, i get a problem when trying to get a value from time pickers The code bellows goes perfectly in Android but not...

navigation group vs tabgroup

I started my ipad app with the default project that is a tabgroup... I want to navigate windows using custom buttons but when I try to use win2.open() method... Nothing happens... Should i replace tabgroup with navigation group....or is there a better way?

splitview using commonjs

Hi, I am trying to use the commonjs approach in an app for iPad only utilising the split view. Currently using Titanium 3.0.0.GA iOS 6.1 ~~~ var split = {}; var winMaster = Ti.UI.createWindow({ backgroundColor: 'yellow', title:...

platform=ios formFactor=tablet not working

Hi! I'm trying to change the width of my TableView with id table. ~~~ "#table" : { top: 200, height: 100, width:280 } "#table[platform=ios formFactor=tablet]" : { width:500 } ~~~ But this is not working. Is there...

Changing image according to platform

Hi everyone! I'm trying to change the image of my app according to the device, mobile or tablet. What am I doing wrong? ~~~ "#header[platform=ios formFactor=handheld]" :{ image:"/images/header.png" } "#header[platform=ios...

o querry a database on a server to return data

Im got a project where I need to querry a database on a server to return data. Im gonna query my database using php to return Username and Opp Name from my table... Are there any tutorial available how to do this with appcelerator ? meaning how would I...

Scope in commonJS module

This code: ~~~ function Model() { return this.init(); } Model.prototype.init = function() { var self = this; self.getVehiclepos(); this.cron = setInterval(self.getVehiclepos, 5000); return this; }; Model.prototype.getVehiclepos = function()...

Geo Location Issue

~~~ Central.prototype.getDeviceLocation = function(callback) { var location = new Object(); location.lat = 0; location.lng = 0; Titanium.Geolocation.purpose = "Recieve User Location"; Titanium.Geolocation.accuracy =...

Hi Back button is not showing

Hi everyone, I am in strange problem. I have used the navGroup for screens navigation in my App . But In signup window back button is not shown, don't know where I am doing mistake. Following is my code: That is where I am opening the window which...

iOS emulator suddenly crash

Hi, i get an error in titanium console and emulator crash suddenly. If somebody helps me thanks. im getting that in the console ~~~ [ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'. [ERROR] : Reason: [ERROR]...

Showing 1-50 of 1,692 1 2 3 4 5 634