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...
App working on Android but not iPhone
I don't have iPhone SDK, so I developed the app on Android emulator and it works absolutely fine on it, but when my client tried it on iPhone, the visuals were messed up, form elements weren't properly stacked and nothing was working as expected! I...
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...
Applications on Android Emulator just keeps on crashing
Hi All I am new to Titanium Just started yesterday. and its been two days that I have been trying to Install Titanium and test run an app. I have tried two applications 1. The default 2. KitchenSink and I just keep on getting this error "The...
table row painting callback
The using of table row classnames is very stable now (Android 1.6 r2af044c8) and improves the scrolling experience a lot! If the rows differs only in one or two properties of graphical element (for instance visibility, or background image), you have to...
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)
Interested in working in London on a contract?
I am looking for an Iphone/Android developer with experience of Appcelerator. if you have apps out there i can have a look at and interested in working on a 3-6 month contract in London then get in touch by either emailing me shervin@explorerec.com or call...
How to createTableView with fixed number of rows
Hi Sorry for the basic question - new to Titanium. This code works OK but always displays 12 rows by default, the first 3 have the data and the rest are blank. What's the best way to remove the blank rows? ~~~ // create table view data object var data =...
Pinch gesture clashes with custom swipe listener
Hello, I'm using a scrollView to display an image and I want to be able to zoom in&out. The problem is that I'm listening in on touchstart and touchend events to capture a swipe movement (I did not like how the swipe event itself is handled), and...
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
To use XML or JSON?
Which is better to use in an application? In terms of speed and responsiveness?
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...
Install onto device fails with new project - again... and simulator exception
I am trying to install a newly created project with no code changes to an iPhone 3GS with a valid application provisioning profile. The installation is failing at the install into iTunes step and I have not been able to manually install using iTunes as per...
Black Screen - Window transition
Strange problem, I have a main window named appWin, when the program launches I open this with appWin.open(). Within the interface I have a button for settings which I open with the transition flip from LEFT. This works fine, settings window is opened as...
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...
Can't INstall on Windows - Bad Image after INstall
Hello, I have tried a few times to install this at no luck. IT just says C:\.........\javascriptmodule.dll is either not desited to run on windows or it contains an error. Tried repairing too. NO luck
is it possible record my voice with background sound
is it possible record my voice with background sound?
Android sees Ti.UI.WebView.html as undefined
I am using a webView to load a page and check the html of that page. It works fine in the iPhone simulator, and not at all in the Android emulator. I am using SDK 1.5.1, iPhone SDK 4.1 and Android SDK 2.2. I set up the webView and add a listener as...
Not picking the right image files for Android Screensize
Hi all, Android Ti mobile SDK 1.6.x from continuous build server (about 1 week ago 10th Jan) on Mac OSX. Building APIs 2.2 on Ti Dev 1.2.2 I've got different image sizes in my Resources/android/images/high and Resources/android/images/medium I have...
Android build error. I have no idea!
Can anyone see what the problem is? I have no problems with any other Android apps, and this app works fine on IOS. Please help! ~~~ [ERROR] /Users/Me/Folder/Apps/MyApp/build/android/gen/com/*mydomain*/*myappname*/ApplicationStylesheet.java:5: ';'...
"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...
Yet another 'Cannot read property ... from undefined' error.
This is mobile, Android 2.2, SDK 1.5.1, on either emulator or physical phone. It's a new application, just a home screen in app.js thus far which is not that far removed from the stock app.js, i.e. a tabgroup and some windows in tabs with controls. I'm...
TableView search field - how to stop filtering with every keystroke?
What is the best way of preventing every change in the search bar from filtering the TableView? We load the top n records into the TableView and the filter function confuses the issue since it is only working with the loaded data. In our case the search...
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?
How can I add a toolbar to the iPad keyboard?
I have multiple textfields in an iPad app and I would like to add a toolbar above the keyboard with "Next" and "Previous" buttons that lets a user jump from one field to the next. I've checked out the keyboardToolbar example in the...
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...
defaultImageView
Has anyone been able to use an animated loading image for the defaultImage of a remote image? If so please let me know if this can be done.
create dynamic titanium apps - under your full control even after published to the app store
Now you can create Titanium apps which can be updated at any time (just like web pages), even after they're published to the AppStore, but still are native apps! ================ **www.cloudebug.com** is introducing an API to create Titanium applications...
Where are the pre-release SDKs?
I know I've been on a page where you can download pre-release SDKs. Can someone please post the link to that? Thanks!
Disable links in a webView?
Hi! I'm trying to figure out a way to prevent users from clicking links in a webView. "touchEnabled:false" ruined my scrollView so that is not an option. Any advice? Thanks!
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...
Now that Appcelerator acquired Aptana...
Are they going to build more of a WYSIWYG editor? It would cut down on coding by hours upon hours, and make better quality apps...
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...
android HTTPClient POST problems
I have the following code and anytime it's executed createReq.onError is called. What's wrong here? Using latest mobile SDK and android emulator. I'm sure that "somehost" (removed actual host) is working! ~~~ var createReq =...
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 from specified URL
You can view a screen capture video of the problem in action at the following URL: [http://www.atlmetal.com/mediaplayer/player.php?user=ATLmetal&id=122](http://www.atlmetal.com/mediaplayer/player.php?user=ATLmetal&id=122) Button...
Can't get window/view to open from specified URL
I have created a window in which has two buttons that when clicked, animate using the "Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT" animation. The only problem I am having, is that when you click on either button it does the animation as...
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 1 … 767 768 769 770 771 772 773 774 775 776 777 … 976