Keyboard input delay Flex/AIR

I've build an AIR desktop app that uses an USB barcode scanner. To capture the token provided by the barcode scanner an input field is used.
When testing the barcode input was only partially captured by the scanner. This was caused by the barcode scanner's input coming in the fast. Increasing the key stroke delay of the barcode scanner (config tool from motorola) solved the problem however this is not ideal.
Does anyone has experience with this type of problems? What is an approach to solve this? Maybe by writing an Java compagnion app that captures the keyboard input?

I just ran into this same problem. Our users are scanning barcodes from various labels using various types of scanners (changing the delay using scanner software wasn't an option). We also have to allow them to scan to a TextInput within a DataGrid, which created even more problems. There were 2 very interesting things I learned in coming up with a solution for this one:
1. As mentioned previously, the scanner inputs the data so quickly that the enter key event is often processed before the change event for the text. I tried several solutions (like trying to force the change event before the enter key is processed), but learned that the best solution was just to add the delay as mentioned in previous posts.
2. When adding to a DataGrid control, I learned that both the DataGrid's & the TextInput's key down events are fired by the same SystemManager event. Though you can override the TextInput's keyDownHandler, you can't override the DataGrid's because it's a private method. So, even though my delay was being processed in the TextInput, the DataGrid was forcing control away from it and moving to the next item in the grid. To get around this one, I had to stop propagation of the event from the TextInput, then re-start the DataGrid's event once the delay was complete. I also had to process a focus-out event to get it to move to the next item in the DataGrid.
Here's the code I used inside a custom TextInput control to handle processing both stand-alone and inside a DataGrid:
override protected function keyDownHandler(event:KeyboardEvent):void
      // If the enter key was pressed, then we need to add a delay.
      // Barcode scanners quite often process the enter key before the TextInput
      // control has time to finish processing all the text. (e.g., Instead of
      // getting 12345 as a text entry, you could get 123 or 1234.)
      if (event.charCode == Keyboard.ENTER)
           // If this is the first time we've processed the enter key, we need to
           // add the delay.
           if (_keyboardEvent == null)
           _keyboardEvent = new KeyboardEvent(event.type, event.bubbles,
           event.cancelable, event.charCode, event.keyCode, event.keyLocation,
           event.ctrlKey, event.altKey, event.shiftKey);
           event.stopImmediatePropagation();
           barcodeTimer(_keyboardEvent);
                      return;
           // If the enter key is pressed while we are still in the delay, ignore
           // it.
           else if (_keyboardEvent != null && _keyboardEvent != event)
                     return;
           // If the delay is complete, then we need to restart events related to
           // the enter key so the control is handled properly.
           else
                super.keyDownHandler(event);
                // If the TextInput is inside a DataGrid, then we need to dispatch the
                // DataGrid's key down event. We also need to make sure the proper
                // focus change happens (since this was stopped in the original event
                // propagation).
                if (parent != null && parent.parent != null &&
           parent.parent is mx.controls.DataGrid)
           parent.parent.dispatchEvent(event);
           dispatchEvent(new FocusEvent(FocusEvent.KEY_FOCUS_CHANGE, true,
                          false, null, event.shiftKey, Keyboard.TAB));
        _keyboardEvent = null;
                return;
      super.keyDownHandler(event);
* This is a copy of the keyboard event to be processed once the barcode
* delay is complete.
private var _keyboardEvent:KeyboardEvent = null;
* This method launches a timer of sufficient length to allow barcode
* scanner text to be processed before it re-launches the keyboard event.
* @param event This is the key-down event to be restarted once the timer is
* complete.
private function barcodeTimer(event:KeyboardEvent):void
      var t:Timer = new Timer(30, 1); // 30 ms
   t.addEventListener(TimerEvent.TIMER,
           function():void
           keyDownHandler(event);
   t.start();

Similar Messages

  • Keyboard input delayed in Siebel application // letters lost while typing

    Hi all,
    We have a strange problem on a client computer. While working with Siebel, keyboard input is extremely delayed. When typing a word or a phrase, it takes some seconds to appear in the corresponding field, and also some chars are just lost if one is typing too fast. This does only happen in Siebel - all other applications are OK.
    I have seen this already some months ago, but don't remember the cause.
    Web Client 7.8.2.14 QF0E76
    Win XP SP3 IE8
    Did anyone ever experience this? Might be some specific driver issue or IE security update or whatever?
    Thanks
    Benny

    Thanks Wilson for your input, unfortunately resetting browser settings and stuff like this does not help.
    In the meantime I have done more research on this and found something interesting. The dropped characters / missing keystrokes do only appear when typing in Siebel popup applets. We do NEVER lose any keystroke when typing in a normal form or list applet. I have run a little test with a vanilla SRF file and a VBS Script.
    I placed a VBS file on my desktop which will use SendKeys to simulate typing the word "Siebel" several times.
    The source code of the VBS file is:
    >
    Option Explicit
    Dim WshShell, c
    Set WshShell = CreateObject("WScript.Shell")
    c=0
    WScript.Sleep 5000
    Do While c < 5
    WshShell.SendKeys "S"
    WScript.Sleep 70
    WshShell.SendKeys "i"
    WScript.Sleep 40
    WshShell.SendKeys "e"
    WScript.Sleep 30
    WshShell.SendKeys "b"
    WScript.Sleep 90
    WshShell.SendKeys "e"
    WScript.Sleep 120
    WshShell.SendKeys "l"
    WScript.Sleep 70
    WshShell.SendKeys " "
    WScript.Sleep 90
    c = c + 1
    Loop
    WScript.Quitwhen I click this script I have 5 seconds to switch to Siebel and point the cursor into a text field.
    -> When this text field is on a form applet, it correctly writes "Siebel Siebel Siebel Siebel Siebel"
    -> When this field is on a MVG applet, it sometimes drops keystrokes like "Siebel Siel iebel Siebel Sibel"
    what the hell could be the problem ??????
    Could someone try this in another environment??
    We are on 7.8.2.14 QF0E76 ...

  • Take printscreen and detect mouse/keyboard input

    hi guys,
    I'm looking a way to take printsceen and detecting mouse/keyboard input in Adobe Air app using html/ajax .. is it possible ?
    any ideas ..please

    I wrote a blog post on how to do screen capturing using Adobe AIR abnd HTML/JavaScript. Maybe it'll help you out:
    http://www.andymatthews.net/read/2009/11/05/Capture-BitmapData-with-JavaScript-AIR-applica tions
    As for detecting key input, you can add a keydown/keydown event to the document quite easily.
    document.addEventListener('keydown', function(evt){
         // do something

  • Multiple Keyboard inputs...

    I've finished up a version of Pong for extra credit for a Java class i am taking, and i ran into an interesting situation.
    I cannot figure out how to have a two player version of pong have both players control their paddles with the keyboard. The specific problem i run into is, when i enter one paddle to move, and the other attempts to move it stops the first paddle from moving, also there is the whole issue of the key delay that occurs when a key is held down. If anybody can help me out, i would be incredibly greatful.
    It seems like it could possibly being done, for example, in games ive played before a character has been able in mid run(holding arrow key) press another key(such as shift) and jump into the air, while still running, to perform a run-jump.
    I have tryed setting up a keyboard input test so if both keys are pressed both paddles move. This works for one movement, but have you ever tryed hitting two keys at once in word? they both will display once, their will be that short delay, then one of the two keys will continously repeat.
    Any advice? I have it working with one Keyboard input, and the other Mouse input, but the mouse clearly has a big advantage over the keyboard player...
    Thanks,
    Sean Green

    and the repeated key thing still happens as well as the delay....I guess you'll get this as long as you use keyTyped() for player1. Is
    there some reason why you're doing this?
    What I was thinking of was along these lines:boolean up1, up2, down1, down2;
    keyPressedHandler()
        if key is w up1=true
        if key is s down1=true
        if key is up, up2=true
        etc
    keyReleasedHandler()
        if key is w up1=false
        etc
    drawingCodeOrWhereever()
        if(up1 && !down1) player 1 is on the way up
        (else) if(down1 && !up1) player 1 is on the way down
        if(up2 && !down2) player 2 is on the way up
        (else) if(down2 && !up2) player 2 is on the way downYou may want to handle the case of up and down both pressed
    differently.
    If getting rid of keyTyped() doesn't help, post some code. An example
    simple enough to just show the problem woule be good. Say how
    you would make a dot move left-right and up-down indepently.

  • Interactive medical report with Flex/AIR, XML, U3D and PDF

    Hello,
    I am computer science student and during my master thesis I want to program an interactive medical report which should include some 3D models (U3D) and which should provide the following options:
    Interactive manipulation of the 3D models
    Typing in a structured medical report
    Loading of a XML file with additional information
    Loading of medical image data (jpg images)
    At best, only one pdf file as resulting report
    And: A nice user interface (I like the interface elements of Flex...)
    I think, the best way is a pdf file which includes all the needed data. The problem is that I don't know exactly what software combination fulfills my requirements... I read some things about Adobe Flex and AIR and the U3D format and I suppose, the great interface builder "Flash Builder 4" might be useful to generate a nice user interface. BUT: I was not able to find out, how to include U3D in Flex/AIR.
    Then I found the nice pdf library iText (http://itextpdf.com/examples/index.php?page=chapters) which is able to produce a pdf file from a swf file and to include a U3D-model with an additional JavaScript file for manipulations.
    BUT again: If I have a swf flash file with the nice user interface (generated with the Flash Builder), how can I access the U3D model in the final pdf document? Imagine: I click on a "rotate" button in the swf and then the U3D-Model in the pdf should rotate...
    Ok, as you can see, it is a complex szenario.
    My questions summarized:
    What, in your opinion, is the best technology for my task? Flex? AIR?
    How can I import the U3D-models? Should I use PaperVision, Sandy3D or something else?
    Is there a way to save user inputs directly in the pdf file, or as new pdf file or as xml file?
    What is the best way to produce the user interface? Flashbuilder, or maybe a html container with "normal" html interface elements and then the events communication between JavaScript and ActionScript?
    How can I export all the stuff to one pdf document? Should I use iText?
    Best regards,
    Steven

    Thanks for making my point - perfect is the enemy of good.  We tolerate less capable, less perfect system that are in place now, because of the false expectation that it should be perfect.  Incremental improvements are rejected, because they are not perfect.  Even an imperfect algorithm can find 'Broken' as a common thread in your example, and highlight them for the clinician to evaluate their impact on the current treatment.  This no less likely to miss the connection than a clinician trying to scan through handwritten notes, in the 5 - 10 minutes he/she has to interact with the patient and determine what to do. 
    Because of legal concerns, incremental but imperfect improvements don't get implemented, so nothing ever moves forward.  Imagine if after the Wright Brothers first flight, no improvements were considered acceptable unless they completely eliminated the risk of failure - there wouldn't be any airlines to go bankrupt today!
    For the most part, IT has focused on activities where 'perfect' is achievable.  Accounting in its various forms have been the primary focus of most IT systems.  In that area, the vocabulary is very limited, well defined, and consistent.  A debit is always a debit, and a credit is always a credit.  Medicine is completely different. It is much larger in scope, poorly defined, the vocabularies are mostly non-existent, and where they exist are incomplete and inconsistent.  Despite the huge leaps forward in the last century, there is still more unknown than known about how and why the body works.  This environment makes most individuals trained in IT uncomfortable.  Until we learn how to deal with 'fuzzy', Healthcare IT is going to be limited to the billing and collection functions that it mostly accomplishes today.
    Mark

  • Do you get a proper native UK keyboard with the MacBook Air?

    Hi. I was wondering if you got a proper UK keyboard like this one attached on the macbook air?

    I cannot see your illustrations above ... but:
    Go to System Preferences > Keyboard > Input Sources.  Click the "+" in the lower left.  There you can choose "British" and/or "British P.C.".

  • Kazakh keyboard input not works

    Hi.
    I'm can't figure out trouble with kazakh(cyrillic) input to text controls in Flex4.
    I'm embedded unicode fonts, and "Copy->Paste" kazakh text from notepad into flash app works fine!
    But i need to keyboard input. In my case ordinar cyrillic letters inputs normal, but kazakh-specific
    letters (located in keyboard's 1234 and 7890 keys) not works - ? symbol displays.
    Please, anyone help me. I'm wasting 2 weeks in attempt to resolve it.
    P.S: FlexSDK 4.0.0.12321, FP 10.0.42.34, OS Windows.

    When you paste and it works, take the string and look at the charCodeAt() for each character in the string.
    Then when you type, see if the keyDown event is reporting the same charCode or not.
    Another test is to verify that your browser can allow those characters when typed into an HTML INPUT tag.
    Hi!
    When i'm pasting kazakh letters into textInput, flexApp shows correct charCodes, e.g.:
    әіңғүұқөһ -> 1241 1110 1187 1171 1199 1201 1179 1257 1211
    but when i'm typing this letters from keyboard, flex shows these charCodes:
    ?і??????? -> 63 1110 63 63 63 63 63 63 63
    (cyrillic-kazakh letters located in place of 2,3,4,5,8,9,0,-,= symbols of keyboard, on simple click - lowercase, with ShiftKey - uppercase).
    testing app code:
    <?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">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                protected function richeditabletext1_keyDownHandler(event:KeyboardEvent):void
                protected function rt1_keyUpHandler(event:KeyboardEvent):void
                    ttt.text = "";               
                    for (var i:uint = 0; i<rt1.text.length; i++){
                        ttt.text = ttt.text+" "+ rt1.text.charCodeAt(i);
            ]]>
        </fx:Script>
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            @font-face {
                src: url("arialuni.ttf"); /* Embed from file */
                fontFamily:"Thai_font";            
                /*unicodeRange:"Cyrillic";*/
                unicodeRange: U+0400-04F9;
                cff-hinting:none;
                embeddAsCFF:true;
            .test{
                font-family:Thai_font;
        </fx:Style>
        <s:TextInput id="ttt" width="100%" fontFamily="Arial Unicode MS"/>
        <s:TextInput id="rt1" x="562" y="243" text="RichEditableText" width="100%" height="500" enabled="true"
                            editable="true"  fontSize="18" keyDown="richeditabletext1_keyDownHandler(event)"
                            keyUp="rt1_keyUpHandler(event)"
                            direction="ltr"
                            styleName="test"/>
    </s:Application>

  • Keyboard Input, Contextual Menus Slow to Respond After Restart

    Immediately after a restart I must log out and back in one or two times in order for keyboard input (mostly command-tab) and contextual menus to work as expected, i.e. instantaneously. As it stands, a 2-3 second delay occurs between an action and a result.
    Why does logging out and back in alleviate this problem?
    Thanks.
    MacBook Pro   Mac OS X (10.4.9)  

    Hi,
    your success gives me great pleasure, congratulation for your second "first steps"!And by the way: much of that I know now it's due to the ideas, questions and help from the people here in the forum.
    Because of your enthusiasm for DW, which I share, you would accept my new suggestion. Take a look hereby:
    Maybe you can make that gap a litttle bit smaller between the menu and the submenu by changing your css, anyhow.
    As for the </ br>: You are absolutely right! In design mode you could use "shift enter".
    Hans-G.
    P.S.
    Kindergarten! not kindergarden! I am very pleased to see that.

  • Keyboard Input Locale Error

    Using Flex 3.0, targeting fp10, I'm building a rich text
    editing component. Most of the keyboard input works just fine but
    there is one bug.
    I have a UK keyboard (and my Win Vista system language is
    en-GB). When I enter text in my Flex component, however, " and @
    are transposed, meaning the input works as if my keyboard were a
    standard en-US. Is there a workaround for this? I don't want to
    just swap the characters because our app may have users from a
    number of different locales.
    Thanks in advance for any assistance.
    Jude Fisher / JcFx.Eu

    I would certainly try another keyboard if at all possible -- could save you lots of time trying to find a potentially non-existent software issue.

  • Keyboard input broken on Centos 5.2

    I am developing a Flex application on Windows and everything
    is working fine so far.
    I deployed this application on Centos 5.2 (Linux) . Most of
    it seems to be working fine EXCEPT for the keyboard input part.
    TextInput fields would take input from numeric-keypad and few of
    the special keys but NOTHING from the alphabet-part of the
    keyboard.
    Any suggestions please?

    I find something that is for version 904, maybe could help you
    Grettings.
    Cause
    The error "[gsdsiConnect] ORA-0" in the oidmon.log simply means that something has gone wrong when oidmon tries to connect to the database.
    Possible causes include:
    a. NLS_LANG is set to a non-existant or incorrect character set e.g. NLS_LANG=american_america.NOSUCHCHARS
    b. unlock.sql is not run after RepCA is run.
    c. port 1521 is not used for the listener.
    See also Note 260915.1
    Fix
    a. Set NLS_LANG to a valid character set before starting the installer. e.g. NLS_LANG=american_america.UTF8
    b. Run unlock.sql.
    c. Use port 1521 for the MR database listener.

  • TS3280 How can i enable both paired bluetooth and ios keyboard input at the same time?

    How can i enable both paired bluetooth and ios keyboard input at the same time?
    This is needed for the app im working on. Need some user input via keypad as well as scanner input via a paired bluetooth scanner.

    You probably should not be using a keyboard bluetooth profile for a scanner, I am not a developer for apple so do not know the location for you to find out the correct profile you should be using for an input device that is not a keyboard. Sorry,
    I am sure if you navigate the apple developer site you will probaly finmd what you're looking for.
    https://developer.apple.com

  • I have a new mac book pro (sept 2014) and am suddenly stuck on the log-in screen. Keyboard input not working to enter my password. Already tried a basic restart and a cmmnd/ cntrl/ pwr troubleshoot to no effect.

    I have a new mac book pro (sept 2014) and am suddenly stuck on the log-in screen. Keyboard input is not working to enter my password. Seems to be a log in issue as keyboard works for forced troubleshooting. (And b/c when I first noticed the problem, I was able to enter my log in password but then everything sort of froze. Now, no ability to enter the password.) Already tried a basic restart and a cmmnd/ cntrl/ pwr troubleshoot to no effect.

    Reset PRAM:   http://support.apple.com/kb/PH14222
    Start up in Safe Mode.
    http://support.apple.com/kb/ph14204
    A new Mac is in warranty for 1 year from the date of purchase.
    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273
    Call AppleCare or take it to the Apple store to have it checked out.
    Genius Bar reservation
    http://www.apple.com/retail/geniusbar/
    Best.

  • Example working Flex AIR app for Android?

    I'm having trouble getting even the most basic AIR app working on Android. Here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*"
                            width="600" height="600">
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Label text="Hello World"/>
    </s:WindowedApplication>
    It works fine running on  Windows in Flash Builder, obviously it's pretty simple. Here are the  commands I use to put it on a Samsung Galaxy Tab with Android 2.2.
    C:\Users\Ryan\Adobe  Flash Builder 4\Test2\bin-release>adt -package -storetype pkcs12  -keystore C:\Users\Ryan\STG-Android.pfx Test2.air Test2-app.xml  Test2.swf
    password:
    C:\Users\Ryan\Adobe Flash Builder 4\Test2\bin-release>adt -package  -target apk -storetype pkcs12 -keystore C:\Users\Ryan\STG-Android.pfx  Test2.apk Test2-app.xml Test2.swf
    password:
    test
    C:\Users\Ryan\Adobe Flash Builder 4\Test2\bin-release>adb install -r Test2.apk
    2286 KB/s (419172 bytes in 0.179s)
             pkg: /data/local/tmp/Test2.apk
    Success
    A Test2 app icon shows up on my Galaxy Tab  under Applications but when I run the app I just see a plain white  screen, I don't see the words "Hello World". Any ideas? Does anyone have  an example Flex AIR app that works on Android and can post the code so I  can try it on my Galaxy Tab? I know AIR is installed correctly on my  Galaxy because I installed an AIR app called South Park Avatar Creator  that I got from the market and it works fine.
    Thanks,
    Ryan
    P.S.  Here is the Test2-app.xml from my non-working project above in case it  helps. This is the default generated with a new Flex app in Flash  Builder 4 using the Flex 4.1.0 AIR 2.5 SDK but I uncommented the andoid  tags and set the visible tag to true.
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                 The last segment of the namespace specifies the version
                 of the AIR runtime required for this application to run.
         minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                 the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
         Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
         <id>Test2</id>
        <!-- Used as the filename for the application. Required. -->
         <filename>Test2</filename>
        <!-- The name that is displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
         <name>Test2</name>
         <!-- A string value of the format  <0-999>.<0-999>.<0-999> that represents application  version which can be used to check for application upgrade.
         Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
         An updated version of application must have a versionNumber value  higher than the previous version. Required for namespace >= 2.5 .  -->
         <versionNumber>1.0.0</versionNumber>
         <!-- A string value (such as "v1", "2.5", or "Alpha 1") that  represents the version of the application, as it should be shown to  users. Optional. -->
         <!-- <versionLabel></versionLabel> -->
        <!-- Description, displayed in the AIR application installer.
         May have multiple values for each language. See samples or xsd schema file. Optional. -->
         <!-- <description></description> -->
        <!-- Copyright information. Optional -->
         <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
         <!-- <publisherID></publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
         <initialWindow>
             <!-- The main SWF or HTML file of the application. Required. -->
             <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
             <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
             <!-- The title of the main window. Optional. -->
             <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
             <!-- <systemChrome></systemChrome> -->
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
             <!-- <transparent></transparent> -->
            <!-- Whether the window is initially visible. Optional. Default false. -->
             <visible>true</visible>
            <!-- Whether the user can minimize the window. Optional. Default true. -->
             <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
             <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
             <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
             <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
             <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
             <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
             <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
             <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a  width/height pair in pixels, such as "1600 1200". Optional. -->
             <!-- <maxSize></maxSize> -->
         </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
         <!-- which in turn permits your application to be deployed to all -->
         <!-- devices supported by AIR. If you wish to restrict deployment -->
         <!-- (i.e., to only mobile devices) then add this element and list -->
         <!-- only the profiles which your application does support. -->
         <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <!-- The subpath of the standard default installation location to use. Optional. -->
         <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
         <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
         specify the path to a PNG file included in the AIR package. Optional. -->
         <!-- <icon>
             <image16x16></image16x16>
             <image32x32></image32x32>
             <image36x36></image36x36>
             <image48x48></image48x48>
             <image72x72></image72x72>
             <image128x128></image128x128>
         </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
         of the AIR file (true), or the default AIR application installer handles the update (false).
         Optional. Default false. -->
         <!-- <customUpdateUI></customUpdateUI> -->
         <!-- Whether the application can be launched when the user clicks a link in a web browser.
         Optional. Default false. -->
         <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
         <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
             <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                 <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                 <!-- <extension></extension> -->
                 <!-- The description of the file type. Optional. -->
                 <!-- <description></description> -->
                 <!-- The MIME content type. -->
                 <!-- <contentType></contentType> -->
                 <!-- The icon to display for the file type. Optional. -->
                 <!-- <icon>
                     <image16x16></image16x16>
                     <image32x32></image32x32>
                     <image48x48></image48x48>
                     <image128x128></image128x128>
                 </icon> -->
             <!-- </fileType> -->
         <!-- </fileTypes> -->
        <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
         <android>
             <manifestAdditions>
             <![CDATA[
                 <manifest android:installLocation="auto">
                     <uses-permission android:name="android.permission.INTERNET"/>
                     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                     <uses-configuration android:reqFiveWayNav="true"/>
                     <supports-screens android:normalScreens="true"/>
                     <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                     <application android:enabled="true">
                         <activity android:excludeFromRecents="false">
                             <intent-filter>
                                 <action android:name="android.intent.action.MAIN"/>
                                 <category android:name="android.intent.category.LAUNCHER"/>
                             </intent-filter>
                         </activity>
                     </application>
                 </manifest>
             ]]>
             </manifestAdditions>
         </android>
         <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>

    <?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" xmlns:local="*"
                            width="600" height="600">
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Label text="Hello World"/>
    </s:Application>

  • How to have same keyboards input source in Mac and Windows???

    I use Canadian French-CSA on my Mac keyboards input source. Using Windows 7, I can't find the good setting for my keyboards to be the same when I it keys.
    I run Windows over Parallels Desktop
    Can anybody help?
    Thank you

    Can I use an AirPort Extreme Base Station "n"
    Yes.
    and if so, will my MacBook work with this at maximum download / upload speed (i.e. equivalent to the cable)
    The speed of your internal network generally is much much faster than the speed of your internet connection. Unless he has an internet connection faster than approx 6Mbps then even dropping down to the old 802.11b Airport would not seen any decrease in speed of downloads etc...
    and will my brother's PC's also be able to connect?
    If his PC is 802.11b/g-compliant, it shouldn't have any problems connecting to the AirPort base station.
    Or is there another Airport base station?
    The other AirPorts would work, but the AirPort Express & older 802.11g AirPort Extreme base stations have a max. range of 150 feet.
    OR-- should I head down to "Generic Computer Store" and just by a wireless router (WiFi)(think that's what they call them) and connect this to his cable modem? IF SO WILL THAT WORK FOR MY MAC?
    That is always an option as well, especially since he will be the primary user throughout the year. I'd suggest going with a brand name, like Belkin, D-Link, or Linksys for the wireless router choice.

  • How to use the phone's Mini-Keyboard Input with the 'Textbox'(MIDP2.0)?

    (My apology. My English is not perfect but I'll try my best. >_<)
    Hi. I'm trying to create a textbox(in my own little application) that is compatible with the mini-keyboard input feature.
    This problem involved any device that have a built-in "mini-keyboard".
    Problem:
    I tried the 'Textbox' class from MIDP2.0 but the result, as expected, is like using the phones with no built-in keyboard.
    (Forexample if I want to input the character 'C' inthe text box, I need to press number '2' button three times to let it circle through 'A' -> 'B' then 'C'. )
    Then I tried entering URLs in the phone's built-in web browser, the result is I can use the mini keyboard to type like a PC keyboard.
    Question: How do I implement such textbox that is fully compatible with the built-in mini Keyboard?
    I tried browsing through the MIDP2.0 API but it seems the 'Textbox' class there couldn't do it.
    Thank you. =)
    /bow
    Edit/Delete Message

    The textbox should have input just as any other normal phone input. If not, something strange is going on.
    Anyway , there is no use to make your own input method, since every phone has another implementation of this anyway. It would only confuse users.

Maybe you are looking for