Community Questions & Answers
Keyboard will not stay in numeric/symbol layout
I've been maintaining an app that uses a TableView for a input form, with textFields on each row to take input. But recently a behaviour has cropped up for iPhone that is annoying our users. When they are inputting into a textfield, and they swap to the...
Keyboard move scrollview slightly left
Hello, I'm pretty new to titanium and am having a problem with the keyboard moving my scrollview left. I'm using Titanium 3.1 and am focusing on IOS and Android. I have a scrollview that I have set the contentWidth and width values to 100%. I have also...
Any way to hide the keyboard programmatically?
I have a search field for my iPad app, and when the user begins typing in it, a list of suggestions pops up in a popover (similar to the Google search box in the Safari app). I want to blur the search field and hide the keyboard once the user taps on a...
How to hide Keyboard
Hi, I'm new to Titanium and i'm tryin to create a calculator app for my own use. The problem is, that none of the default apple keyboards have the buttons i need, so i'm trying to make a custom keyboard layout with single buttons. My Question is now, how...
Android Soft Keyboard Pushing Controls Up
I can't seem to figure out why the appearance of the soft keyboard whilst editing a text field on Android causes some of my controls to get pushed up the page. Is there a way to stop a view or a button from being moved up? It makes a real mess!
Detect H/W Back button in Android when keyboard is visible in 3.x SDK
Hi, In SDK 3.x onwards, the "android:back" event is deprecated and is replaced by event "androidback". However the documentation says that "androidback" event will not be fired if the user presses the h/w Back button in...
Android keyboard type automactially changing
Hi, I am facing a strange problem in Samsung Galaxy S2 and S3. If I click on a text field, the keyboard type first appears as decimal (which is what I have set to) and then automatically changes to Ascii. On debugging I found that the textfield is...
How to Place TextArea Above Soft Keyboard?
How can I display a View with a single textarea right above the onscreen keyboard? I am using a textarea and allowing it to grow as the user types added inside a view and sized such that there is a small border around the textarea. I had to give the View...
iPad Modal window and hiding keyboard on blur
So, I am working on a project where I use a modal window (MODAL_PRESENTATION_FORMSHEET) on the iPad in which the user can see the settings for the app. The problem is that when they first enter a textfield and the keyboard shows up, running...
How to hide Keyboard
Hi, I'm new to Titanium and i'm tryin to create a calculator app for my own use. the problem is, that none of the default apple keyboards have the buttons i need, so i'm trying to make a custom keyboard layout with buttons. My Question is now, how can i...
How to stop Android textField from auto-focusing
Every textField I create focuses automatically when the window opens, forcing the soft keyboard to open. This does not happen on iPhone or iPad, and is the same on the Android emulator, HTC Incredible and HTC Thunderbolt. It has done it across multiple SDK...
Keyboard not hiding upon blur() on iPad
Hi everyone, Have anyone had a problem where the `blur()` function was removing focus from the textField but wasn't hiding the keyboard? I'm running on iPad (SDK 2.1.4, a little old, I know, but that's another topic) and noticed this happens on a modal...
how to app a Google Key in tiapp.xml ?
I want to use Google Place API but I need to set up the key in my tiapp.xml I guess to get it work. someone can tell me how can I add an Google Key? I'm developing to iOS Thanks
modal view crashes on close if keyboard is open (iOS)
Alloy App, Titanium SDK 3.1, iOS 6.1, latest xCode: I have a view that opens another modal view (settings view) that contains some labels and textfields. When the cursor is in one of the textfields (i.e. the keyboard is shown) and I close the window...
Detect Keyboard Visible
Is it possible to detect if the software keyboard is visible on iOS? I'm trying to make it so a view expands if there's a hardware keyboard in use.
TextArea Android
i have a textarea and it is working on iOS but on Android i can't see keyboard, what should i do for this? ~~~ var textArea = Titanium.UI.createTextArea({ color : '#000', top : "10dp", left : "10dp", right :...
The whole window view scroll up if the keyboard showing up by focused the HTML-Textfield
Hi Dudes, I've build a webview in a window. also i add one button in the window. In the webview i've build htmlcode with some checkboxes and a textfield. and my problem in this case is the following: if I focused the html-textfield and the keyboard...
Keybord Search button event
Hi I want to search functionality on the table view with pressing search button on the keyboard . I have added search bar on the table. search functionality is working fine . i want to search functionality on the search button(key) on the keyboard. I cant...
Keyboard with Previous, Next and Done buttons
I have a view that has several textfields. I would like to have a keyboard that has the Previous, Next and Done buttons on the top above the keyboard and as I am filling in the textfields and clicking on next, it focus on the next field moving into above...
Android problem
Hi, I'm developing on android using sdk 3.0.0 I have some display problems like this : [Scree 1](http://dl.dropbox.com/u/73416494/SC20130409-140541.png) when the keyboard is displayed this strange behavior happen : [Screen...
second language with ios keyboard
we try to have the keyboard in ios to change to 2nd language but can not do. we have i18n with two language and try all type of keyboard.
Inactivate backspace/delete button
Hi! I am quite new working with Appcelerator. Is is possible to inactivate the backspace/delete button in the keyboard? You should not be able to delete any text written. If you have done this before or have an example of code I would be really...
iOS Hide Keyboard on TextField Blur
So, I have a view that has several fields. When I click a field, the keyboard appears as designed. What I would like to do is make it so that when I click somewhere that is not the field, the keyboard would hide. In other words, when the field loses focus....
Return key in KEYBOARD_NUMBER_PAD?
Hi!, How is possible show a return key in a text field with number only (keyboardType:Titanium.UI.KEYBOARD_NUMBER_PAD). Titanium SDK 1.82 iOS 5.1
Android: searchbar opening virtual keyboard on application launch
We have an Android application with a search bar on the first screen; on the device, the search bar is being focused automatically on launch and launching the virtual keyboard. Is there any way of stopping this? We've tried all kinds of hacks to no...
How to prevent keyboard to open automatically?
When my window gains focus(opens) which has some text fields. keyboard opens automatically, I want to prevent it opening automatically . It should open when i click on textField. How would I do that? Here is the code of my textFields. ~~~ var firstname =...
Keyboard won't show on input focus in webview on Android
The keyboard won't popup when tapping an input field in a webview, which contains a simple login form. It works in the emulator, but not on my device (galaxy s2). Device: Android SDK: 3.0.0.GA, Runtime: V8, Studio: 3.0.0.201212131639 The project is...
keyboardType
What are the possible values for keyboardType? I was hoping that Titanium.UI.textField would have a reference to keyboardType in it as that’s what is used in the kitchensink demo. No. I did a search for keyboardType in the mobile API reference and the...
TextField loosing focus when keyboard appears
textfield = Titanium.UI.createTextField({ hintText : 'Enter text', height : 40, width : '68%', font : { fontFamily : 'serif', fontSize : 13 }, focusable : true, softKeyboardOnFocus :...
Webview form keyboard - Disable 'Go' on return tap
I have a form inside of a webview that my users are going to fill out. When they fill out a text field, the keyboard shows 'Go' as the return key. I don't want them to accidentally submit the form early by hitting 'Go' and thinking that it will take them...
Closing Android 2.3 Keyboard while on Root Window
MobileSDK, Ti 3.0.0, Android (test devices are HTC running 2.3.4 and Moto 4.0), Android 4.0.3 SDK. I have a text field on the home screen ( window[0] ). I also prefer to exit the app from the root window with the Android back button. Exiting works as...
Android, hide keyboard of search bar when window open
Hi, I have a problem, all of my windows that has a search bar (used in tableViews) get focused when the Window opens so the keybiard is shown. (at least on simulator). calling search.blur(); in the open event of the window doesn't hide it. it seems that I...
Emulator's keyboard partially hidden
Hi! Me and my brother are seeing the most awkward issue. The last rows of the Android soft keyboard are partially hidden in the emulate. This only happens with SDK4.0.3. Both 2.2 and 4.2 are...
righttoleft hinttext issues
in my app i have right to left layout so i did textAlign="right" on text box and the hint-text appeared correctly now when i tap on text box english keyboard appears the text box text is still align right , but as soon as i switch the...
Hide keyboard
Hi all. I am a beginner in Titanium Studio. I can able to hide the keyboard when a button is selected. It works, `okBtn.addEventListener("click", function(e) { textField.blur(); });` But, how can I hide the keyboard when I tap/click on the...
keyboard android
Hello I am working on android, I like that when I press on a text field to enter data that is hidden when the keyboard appears, is meant? or there is a greater distance between the text field and the virtual keyboard thanks
Titanium.UI.KEYBOARD_NUMBER_PAD doen't work in Android
Hello, this is my code. ~~~ var a = Titanium.UI.createTextField({ height:'40dp', left: '20dp', width:'20%', font: { fontSize: '18dp'}, keyboardType:Titanium.UI.KEYBOARD_NUMBER_PAD }); ~~~ But the keyboard shows "." and...
keyboard launch automatically without focus textfield
Hi, I had a simple windows, with a view and a textfield in the view. But when the textfield was selected, the keyboard hid the textfield and i didn't see what i wrote. I found a solution: i now have my windows and a scrollview which contain everything...
keyboard hide textfield
I have a windows with a view and a textfield in the view (near the bottom). When the textfield receives focus, the keyboard pops up and goes over top of the textfield. I can't see the text in the textfield I'm editing. Why is this?
TableView and TextInput in a vertical view, layout problem on keyboard show [Android]
Hi, i've search for hours and I found similar problems, but not the same.... Here is my code: ~~~ var instance = Ti.UI.createView({ height: Ti.UI.FILL, width: Ti.UI.FILL, layout: 'vertical' }); var messagesList =...
Disabling hardware keyboard
For an app i'm using a hardware scanner which is connected to the USB. The problem is, that every time I disconnect and connect the scanner, Android sets the Hardware keyboard to enabled, so the soft keyboard doesn't pop up... I can change the Hardware...
Keyboard pop up hide,when a window open
When i opened the window, the keyboard will come(text field automatically focused).I don't want the keyboard pop up, when a window open in android and iphone.Only want when the textfield or text area will focus.I give the textfield.blur () ,but it didn't...
Done Button on down side numeric key board
Hi all guys, Does it possible to make a done button like [UIKeyboardTypeNumberPad and the missing "return" key](http://www.neoos.ch/blog/37-uikeyboardtypenumberpad-and-the-missing-return-key) in titanium appcelerator ? I found only toolbar on...
Is possible to show numpad first and optional letters as a keyboard layout?
Hi all, I need for a text field to show the number pad (first) and a choice for the letter pad. Just like the `Titanium.UI.KEYBOARD_NAMEPHONE_PAD` but reverse. Is that possible? Thanks
Handle return key showing up on the keyboard of a webview
I have a strange problem with my webview. When I click on any textbox inside the webview, the default keyboard pops up. The keyboard has the return/enter key which if clicked is redirecting the user to a different page which is unwanted. What I want to do...
WebView not floating up for Android
I have a window containing a Header, Footer and a WebView. All the three views has fixed sizes in accordance to the device screen size. In my webview, I am opening an HTML form which the user has to fill up. The problem is that, if a user want to enter...
How to prevent keyboard open in scroll view on Android?
I'm working on an App that has textFields on a scrollView inside a window. Everything works great except that, on Android, when the screen is first displayed the first text field receives focus and the virtual keyboard is opened. On iPhone the keyboard...
Android Numeric Keypad on Emulator
How can you get a standard keypad on Android; none of the UI.Keyboard work ![standard keypad] (d:/Numeric_pad.jpg "Standard Keypad") ![Android keypad} (d:/Numeric+pad_Android.jpg "Android Keypad")
force the keyboard to be in english for TextField
When user focus on TextField with hinttext in non english then the keyboard have world icon and when tapped it shows that language keyboard how do i make sure the keyboard shown is english only
Detect all keyboard events in mobileweb, focus WebView?
This question has been asked in previous years, but I'm hoping someone has an answer now. I have a mobile web Titanium/Alloy app, and I want the app to respond to keyboard events, for example going to the home screen when hitting escape, or responding to...