Questions tagged [titanium-alloy]

An MVC-inspired Appcelerator framework for the Titanium SDK, with focus on rapid development/prototyping. Contains built-in support for Backbone.js and Underscore.js.

918 questions
0
votes
1 answer

Disable TableView Vertical Bounces When Scrolling with Titanium

I've been looking all over for the answer to this to no avail. When scrolling a TableView in a Titanium iPhone app, the TableView bounces when you've scrolled past it's top or bottom. It's supposed to be some kind of built in "Pull to refresh"…
vbullinger
  • 4,016
  • 3
  • 27
  • 32
0
votes
1 answer

Application does not exist in iOS simulator - Titanium Alloy

I am a newbie of Titanium. I created a Titanium Alloy project, and run it in iPhone simulator. And it builds successfully: .... [INFO] : Finished building the application in 1s 881ms [INFO] : Running application in iOS Simulator [INFO] : …
chipbk10
  • 5,783
  • 12
  • 49
  • 85
0
votes
1 answer

Titanium Alloy - Closeing window

Im working in Titanium Alloy and creating a popup window as a widget. I want to have the close - image up over the right top corner, so it stick abit out of the popup window. So I created 2 separate window in the widget xml-file. One to just hold…
AppfiXarna
  • 11
  • 2
0
votes
0 answers

How to slide a window for 90% to right without to see it compressed

I ve tried this piece of code to make a slide-to-right animation on a window (it's is a common way.. but usually the slide is made for 100% to left/right which makes the window to disappear completely from the screen ) but what i need is just to…
Bardelman
  • 2,176
  • 7
  • 43
  • 70
0
votes
0 answers

TableView error in appcelerator

Am using 3.1.3.GA sdk, Alloys and 2.3.3 Android Emulator. I am using a TableView and whenever it is drawn am getting this error, [ERROR][dalvikvm( 9798)] Could not find class ti.modules.titanium.ui.widget.searchview.TiUISearchView', referenced from…
Guts
  • 81
  • 4
  • 20
0
votes
1 answer

Titanium How do i call functions from an array of function names?

Hello I'm working with Titanium Alloy and I have a problem with call some function from other files: I have this file in /lib: validation.js exports.isInt=function(obj){ if(parseInt(obj.value) != parseFloat(obj.value)) { return false; } else{ …
0
votes
1 answer

how to use postlayout in titanium (Alloy )imageview

Example code using postlayout in Titanium 3.x (Alloy) : View:
Jagu
  • 762
  • 7
  • 17
0
votes
1 answer

Is there any way to optimizing image upload?

I have tried the following methods, normal image upload. encoding and decoding. these two methods are taking long time to upload the image. Any suggestion?
0
votes
1 answer

Appcelerator Alloy : How to manage the garbage collection for Android

I've created an app using alloy framework for both iOS and android platforms. I'm having problems with the memory. My app uses a lot of tableviews with custom rows having images. In the iOS simulator and device it uses a lot of memory even if I…
0
votes
1 answer

abort an http request Titanium Appcelerator

Am using 3.1.3.GA Titanium SDK, Alloys and 2.3.3 Android Emulator. I am trying to post an Ajax using Ti.Network.createHTTPClient() and at some point I need to abort it, Now I am trying this code and its not getting work or ajax request not getting…
0
votes
0 answers

how to optimize image uploading in iOS?

I'm using iOS in front end to upload the image by using the following encode script, Ti.Utils.base64encode(get_image); In back end i'm using the following script to decode the image in Rails. Base64.decode64(encrypted_image) Now, this is…
0
votes
2 answers

Android Titanium Issue - Can't run or create new Alloy project

After I upgrade Titanium to 3.1.3, I can't run existing Alloy project. When I run existing Alloy project with Emulator, I get an error: Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.1.GA Copyright (c) 2012-2013,…
Noob
  • 1
  • 2
0
votes
2 answers

Titanium App Freezes When Taking Photo on iOS

Environment: iOS 7.0.3 & 6.1.3, tested on iPhone devices (several separate devices). Ti v 3.1.3 with Alloy 1.2.2. I'm having trouble with my app freezing when taking a photo on the device. Selecting a photo from the gallery works without a problem,…
Justin Davis
  • 305
  • 1
  • 3
  • 16
0
votes
2 answers

Android Build Error: Unable to locate Java VM. Please set JAVA_HOME environment variable

I'm using Ti Studio on Win7, and my project builds and works when I have my Android plugged in via USB and I run using "Android Device". However, when I try to buid it for distribution I get: [ERROR] Program launch failed. Unable to locate Java VM.…
Jonah
  • 15,806
  • 22
  • 87
  • 161
0
votes
1 answer

Testing Titanium Alloy BackboneJS Collection with sample data

I am trying to figure out how to test a Backbone.Collection using sample data but every time I call fetch on the Collection it does not seem to behave the way I expect it to. For example, using jasmine and coffeescript, describe "task model", -> …
Peter
  • 4,493
  • 6
  • 41
  • 64