Community Questions & Answers

How to disable a button

Hi i have a button with an event listener, i did this ~~~ buttonname.enabled=false; ~~~ but its not working event listerner is still firing.How to disable this button?? Thanks.

Facebook Like

Hello I'm posting this question which appears not to have been answered before. Is it possible to create a Like button in a mobile application, maybe with the OpenGraph protocol? The Titanium SDK documentation has a few good examples on how to create an...

Adding image to button on android action bar

Hi, I was wondering if there was a way to add an image to a button on the action bar. Currently I have tried background Image and Image but none of them seem to work. Any Ideas? This is the code that i used to craete a button on the action bar: ~~~ var...

TouchEnabled does not disable

Hello, I have just upgraded to Titanium 3.3 and noticed that enabled is now deprecated. I previously was using enabled for a pair of buttons to create a pagination effect. When a button was disabled it would grey out and the user would be unable to click...

Fatal signal 11

Okay so I have known about this error in my app for months, and I am now spending probably way to much time trying to fix it. ~~~ Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 24961 (KrollRuntimeThr) ~~~ The crash occurs when I am dynamically...

Blackberry 10 navbar buttons

Hi everyone, i just started with development for BB10 using Titanium. Are buttons inside the navbar supported? As [example](http://imageupper.com/i/?S0200010030013S1395647974281206) look at this, how to get something like this? If i set the title-property...

Button implementation in alloy

hello, I am newbie with alloy framework and want to know how to implemente like and unlike button using alloy framework.i have implemented it using javascript and jquery but not sure about alloy .can anyone help me out. Thanks

Back button in html page

Hello, I work on ios / android applications. The application works very well, I'd like to know one thing ... Is it possible to do this -> When I open a web page in a webview, I'd added a back button in html. Because I work on an image in html and...

a code of a button which still pressed

some one have idea about a propertie that make a button still pressed until and when we press it again it return in not pressed image or state . also , i want to have a variable that make me know the state of the button " pressed or not " thx

Modify e.source onClick

Mobile (iOS/Android), latest SDK (3.2.x), building on Mac OSX (10.9) In my Alloy view, I have : ~~~ <Button class="possibleLetter" onClick="insertLetter">B</Button> ~~~ When someone click on it, I want to change the...

Button size in Android

I am developing an app for android platform, I was testing on Samsung S4 mini which was fine regarding the sizes of the buttons, but now when I test on bigger devices, the buttons are really small, is there a solution for that ? I am using the width and...

Override mobile back button.

Hi, I am using a form. After submitting the form when I click the back button, it is coming to the form again. I don't want to come to the form clicking back button after submission. Please help how to override the back button in android mobiles.

Click event doesn't work on iPhone

Hi! I have a mobile application for Android/Iphone with a tableview. When I click on a row, a sub view is opened. This sub view contains a button. When I click on the button with Android, the click event works, but doesn't work on iPhone. The click on...

Showing 1-50 of 968 1 2 3 4 5 620