Community Questions & Answers

Rotate on touchmove

I am trying to make it so that when a user "touchmove" across the x axis it rotates the image similar to the IOS app "stackd". I have it worked where it rotates but I want it so that it begins moving on an angle as it the object is...

Ti module code in Apple Swift?

Hi, I'm interested in using Apple's Swift to create Ti modules for when it's released later in the year. So according to the Appcelerator blog, Swift compiles down to the same binaries as modules created in Obj C and is thus a valid alternative. Has anyone...

TouchEnabled does not disable

Hello, I have just upgraded to Titanium 3.3 and noticed that enabled is now deprecated. I previously was using enabled for a pair of buttons to create a pagination effect. When a button was disabled it would grey out and the user would be unable to click...

Trouble pathing in require method

Hi people! I had trouble linking the js file into the require method. It gives 'Uncaught Error: Requested module not found' error. I also tried cleaning the project and it didn't work. It would be great if you can guide me along! Many thanks! :) Here...

listview items in ios overlap

Hi, I have a problem where I cannot set horizontal layout for listview rows in iOS. And if I don't set the left property of each item in the row they overlap. For Android the same code works well. This is how the row item looks like: ` var row =...

Model and like operator

I have the following code that I want to change a little --- model.fetch({id: 'foo-42}); return model.attributes.content; --- What I want to do is to retrieve all 'foo-' record (then execute select * from myTable where id like 'foo-%' ) Is it possible to...

Mobile Web Http Client Request

Am using 3.2.2.GA sdk, Alloys and chrome and mozilla for development. I have set CORS for my Jetty server. and its working fine. I have tried to send an ajax from titanium but I dont know what may be the problem. I always getting **cant reach host**, when...

XML Parsing in titnaium

i have follow document as a response but dono how to use it in titanium ~~~ <?xml version="1.0" encoding="utf-8"?> <data> <status>200</status> <description>OK</description> <topcities> ...

Storing data as JSON in a file or in a database.

Hey! I'm building an app where I need to store some data fetched from a remote web service. I had planned on storing as json instead of in a sqlite database, but I'm just wondering if this is a good thing to do? There's no real reason to it other than...

sqlite possible to call row by variable?

wondering if its possible to use a variable string to declare a row in an sqlite statement. for example ~~~ ('UPDATE measurements SET row1=?', row1.value); ~~~ so row1 would be a value saved from a labels text, and it also refers to the row name in my...

Is it possible to get a better Q&A system in place?

Appcelerator is a great idea and sometimes I love this framework. Other times I want my company to bail on it and just go native. Partly, it is because this has got to be the WORST form type system for finding answers to my questions. The search gives...

Error: EPERM, operation not permitted 'C:\Users\famil_000\Dropbox\TI_APP\Biblioteca\build\android\bin\Biblioteca.apkz'

Hi, i unable to test my app on device, i have tried everything: i restart my pc, phone, the TI studio, i install all the android sdk but nothing. Can anyone help me. Here is the log console output. [INFO] : Generating i18n files [INFO] : Generating...

pupup remote url in webview

i'm using webview for just link my mobile url. when i popup window ( window.open() ) for find address or find id, webview not handling this. **Uncaught ReferenceError: TiApp is not defined** below code maybe automatically inject to remote loading...

Can't run demo application

Hi everyone. I'm trying to run demo application "Hello World" using android emulator, but when I run it I'm getting next error in console output: [ERROR]: Application Installer abnormal process termination. Process exit value was 8 Any...

Window change event in tab ?

Hi all, I have Tabgroup in my applications and it has 2 tabs. In one tab I then open other windows like this :- Alloy.Globals.tabgroup.activeTab.open(newWinToOpen); I want to know which window is at top right now but I am not finding any event to get...

Facebook Login/Logout events are not firing

I see that this question has been asked multiple times here and in JIRA but it was never been answered. The issue is that facebook "login" and "logout" events are not firing. Here is the code: ~~~ var fb = require('facebook'); fb.appid...

ACS Push via internet, php script

Hello there, I use ACS to push, push works fine on my application. For hours I tried a php which allows push sent from our ftp server script without going through the platform of titanium. I found a lot of info on this forum, github but none work can...

Get HTML of a WebView

Hello I have a WebView where I load some local html which queries a remote website and show results; the problem is that when the WebView is reloaded with the results is I access the html property is unchanged (has the form code). I tried to load the page...

Showing 51-100 of 62,147 1 2 3 4 5 6 71243