Community Questions & Answers

Go back through several Windows

I need to do something that seems simple, but I can't find a way to do it : - I have a tabGroup with several Windows. - I navigate from Window to Window opening them with : `Titanium.UI.currentTab.open(win,{animated:true});` - I can go back to the...

Click event fires multiple times

Hi, I am adding a click event handler to a row of image views. Each view has an event handler attached through a loop;- ~~~ rowImages[i][j].addEventListener("click", function(e){gameLoop(e.source.cID, e.source.cOrder, e);}); ~~~ Each time i...

Maps on Android

I've seen a lot of questions about Google maps API keys on here, but I've noticed that maps work fine both on my emulator and on my Droid X (in development mode) without adding any key whatsoever. I'm using mobile SDK 1.5.1 and Android APIs 2.2. When I...

Storefront App help please !!!

Can someone point me in the right direction please. I want to get a shop front app built in Titanium (my developer says) so I can sell my products (clothes) from my store front on a iphone app, but I can't find a payment gateway and I am told Apple don't...

Using Titanium.Codec for desktop

How do I go about using Titanium.Codec? All I see is the SHA1 property. I tried var check = Titanium.Codec.SHA1("string"); But it just broke my script. Eveything I find on here has to do with moblie apps, Ti.Utils.SHA1, which is not what I'm...

iPhone Titanium developer wanted ASAP

We have been building a Titanium based app on Android, and now need it to be ported over to the iPhone. Currently we only have developers available on Windows, and so need someone on the OS X side. This current work consists only of making the app run on...

Android Emulator problem

Hi; I can't have the Android emulator to work... The emulator launches correctly; but here's what titanium shows me: ~~~ [INFO] Building Disneytheque for Android ... one moment [INFO] Titanium SDK version: 1.6.0 (01/18/11 12:13 3a766c4...) [INFO] Copying...

iphone/ipad Color matrix?

Is there a way to programatically tint the screen color and add blend modes to it? (Image masking feature has been tried but did not give proper results)

Open a webview a second Time?

Hey I've got a couple of webviews that use JS libraries like multitouch-fake.js and a jquery webview for painting. they all work fine the first time I open them, but whenever I close them, and open them again they don't respond anymore Is this fixable

setup complaint and request.

This is a minor complaint. I can appreciate the simplistic interface, but there is something to be said for application settings. Specifically, defining paths. I have multiple versions of python installed on my windows box (ranging from 2.5 -> 3.1). In...

Splash screen freezes in the Android Simulator

Hi, I'm developing an app that runs perfectly in the iPhone simulator. But when it comes to run it in the Android simulator, it freezes and stops at the splash screen. I put analytics to false and tried many full rebuilds but no way. And as i was working...

How to cancel an animation

I spent a few minutes trying to find a cancel or a stop animation function in the API, and then after looking at several KitchenSink examples I found the solution in animation_points.js Basically you call animate() with nothing to stop the current...

Radio Button

Hi all, I am developing a application in android which has some controls in it. I have to use radio button in that application, but i found that Titanium does not support for radio button. So is there any way to implement radio button in Titanium Mobile...

"Run on device" fails

As soon as I click on "Install Now" I get: --- Install Error Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1143, in main ...

Rotate Slow Down and Speed Up

I am trying to rotate an item in a continuous animation. The animation resets the objects position slightly after each rotation making it look less smooth. I also noticed that a rotation animation starts slowly and ends slowly, it sort of "eases"...

Titanium to iPhone Fails

For some reason I can't get the application that I've made to successfully port to the iPhone. The process runs just fine, it installs to the device but when I launch the application it fails and does not run. I have tried building the application (with...

Close top-most window in navigation group

I'm using a Table View that first displays a list of items, and then upon selection of an item, gives the user the ability to edit the item's name. The right navigation button is defined as Save. Clicking this should save the change and then go back to...

Any other code

I'm new to this, but I have had my fun altering the Kitchen Sink App. Is there a place that has other examples that I can screw with? Does Apple offer code that I can alter with Titanium Developer?

TiBlob to Byte Array

I have seen this question asked a few times, but no definite answer. I am attempting to send an image to a MS (Soap) Web Service, and the service requires files to be sent as byte arrays. Is there a way to convert TiBlobs to byte arrays? [Relevant Code...

Android: Can't figure out how the keyboard works

Hi! I'm trying to get the input of a textfield into an alert. So far so good, I can get the value of the textfield. But I have one major problem. All I can input is this: %*$ and so on. When I click on a number sometimes it works, but I can't put letters...

TableView + SearchBar height & attr

My platform sdk 1.5, android I have this code ~~~ var searchInput = Ti.UI.createSearchBar({ showCancel:false }); var tableview = Ti.UI.createTableView({ rowHeight: win.height/8, search: searchInput }); win.add(tableview); ~~~ I'm tring to...

mdfind takes a long time sometimes

In OSX Snow Leapord my iPhone build, sometimes mdfind takes a long (1-6 minutes) time to complete other times it completes in seconds. mdfind -onlyin /Users/davesmith/Library/Application Support/iPhone Simulator/4.1 -name...

Tabs appeared centered in screen with ios

Trying to make an application working in Android and Ios and it's really a nightmare. So for the first problem, I decided to use a tabgroup which seems to be a solution to problems with modal, fullscreen and other attributes not working the same with the...

How To Position a Popover with a ButtonBar

I'm trying to create a ButtonBar with 2 buttons that when clicked, will show an iPad Popover underneath the clicked button. Getting Popover positioned correctly seems to be the problem. I can get it to show up centered below the ButtonBar, but it's not...

Can't get window/view to open using

I am new to titanium developer mobile as-well-as developing for iphone all together. But, I have been a web developer for years mainly using HTML, CSS, PHP/MySQL, some Javascript, etc. So I thought I would give it a shot as i have a website I would like to...

Showing 38,551-38,600 of 48,781 1767 768 769 770 771 772 773 774 775 776 777976