Keyboard hiding Text Input on Android
Good Day,
I have a mobile Flex Application, that isn't scrolling to show a text input and the softkeyboard at the same time. I have check the app.xml file and any other documentation about the use of the keyboard, and it _should_ be working.
I have <fullscreen>false</fullscreen>
and in the main application mxml file: resizeForSoftKeyboard="true"
however whenever I go into view that needs to show the keyboard and the input together, the keyboard still covers the input. The scrolling never fires.
Has anyone experienced this? Or have some other solution that I should try?
Cheers,
Rob
Hi Rob,
I think the app.xml could also have:
<softKeyboardBehavior>none</softKeyboardBehavior>
specified/added (hint: it could be missing from commented defaults in app.xml)
http://help.adobe.com/en_US/flex/mobileapps/WS82181550ec4a666a39bafe0312d9a274c00-8000.htm l
http://opensource.adobe.com/wiki/display/flexsdk/Mobile+SoftKeyboard+Support+Spec
hth,
regards,
Peter
Similar Messages
-
Third party keyboard hiding text in messages
after installing third party keyboards( swiftkey, swype,) I found that when going into a message, the keyboard does not automatically push the text up and I have to scroll to see the messages hidden by the keyboard. Does anyone else experience this or have a fix? Obviously this is in ios 8.
I am experiencing the same issue with swiftkey. I have only noticed this happening within the stock messages app. I reached out to swiftkey and they informed me that this is an issue with iOS 8 and not with third party keyboards. I am hoping this will be addressed with iOS 8.1.
-
How to enter text in text input box using virtual keyboard in flex application
Re: how to enter text in text input box using virtual keyboard in flex application
hi,
im using flash builder 4,
i designed virtual keyboard, i have to update the text in text input box continously by using virtual keyboard.
i used button events.i did some mistake there.
can some one help me out of tat.
thanks in advance.
i have included my mxml program with this.
virtualkeyboard.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initfunc()">
<fx:Script>
<![CDATA[
import mx.controls.Alert;
private function initfunc():void
b1.addEventListener(MouseEvent.CLICK,handleEvent);
b2.addEventListener(MouseEvent.CLICK,handleEvent);
b3.addEventListener(MouseEvent.CLICK,handleEvent);
b4.addEventListener(MouseEvent.CLICK,handleEvent);
b5.addEventListener(MouseEvent.CLICK,handleEvent);
b6.addEventListener(MouseEvent.CLICK,handleEvent);
b7.addEventListener(MouseEvent.CLICK,handleEvent);
b8.addEventListener(MouseEvent.CLICK,handleEvent);
b9.addEventListener(MouseEvent.CLICK,handleEvent);
b10.addEventListener(MouseEvent.CLICK,handleEvent);
b11.addEventListener(MouseEvent.CLICK,handleEvent);
b12.addEventListener(MouseEvent.CLICK,handleEvent);
b13.addEventListener(MouseEvent.CLICK,handleEvent);
b14.addEventListener(MouseEvent.CLICK,handleEvent);
b15.addEventListener(MouseEvent.CLICK,handleEvent);
b16.addEventListener(MouseEvent.CLICK,handleEvent);
b17.addEventListener(MouseEvent.CLICK,handleEvent);
b18.addEventListener(MouseEvent.CLICK,handleEvent);
b19.addEventListener(MouseEvent.CLICK,handleEvent);
b20.addEventListener(MouseEvent.CLICK,handleEvent);
b21.addEventListener(MouseEvent.CLICK,handleEvent);
b22.addEventListener(MouseEvent.CLICK,handleEvent);
b23.addEventListener(MouseEvent.CLICK,handleEvent);
b24.addEventListener(MouseEvent.CLICK,handleEvent);
b25.addEventListener(MouseEvent.CLICK,handleEvent);
b26.addEventListener(MouseEvent.CLICK,handleEvent);
b27.addEventListener(MouseEvent.CLICK,handleEvent);
b28.addEventListener(MouseEvent.CLICK,handleEvent);
b29.addEventListener(MouseEvent.CLICK,handleEvent);
b30.addEventListener(MouseEvent.CLICK,handleEvent);
b31.addEventListener(MouseEvent.CLICK,handleEvent);
b32.addEventListener(MouseEvent.CLICK,handleEvent);
b33.addEventListener(MouseEvent.CLICK,handleEvent);
b34.addEventListener(MouseEvent.CLICK,handleEvent);
b35.addEventListener(MouseEvent.CLICK,handleEvent);
b36.addEventListener(MouseEvent.CLICK,handleEvent);
b37.addEventListener(MouseEvent.CLICK,handleEvent);
b38.addEventListener(MouseEvent.CLICK,handleEvent);
b39.addEventListener(MouseEvent.CLICK,handleEvent);
b40.addEventListener(MouseEvent.CLICK,handleEvent);
b41.addEventListener(MouseEvent.CLICK,handleEvent);
b42.addEventListener(MouseEvent.CLICK,handleEvent);
b43.addEventListener(MouseEvent.CLICK,handleEvent);
b44.addEventListener(MouseEvent.CLICK,handleEvent);
b45.addEventListener(MouseEvent.CLICK,handleEvent);
b46.addEventListener(MouseEvent.CLICK,handleEvent);
b47.addEventListener(MouseEvent.CLICK,handleEvent);
b48.addEventListener(MouseEvent.CLICK,handleEvent);
b49.addEventListener(MouseEvent.CLICK,handleEvent);
b50.addEventListener(MouseEvent.CLICK,handleEvent);
b51.addEventListener(MouseEvent.CLICK,handleEvent);
b52.addEventListener(MouseEvent.CLICK,handleEvent);
b53.addEventListener(MouseEvent.CLICK,handleEvent);
public function handleEvent ( e : MouseEvent ) : void
var a:String= e.target.name ;
Alert.show(e.target.name);
var b:String=null;
switch(a)
case "Button20":
b=textbox.text;
//textbox.text="a";
textbox.text=b+"a";
break;
case "Button21":
//textbox.text="b";
textbox.text=b+"b";
break;
default:
//textbox.text="s";
textbox.text=b+"s";
]]>
</fx:Script>
<s:Panel x="43" y="82" width="527" height="213">
<mx:Button x="71" y="86" id="b1" label="1" width="30" height="24"/>
<s:Button x="180" y="86" id="b2" label="5" width="30" height="24"/>
<s:Button x="127" y="86" id="b3" label="3" width="30" height="24"/>
<s:Button x="99" y="86" id="b4" label="2" width="30" height="24"/>
<s:Button x="323" y="86" id="b5" label="0" width="30" height="24"/>
<s:Button x="294" y="86" id="b6" label="9" width="30" height="24"/>
<s:Button x="265" y="86" id="b7" label="8" width="30" height="24"/>
<s:Button x="237" y="86" id="b8" label="7" width="30" height="24"/>
<s:Button x="209" y="86" id="b9" label="6" width="30" height="24"/>
<s:Button x="42" y="86" id="b10" label="`" width="30" height="24"/>
<s:Button x="382" y="86" id="b11" label="=" width="30" height="24"/>
<s:Button x="353" y="86" id="b12" label="-" width="30" height="24"/>
<s:Button x="410" y="86" id="b13" label="back" width="76" height="24"/>
<s:Button x="157" y="86" id="b14" label="4" width="30" height="24"/>
<s:Button x="43" y="109" id="b15" label="tab" width="66" height="24"/>
<s:Button x="105" y="109" id="b16" label="q" width="31" height="24"/>
<s:Button x="247" y="109" id="b17" label="y" width="30" height="24"/>
<s:Button x="303" y="109" id="b18" label="i" width="31" height="24"/>
<s:Button x="361" y="110" id="b19" label="p" width="34" height="23"/>
<s:Button x="394" y="109" id="b20" label="[" width="31" height="24"/>
<s:Button x="191" y="109" id="b21" label="r" width="34" height="24"/>
<s:Button x="424" y="109" id="b22" label="]" width="31" height="24"/>
<s:Button x="222" y="109" id="b23" label="t" width="31" height="24"/>
<s:Button x="161" y="109" id="b24" label="e" width="31" height="24"/>
<s:Button x="133" y="109" id="b25" label="w" width="31" height="24"/>
<s:Button x="332" y="109" id="b26" label="o" width="31" height="24"/>
<s:Button x="275" y="109" id="b27" label="u" width="31" height="24"/>
<s:Button x="220" y="133" id="b28" label="g" width="31" height="24"/>
<s:Button x="424" y="132" id="b29" label="enter" width="62" height="24"/>
<s:Button x="43" y="132" id="b30" label="caps" width="66" height="24"/>
<s:Button x="275" y="133" id="b31" label="j" width="42" height="23"/>
<s:Button x="314" y="132" id="b32" label="k" width="31" height="24"/>
<s:Button x="133" y="133" id="b33" label="s" width="31" height="23"/>
<s:Button x="161" y="133" id="b34" label="d" width="31" height="23"/>
<s:Button x="250" y="133" id="b35" label="h" width="31" height="23"/>
<s:Button x="105" y="133" id="b36" label="a" width="31" height="23"/>
<s:Button x="191" y="133" id="b37" label="f" width="31" height="23"/>
<s:Button x="342" y="132" id="b38" label="l" width="31" height="24"/>
<s:Button x="152" y="154" id="b39" label="x" width="31" height="24"/>
<s:Button x="353" y="154" id="b40" label="." width="31" height="24"/>
<s:Button x="325" y="154" id="b41" label="," width="31" height="24"/>
<s:Button x="294" y="154" id="b42" label="m" width="31" height="24"/>
<s:Button x="259" y="154" id="b43" label="n" width="37" height="24"/>
<s:Button x="236" y="154" id="b44" label="b" width="31" height="24"/>
<s:Button x="211" y="154" id="b45" label="v" width="31" height="24"/>
<s:Button x="181" y="154" id="b46" label="c" width="31" height="24"/>
<s:Button x="122" y="154" id="b47" label="z" width="31" height="24"/>
<s:Button x="380" y="154" id="b48" label="/" width="31" height="24"/>
<s:Button x="368" y="132" id="b49" label=";" width="31" height="24"/>
<s:Button x="396" y="132" id="b50" label="'" width="31" height="24"/>
<s:Button x="43" y="154" id="b51" label="shift" width="82" height="24"/>
<s:Button x="407" y="154" id="b52" label="shift" width="79" height="24"/>
<s:Button x="455" y="109" id="b53" label="\" width="31" height="24"/>
</s:Panel>
<s:TextInput x="161" y="27" id="textbox" width="253"/>
</s:Application>
regards,
saran rhi,
how to code for these buttons "control,alt,delete,insert and spacebar".
can u help me how to program?
i have attached the mxml code with this,
virtualkeypad1.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">
<fx:Script>
<![CDATA[
import flash.utils.getQualifiedSuperclassName;
import mx.events.FlexEvent;
private var inpText:String = 'inp1';
private var shiftState:Boolean = false;
private var capsState:Boolean = false;
protected function keyboard_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+(event.currentTarget as Button).label;
if (shiftState == true) shift_clickHandler(null);
protected function caps_clickHandler(event:MouseEvent):void
capsState = !capsState;
if (capsState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function tab_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+" ";
protected function shift_clickHandler(event:MouseEvent):void
shiftState = !shiftState;
if (shiftState == true)
currentState = "SHIFTED" else currentState = "PRIMARY";
protected function enter_clickHandler(event:MouseEvent):void
this[inpText].text = this[inpText].text+"\n";
protected function backspace_clickHandler(event:MouseEvent):void
var tmpStr:String = this[inpText].text;
this[inpText].text = tmpStr.substr(0,tmpStr.length-1);
protected function application1_creationCompleteHandler(event:FlexEvent):void
inp1.setFocus();
protected function focus_enterHandler(event:MouseEvent):void
inpText = event.currentTarget.id;
]]>
</fx:Script>
<s:states>
<s:State name="PRIMARY"/>
<s:State name="SHIFTED"/>
</s:states>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextInput id="inp1" y="36" width="151" horizontalCenter="0" click="focus_enterHandler(event)" y.PRIMARY="239" horizontalCenter.PRIMARY="42" width.PRIMARY="199" height.PRIMARY="31"/>
<s:Group id="keyboard" width="661" height="184" horizontalCenter="0" y="300" focusEnabled="false">
<s:Button x="5" y="5" label="~" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="`"/>
<s:Button x="49" y="5" label="!" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="1"/>
<s:Button x="93" y="5" label="@" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="2"/>
<s:Button x="137" y="5" label="#" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="3"/>
<s:Button x="181" y="5" label="$" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="4"/>
<s:Button x="225" y="5" label="%" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="5"/>
<s:Button x="269" y="5" label="^" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="6"/>
<s:Button x="313" y="5" label="&" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="7"/>
<s:Button x="357" y="5" label="*" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="8"/>
<s:Button x="401" y="5" label="(" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="9"/>
<s:Button x="445" y="5" label=")" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="0"/>
<s:Button x="489" y="5" label="_" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="-"/>
<s:Button x="533" y="5" label="+" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="="/>
<s:Button x="577" y="5" label="Backspace" height="43" width="80" fontSize="11" fontWeight="bold" click="backspace_clickHandler(event)"/>
<s:Button x="5" y="48" label="Tab" height="43" width="67" fontSize="12" fontWeight="bold" click="tab_clickHandler(event)"/>
<s:Button x="72" y="48" label="Q" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="q"/>
<s:Button x="116" y="48" label="W" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="w"/>
<s:Button x="160" y="48" label="E" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="e"/>
<s:Button x="204" y="48" label="R" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="r"/>
<s:Button x="248" y="48" label="T" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="t"/>
<s:Button x="292" y="48" label="Y" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="y"/>
<s:Button x="336" y="48" label="U" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="u"/>
<s:Button x="380" y="48" label="I" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="i"/>
<s:Button x="424" y="48" label="O" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="o"/>
<s:Button x="468" y="48" label="P" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="p"/>
<s:Button x="512" y="48" label="{" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="["/>
<s:Button x="556" y="48" label="}" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="]"/>
<s:Button x="600" y="48" label="|" height="43" width="57" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="\"/>
<s:Button x="5" y="91" label="CapsLock" height="43" width="80" fontSize="12" fontWeight="bold" click="caps_clickHandler(event)"/>
<s:Button x="85" y="91" label="A" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="a"/>
<s:Button x="129" y="91" label="S" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="s"/>
<s:Button x="173" y="91" label="D" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="d"/>
<s:Button x="217" y="91" label="F" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="f"/>
<s:Button x="261" y="91" label="G" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="g"/>
<s:Button x="305" y="91" label="H" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="h"/>
<s:Button x="349" y="91" label="J" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="j"/>
<s:Button x="393" y="91" label="K" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="k"/>
<s:Button x="437" y="91" label="L" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="l"/>
<s:Button x="481" y="91" label=":" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=";"/>
<s:Button x="525" y="91" label=""" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="'"/>
<s:Button x="569" y="91" label="Enter" height="43" width="88" fontSize="24" fontWeight="bold" click="enter_clickHandler(event)"/>
<s:Button x="5" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
<s:Button x="111" y="134" label="Z" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="z"/>
<s:Button x="155" y="134" label="X" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="x"/>
<s:Button x="199" y="134" label="C" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="c"/>
<s:Button x="243" y="134" label="V" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="v"/>
<s:Button x="287" y="134" label="B" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="b"/>
<s:Button x="331" y="134" label="N" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="n"/>
<s:Button x="375" y="134" label="M" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="m"/>
<s:Button x="419" y="134" label="<" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY=","/>
<s:Button x="463" y="134" label=">" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="."/>
<s:Button x="507" y="134" label="?" height="43" width="44" fontSize="24" fontWeight="bold" click="keyboard_clickHandler(event)" label.PRIMARY="/"/>
<s:Button x="551" y="134" label="Shift" height="43" width="106" fontSize="24" fontWeight="bold" click="shift_clickHandler(event)"/>
</s:Group>
</s:Application>
thanks in advance,
saran r -
Keyboard and uitextfield woes.. covering up text input area
how do yo ukeep the keyboard from covering up the uitextfield input area?
i see in sms.. it somehow pushes up the text input area up snapping it to the top of the
keyboard? is that default behavior or customized??
is SMS really using a UItextfield?You may want to feedback to Apple.
http://www.apple.com/feedback -
Does TLF except text input on iOS devices? Can someone point me to documentation about this?
Thanks.Here the solution.. with an ipad i get the native keyboard if i click on the text field..
It's like a keylogger, which captures the text input to the tlf text (and with the tlf text name you can use the input for your scripts)
import flash.display.Sprite;
import flash.display.Stage;
import flash.text.*;
import flash.events.*;
var myTextInput:TextField = new TextField();
myTextInput.type = TextFieldType.INPUT;
myTextInput.background = true;
myTextInput.text = "Search..";
Object(root).addChild(myTextInput);
myTextInput.addEventListener(EVENT.CHANGE, inputEventCapture);
function inputEventCapture(event:Event):void{
Object(root).myTLF.text = myTextInput.text; -
I created several text input fields in a presentation.
A ghost image of the shortcut character displays when a user
highlights the text field.
Any insight??I'm just taking a shot at this because there's not much to go
on.
I am aware of a similar complaint regarding invisible buttons
with a shortcut key assigned to them. When an invisible button is
triggered via a keyboard shortcut, that invisible button ends up
getting a yellow rectangle on it -- something to do with
Captivate's "focus manager," or some such.
Could it be that you have a single slide with multiple text
input fields on that slide?
If so, I can imagine a variety of problems (including the
yellow box or "ghost characters") being exhibited.
The most effective way to build interactions in Captivate is
to use only one interaction per slide. If you have one screenshot
on which you need to simulate the entry of text in multiple fields,
you'll be better off using a separate slide for each field:
1) On slide "a", have the student enter the text in field 1.
2) On slide "b", display the correct answer in field 1, and
have them enter text in field 2.
3) On slide "c", display the correct answers in fields 1 and
2, and have them enter text in field 3.
Repeat this "build up" of entries until they've made all the
necessary entries.
I suspect if you build your interaction in this manner, the
"ghost" issue you're seeing won't show up at all. If this doesn't
work for you, maybe you can describe your situation better or
provide an online sample we can look at. -
ok the new apple tv is great, the only drawback i see is text input , that is if you really want to search vimeo and youtube or setup accounts. will there ever be the option to use an ios device to input text?
Yes. With the app you no longer need to use the bundled remote. You can turn on ATV, navigate the menus and when in YouTube the keyboard on your IOS device pops up.
Download it and try -
Text-input component with auto-complete functionality for mobile
Hey guys,
I wonder if there is a text-input component with auto-complete functionality optimized for mobile development with AIR like the one that Android provides natively as you can see here http://developer.android.com/reference/android/widget/AutoCompleteTextView.html and here http://developer.android.com/resources/tutorials/views/hello-autocomplete.html.
At least I didn't find it in the latest SDK and I think such a component is pretty standard nowadays. Or did I simply overlook it?
Thank you guys for any advice.
Regards,
ThiloHi relaxtraja,
thanks for your reply!
I knew that there are a lot of auto-complete scripts on the web. What I was hoping was, that Adobe provides an officially supported auto-complete component optimized for mobile as part of the SDK (like in the Android SDK as I pointed out), but that doesn't seem to be the case. It's sad, because it's an essential part of modern UIs in mobile applications.
I've already created an auto-complete component by myself based on Spark components and I will end up using it. But I will have to optimize it for mobile applications beforehands. I just think something this essential should be provided by the SDK.
However, thanks for posting!
Regards,
Thilo -
How to move the cursor in a text input programatically
Hi,
I am using a TextInput field and a my own keyboard UI with buttons for each alphabet.
When the user presses buttons on the keyboard UI, i populate the TextInput field through data binding.
But I would want the cursor to move as the characters are entered in the field at the same time.
So, how do I move the cursor using actionscript code?
thanks,
SunilIn that case you need to programmatically insert the text at the selection point. You get the selection point using the selectionBeginIndex and selectionEndIndex properties. I have an app where I do that, using this code:
// textInput is the name of the TextInput control
private function insertTextAtSelection(text:String):void
var start:int = textInput.selectionBeginIndex;
var end:int = textInput.selectionEndIndex;
var hasSelection:Boolean = start != end;
textInput.text = textInput.text.substring(0, start) + text + textInput.text.substring(end);
if (hasSelection)
textInput.selectionBeginIndex = start;
textInput.selectionEndIndex = start + text.length;
else
textInput.selectionBeginIndex = textInput.selectionEndIndex = end + text.length;
This is what the code does:
gets the starting and ending positions of the insertion point (in case the user has an active selection rather than just an insertion point).
concatenates the old text with the new text and writes it into the text input
restores the user's previous selection or insertion point (In this case I'm setting the selectionBeginIndex and selectionEndIndex properties rather than calling setSelection(), but the end result is the same.) -
I got an error in a text input. When i play the movie in
Firefox or Safari, if i push Alt + 2, the text input shows 2
instead @ symbol. If i want to show the @ symbol i must to push
SHIFT + 2. In other movies don't occurs. In I.E. Explorer (5, 6, 7
...) the movie works fine.
¿Anybody knows one solution?
Flash version 8
ThanksFor clbeech-> Yes i embed the @ in the text input.
For dzedward-> I got an spanish keyboard that shows @ if
you press Alt Gr + 2
I'm examine the html code but there's no difference between
the movie that runs ok, and the other -
Hi I've been using my trackpad sort of like a remote control while watching movies etc on my Mac. I was wondering if there is any way to input simple text using the trackpad when the keyboard is out of reach.
I have seen a few things that come close like the Mobee Numpad skin or the Inklet stylus app but nothing that can input text with just your fingers. I have also seen mentions of handwriting recognition but from what I can tell it only exists for chinese? If it worked for english that would do the trick or, alternately a smartphone-like text input method would work also (Swype/Touchpal etc.)As far as I know you always need a graphics tablet and a pen for English. See
http://mac.appstorm.net/reviews/utilities/how-to-use-ink-your-macs-built-in-hand writing-recognition-feature/ -
BlackBerry Storm2 - Japanese Text Input Error
Hi all,
I have to respond to emails on a regular basis in Japanese, and on my Storm2, I get an error when switching input languages. I get "Input system error. System is being restarted." and then I don't have a keyboard for a few minutes. I can pull the battery, but the next time I switch, the error is back. I've done a complete device wipe, reinstalled the OS, and tried 2 Verizon supported OS versions. Any ideas? I might switch back to my Tour just to get things done!We saw your solution solved on the Blackberry Website:
Just passing the solution on for others who may have this similar issue.
Do this to turn off the Predictive Input option:
On the BlackBerry smartphone, go to Options> Language.
Below the Input Style setting, click the Show Text Input Options
Deselect the check mark for Predictive Input.
http://supportforums.blackberry.com/t5/BlackBerry-Storm-BlackBerry-9500/BlackBerry-Storm2-Japanese-Text-Input-Error/m-p/734549#M57998 -
Background application for handwriting text input
Hi,
Is it possible to have a background application running or through any other way so that my application can provide a handwriting input mode wherever iPhone takes text input through keyboard?
All the best,
SaadHi Saad -
Legal, non-system iPhone apps can't run in the background, and no such app would have permission to read another app's input even if it could run in the background. There are some forms of communication between apps, such as registered URL's and PUSH notification, but since only one app can run at a time, there's no communication option that's close to what you're looking for. I think your idea would require the kind of tight integration used in assistive technology such as screen readers. Given the kind of security users expect from the iPhone, such a feature would need to be part of the system.
I think the library you described in your other post is most likely the best way to distribute your software. However you might also consider providing a web service. You might think of the web as the primary means of inter process communication for iPhone apps. A web service might allow developers to buy your technology on a pay-as-you-go basis instead of buying the rights to the library. Maybe that could work if you decode static info. Of course if you need a log of the touch events, you'd probably need so much processing in the client that a library would be much better... Just thinking out loud in the unlikely case any of my thoughts are useful to you. Obviously I know nothing about handwriting recognition, and I've wandered off topic. The short answer to your original question is no.
\- Ray -
Emulator text input loops with WTK2.5.1 on Linux
Hi,
first of all: Thanks for the great WTK for Linux!
When i debug with the WTK 2.5.1 emulators the
text input fields continue to enter numbers even if i only press
the keyboard once.
This bug was not in WTK2.2/Linux-emulators.
Is there any workaround known for this problem?
Thanks
MarcelI'm seeing quite a few layout issues on various sites. I'm a little surprised that no more people have been complaining.
-
Hi All!
I have come across a very interesting problem since upgrading my iPhone 5 and iPad Mini to iOS 7.
The problem, thankfully, is one that is easily replicated, and comes in two forms:
Scenario 1:
Open Messages
Create a Message
In the text input, type a word (any word will do)
Tap 'return' on the keyboard
attempt to bring up the 'Copy/Paste' context menu on the new line
This is where I run into the problem - I cannot under any circumstance invoke the 'Copy/Paste' menu
Scenario 2:
Similarly;
Open Messages
Create a Message
In the text input, type a word (any word will do)
Tap 'return' on the keyboard
type another word
Tap 'return' on the keyboard
type another word
You should have 3 lines of text - attempt to place the text cursor after the first or second word, as if you wanted to add another word to that line
You will find that the cursor will disappear, making it very hard to tell if you are on the end of the line you want to be on, or at the beginning of the following line.
Has anybody else come across this problem?
I was very excited to see iOS 7.0.2 hoping that the problem would be resolved, but it has not been addressed yet.
I find it quite annoying...Hello there, HeavyJ251.
The following iPhone Troubleshooting assistant should help resolve performance issue you are describing as well as provide additional information:
Apple - Support - iPhone - iPhone Troubleshooting Assistant
http://www.apple.com/support/iphone/assistant/phone/
Keep in mind, that step "Close App" looks a little different now in iOS 7. For that, when closing apps, once you are in the multi-tasking display, swipe up on the window. I would also recommend closing all apps you see on this step.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro D.
Maybe you are looking for
-
Problem with Installation itunes + iPod
I will installated my new iPod Video 30 GB, but after I installed the Programms itunes + iPodsofteware from the CD there is nothing installed at all. I can´t find any folders. When I look with the exporer search i can see that the installation starte
-
Mass import from iphoto to Aperture?
Ever since I got Aperture 2 at Xmas I have been transferring my old iphoto library to Aperture, My method is I go into my old iphoto library on my external HD which is arranged by date, and I manually select all of my Raw files from a particular file
-
I THINK MY RESIDENTIAL PHONE NUMBER IS CLONED, I RECEIVED A PHONE CALL TODAY FROM A PERSON THAT TOLD ME THAT SHE'S BEEN RECEIVING PHONE CALLS FROM MY NUMBER
-
Detail entity with row key null cannot find or invalidate it
hi am trying to insert parent table values and child table values same time in same view,am in jdeveloper 11.1.1.6.0 am geting this error the error happen when i click createinsert ,am doing this in testmodel 93] executeQueryForCollection ViewObject:
-
Attachements in Worklist application
Dear Experts, I am able to attach a word document from BPEL to worklist portal using human task activity. Here am using this block of code to achieve the same, <copy> <from> <attachment xmlns="http://xmlns.oracle.com/bpel/workflow/task"> <name/> <mim