Community Questions & Answers
Facebook - Cancelling with Back button Android
Hi all, Okay here's an odd question: I'm using FB Authorize in an Android app. (fwiw I'm using the new v3.2 module... but I've found the same results with both) This then pops up the usual log-in Webview, aok. If the user cancels or it fails, then...
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,...
Cancel User swipe/touchmove
Hey! Is there a way to cancel a user event like swipe or touchmove? I want to cancel a swipe gesture after it reaches a certain point. ~~~ var view1 = Ti.UI.createView(); var view2 = Ti.UI.createView({backgroundColor:'#123'}); var view3 =...
CreateTextField - my numeric Keyboard won't go away.
Hi Everyone, I have a very simple scenario: A createTextField is added to a window. I click in the text field, and i just want to enter a number. That's it. A number keyboard pad appears. I enter a number - and it works. However, the keyboard doesn't...
Android showDatePickerDialog() not showing again if user press 'cancel'
Hi everyone, I was trying to do a DatePicker for Android that displays when I touch a TextField(could be a button), but the problem is that when I click on 'cancel', the dialog does not displays again. Can anyone help me with this? Thank...
optionsdialog cancel when clicked in open space?
I'd like to cancel the optionsdialog when the user clicks in open space on iOs... is there any way to do this?
Bug or Doc Error: AlertDialog click event properties
Hey all. just posting something I noticed today. ~~~ a.addEventListener('click', function(e) { Ti.API.info(e.cancel); }); ~~~ in the docs, the "cancel" property is said to be "boolean to indicate if the cancel button was pressed"....
Cancel upload
Hi Guys, I have a bit of a dilemma to do with Facebook uploading of images. I had a look through Q & A as well as the API docs regarding cancelling an upload. The problem I'm having is in my app there is a Facebook upload button that takes a...
showCancel not working for searchbar on tableview
Setting showCancel to false on a SearchBar I'm adding to a TableView doesn't seem to have any affect. Any suggestions?
Cancel Button in Camera randomly goes black
Hello all! I'm doing a very basic camera call in iOS (5.0.1 on a 4S) on SDK 1.7.5 as...
Canceling video loading
What is the designated way to interrupt video loading (from network)? I set the url of the videoplayer and add an eventlistener for the loadstate. I want the user beeing able to cancel the loading. It's an app for iPad exclusive.
SearchBar FontColor of the CancelButton
Hi, is there a possible solution to change the color of the "Cancel" Button on a SearchBar? I can change the color of the bar and the button by changing the `barColor` but if I change this to a color near white the text on the "Cancel"...
searchbar cancel button
the blur-event disables the 'cancel' button within the searchbar. i the normal mail-app from apple it keeps enable even if the searchbar.blur-event fires. is there any chance to keep the button enabled?
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...
Clear notification automatically
Can I clear notification automatically? I want to show "Ti.App.iOS.scheduleLocalNotification", but I want to clear the notification without tap. I think I can use "Titanium.App.iOS.LocalNotification.cancel", but I don't know how to use...
Links inside ActivityIndicator
I'm trying to create a "Cancel" link to abort HTTPClient request by adding a click event to a label and then trying to add it to the ActivityIndicator's message variable like this: indicator.message = "Processing..." + abortLnk; but...
EmailDialog
Emaildialog crashes when the "Cancel" or "Save Draft" buttons are clicked in the email dialog. In iPad simulator, with Ti SDK version 1.4.0 and 1.5.0. ~~~ var win = Titanium.UI.createWindow({ title:'Window 1', ...
Searchbar animate cancel button
Hi, I have a searchbar that is NOT connected to a table view. I wan't to mimic the animation of the cancel button when the searchbar gains focus if it's connected to a tableview. On focus I set showCancel to true and on blur I set it to false. But this...
Cancel Button For Text Area
I need to know how to get the cancel button to cancel what the user types into the text area. The text area will already have some text in it which is pulled from a database. However, the user will have the option to edit the text and save it to the...
Adding Button to Tab Navbar
Hi, I had a working application which opened up a modal window with a toolbar at the top that had a close button that would close the window. Well, I switched from that toolbar to a tabgroup toolbar, but now I can't show the cancel button on the toolbar....
Cancel a close event
Is there a way to cancel the close event - ie when a user hits the back button? I have a window, which displays a popup view in response to user input. I'd like to close the popup if it's open - otherwise close the window. I have an event listening on...
Showing 1-21 of 21