Community Questions & Answers

Move view without animation

With this code I move a view from a point to another one animating it: ~~~ var m = Ti.UI.create2DMatrix(); m = m.translate(0, 175); var a = Ti.UI.createAnimation(); a.transform = m; a.duration = 300; myView.animate(a); ~~~ Now, I want to do a different...

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

iOS animation flicker

Hello, I have a simple timer that updates every 1/10 of a second using setTimeout ~~~ /** * * Calculates the time elapsed in milliseconds and displays * the total elapsed * */ showElapsed:...

Android animation

Hello friends, I have a question since I am trying animations and want to make a little more advanced animations equal to flip card, fading, etc.. But Android can not find anything in the official documentation Titanium android if this but not if there is...

Disappointed in UI / Animation

I am new to Titanium, and I am having a hard time believing that Android UI animation only supports 2.0 linear and limited animation. Is there an updated module by the Titanium team that supports 3.0 and 4.0 animation capabilities while gracefully...

Auto scroll and layout issue

Application type:mobile,Titanium SDK:3.2.1,Device:Samsung galaxy grand(Android),OS:Windows 7 Auto scroll ~~~ var db=Ti.Database.open('mydb'); try{ var adrow=db.execute('SELECT linkout,ad_screen,name,id from advertisement'); ...

Animating View when resuming app

Hi guys I m developing ios 7 apps using Titanium 3.2.2 and my question is about resuming apps. I m trying to animate view when apps open and resuming .but when open the apps its work but when ? resumed its not working. Any idea ? ~~~ var box =...

animating formView

I have to formView(s) and am trying to show and hide them using animation, the problem is the first time the button is clicked the form is animating, but when click again it just shows or hide without animation. how can I fix the animation of both...

chart not working in web view for Android

i am running HTML code in webview and that html file need chart.js file reference so i am using following code if (Titanium.Platform.name =='android') { file="/chart.js"; } else { file="chart.js"; } // piechart animation...

Problem with Animation in Android 2.3

Hi. I'm developing a mobile application for Android, with Titanium 3.2.1. My problem occurs with a physical device with Android 2.3, but works fine in the rest of versions. Here my code: view: ~~~ <Alloy> <Window...

Titanium view animation issue

Hi everyone, I am trying to create a view and an animation associated to the view. Here is the part of the code with those elements: ~~~ var mainView = Titanium.UI.createView{(width:100, height:100, top:0, left:0,...

Folder Structure

Hi guys, I have problem navigating the folders in the Titanium Studio android app. I am trying to create an anim folder for my custom animation for android version but I do not where to put them. Here is the link if do not understand:...

Showing 1-50 of 846 1 2 3 4 5 617