Flex Mobile - Moving up for keyboard

Not sure if this is where i should post this question about Flex Mobile, but don't see any forums for Flex Mobile.
My question should be simple enough. I create a Android app and it works perfect. About ready to put it in the market, but one odd thing I can't find on google is how to move the app (or at least the onFocus TextInput) up so the phone's keyboard doesn't cover it.
Does anyone know what event (if any) is fired off when the phones keyboard is summoned and how to keep your text area above it.
Thanks!
Also..where can I find the new api info on things like using the phone's camera, gps, accelerometer,etc?

maybe http://swfhead.com/blog/?p=904 will be helpful

Similar Messages

  • Two styles for a native look (Flex Mobile App)?

    Hello,
    is it possible to use two styles/looks for the same App, that this one will look native on iOS AND on Android?
    Or will I have to build the same App twice to get this?
    - BB

    Check out Jason San Jose's blog posting here: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-flex-mobile-projects-proof-of-concept .html

  • Flex mobile project: web root and root path for a remote web service?

    Hi all,
    i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
    and php data.
    I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
    test file is http://mywebsite.org/TestDrive/test/test.php... and it works
    correctly)... But when i'm setting properties of the project, i don't know what
    to write into the web root and root path fields... I thing root path is simply
    http://mywebsite.org... and whatever i write in the other fields (output folder
    too) i have errors when i click on "validate configuration"...
    What should i put into those fields? is zend framework (and gateway.php)
    strictly necessary?
    As you can see... i'm a bit confused....
    Many thanks for any help
    Bye
    Alex

    I thought it was a simple question...
    No advice?

  • Flex mobile project as a library for Objective-c project?

    We have a objective-c app for ios already,
    now we have to add a rtmp based feature(I write that with a flex mobile project).
    is there any way to compile the flex mobile project as a objective-c library ,so that the objective-c developer can make that work on ios device?
    Please help me ,Thanks!

    Usually, people include the objective-c libraries in their AIR applications, using native extensions. However, if you just want rtmp streaming in your native iOS app using flash and not the UI, you may want to use the AV Foundation framework, instead of a flex mobile project.
    You may find some useful information and links in this article to achieve it: http://www.adobe.com/devnet/adobe-media-server/articles/streaming-video-ios.html

  • Windowed Application for Flex Mobile Project

    I have a project intended for both deskotp and mobile, and so I began it as a Flex Mobile project.  I then imported the source into a Flex Air project and everything has been working great--until I added cut and paste functionality using the NativeApplication/NativeWindow model.  On a Mac, because there is a default set of menus, this works just fine, but on a pc, the menu is not present unless you define it.  My top level class is a ViewNavigatorApplication, and I can't for the life of me figure out how to get my NativeWindow NativeMenu built.  I have tried plugging code into creationComplete, initialize, preinitialize, but nothing works.  I also tried putting a WindowedApplication around the ViewNavigatorApplication, but that too failed.
    So is there a way to make this work?  While menu support would be nice, I would settle for just shortcut key support.
    Thanks in advance,
    Adrian

    Umm, overall it's doable but you may come up against two or three hurdles:
    The program may have to run for hoursThat may require keeping the phone handset connected to a charger, especially if the display backlight is configured to be on continuously.
    a sample rate of 20Hz from the sensor.You'll have to cross that bridge when you get there, but I suspect that many handsets won't be able to handle receiving, processing and displaying of data every 50 ms.
    log the data and produce simple statistics from a session.Keeping all data in memory probably won't be feasible; writing it to the record store may make the program still slower, further limiting the sampling frequency that can be handled.
    In future all Java ME related questions should be posted on the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    any pointers as to how to beginIf you have never programmed in Java, go through [The Java™ Tutorials|http://java.sun.com/docs/books/tutorial/index.html]. If you have some experience in Java but none in Java ME, [this tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html] will get you through the basics.
    luck, db

  • Best practices for "designer - developer" interaction in Flex Mobile

    Hi,
    I'm starting development of a mobile software application and Flex Mobile is the platform I've chosen for that.
    What is the best practice / recommended workflow for designer-developer interaction? For example in web application the designer provides HTML/CSS templates to the developer which integrates them in the Web Application. What is the analogue in Flex Mobile? What should I request as input from the designer?
    I'll appreciate any hints, links, advises or previous experience on the topic.
    Thanks!
    Best Regards,
    Dinko

    If you're using Adaptive Web Design (CSS3 media queries), you can maintain one site with CSS Layouts optimized for different device widths.
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    jQuery Mobile
    http://jquerymobile.com/
    If you're actually running separate web sites for mobile and non-mobile devices, have a look at this recent discussion:
    http://forums.adobe.com/message/4177360#4177360
    IMO, there is nothing wrong with providing links for mobile and non-mobile users to choose which site they would prefer to use -- especially for tablets who may have an interest in both.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Create ItemRenderers for Flex Mobile Projects | ADC Presents | Adobe TV

    Piotr Walczyszyn explains the process of creating custom ItemRenderers in ActionScript3 for Flex mobile applications, as well as the functionality they add to your projects.
    http://adobe.ly/z8Lce2

    Looks like the source is available on github
    https://github.com/pwalczyszyn/examples/downloads

  • ANE for one platform on Flex mobile project for iOS and Android

    I'm very new at Flex Mobile Projects and native extension.
    I have a big doubt... If I have an ANE that only works on iOS or Android, can I use it into a project for Android AND iOS?
    I mean, if I want to do something and I've only found and ANE that works for iOS and another ANE that works for Android, can I create only one project and depending on the device use one or another? or should I create two different projects?
    Thanks in advance

    You can set them both up and when you publish just comment out the code that does not apply, this way you still keep it as one project but you can use the ANEs as needed, I had to do this with the iAd ANE only for Apple obviously and AdMob ANE which at the time was Android only.
    Example
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Now when you publish for iOS comment out the Android related stuff
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Also dont forget to update your included ANEs when you publish and remove the ones that dont apply and update the XML files as needed. Its possible, but annoying, it would be nice if it was automated or could be flagged somehow so the Flash publisher would auto ignore it.

  • Datagrid for flex mobile apps

    Hello,
    Since in-built Datagrid component is not optimized to be used in flex mobile apps, what is the best alternative we can go ahead with?
    I have seen some of the posts which says that we can use List. But I'm still unable to find how List can be used. As we would need multiple columns, should we be using multiple Lists for each column?
    Kindly let me know if any of have have got this working and how.
    Appreciate your help..
    -Deepak

    Anyone please?:) Flex HarUI ??

  • What is the best font to use for Thai Language in Flex Mobile Applications ?

    Hi
    I am facing issues with Thai language in flex mobile applications. I am using Tahoma font and facing issues in TextInput
    Whith Tahoma font text Offset setting to far from the starting of the text input .
    Can any one suggest me the best font to use with Thai language ?
    Many thanks in advance for your help .
    Regards,
    Kamal

    Personally, I prefer uncompressed TIFF or PNG.  But many times it won't matter ... you'll be dropping the images into an SD Sequence, so they will lose resolution on output.
    -DH

  • Is Galaxy Y useful for Flex mobile?

    Hi All,
    I am very new to flex and flex mobile i am trying to develop small small application for practice and to explore more into flex and flex mobile.
    I have galaxy y having android 2.6 gingerbird. i developeded one flashmobile application but when i am trying to sync with this mobile it not happening. Even i cant install Adobe Air from market. Can you guide me whether it is possible to test my work with this Galaxy Y or i have to purchase an high-end mobile only to test my works.
    kindly suggest how i can test my works with this mobile.
    Thanking you
    Girish Mohapatra

    Hi, Girish -
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Hope this helps,
    Mallika Yelandur
    Community Help & Learning
    Adobe Systems Incorporated

  • Keyboard events in Flex mobile

    I have a desktop application where I handle autocomplete and some other checks using the Keyboard events. Now porting the same app to Mobile devices but I am not able to get the Keyboard events. How can I get those or are there any alternatives for Keyboard events on Mobile devices?

    Hi there,
    If you are recording in Training mode then by default Captivate should include click boxes in your slides. You can assign keyboard shortcuts to those click boxes by carrying out the following steps:
    1. Double-click on one of your Click Boxes.
    2. In the Click Box section of the dialog box click the Select Keys... button.
    3. Select the option Attach a shortcut
    4. To perform an Undo choose Ctrl and then from the Letter menu choose
    Note: To get the learner to Shift + Click, select the option SHIFT
    5. Click OK to Close the Shortkey dialog box.
    To simulate an Undo you would then need to branch to a slide where the original action was performed. Here you can either use the On success options Go to Previous Slide or Jump to Slide and then specify the slide number.
    As for simulating selecting multiple items, again you would carry out similar steps. Depending on how your project has been setup you would either set the On success action to Continue or to  Go to next slide.
    The way I tend to work is that I have each of items I want to select on separate slides and then add a click box with the keyboard shortcut Shift attached. When the learner clicks on the first click box I then move to the next slide and so on. Naturally, this does not account for allowing the learner to randomly select the items. To accomplish that, you would need to set up some pretty complex branching.
    HTH
    Best - Mark
    Visit the macrofireball blog

  • Overlaying adobe air sdk 13 for flex mobile project gives me error

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on adobe site. Can anyone please suggest me what i need to do in order to get this work.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Tutorial for Developing Flex Mobile applications.

    Hello all,
                 Can anyone provide me Tutorials to devleop  Flex Mobile applications which access data from SAP Netweaver Gateway via Flash Builder Plugin?
    Thanks

    This is not a product forum... do you need the flash builder forum?
    How to Select a Forum http://forums.adobe.com/docs/DOC-1015

  • Skinning Flex Mobile TextInput

    Hi,
    I need to skin the Flex Mobile Text Input with a gradient in the background. I have created a skin for that. It works fine on Android devices but in case of iOS devices, the keyboard doesn't even comes up. If I remove the skin, it works fine. I guess the issue is with skinning, but how can I fix this? Below is the skin I created, if it helps:
    <s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009"
        alpha.disabledStates="0.5" blendMode="normal">
        <fx:Metadata>
        <![CDATA[
             * @copy spark.skins.spark.ApplicationSkin#hostComponent
            [HostComponent("spark.components.TextInput")]
        ]]>
        </fx:Metadata>
        <fx:Script>
            <![CDATA[
             * @private
            private static const focusExclusions:Array = ["textDisplay"];
             *  @private
            override public function get focusSkinExclusions():Array { return focusExclusions;};
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="normal"/>
            <s:State name="disabled" stateGroups="disabledStates"/>
            <s:State name="normalWithPrompt"/>
            <s:State name="disabledWithPrompt" stateGroups="disabledStates"/>
        </s:states>
        <!-- border -->
        <!--- @private -->
        <s:Rect left="0" right="0" top="0" bottom="0" id="border"
                                  radiusX="5" radiusY="5">
            <s:stroke>    
                <!--- @private -->
                <s:SolidColorStroke id="borderStroke" color="0xFFFFFF" weight="1" alpha="0.05" />
            </s:stroke>
        </s:Rect>
        <!-- fill -->
        <!--- Defines the appearance of the TextInput component's background. -->
        <s:Rect id="background" left="1" right="1" top="1" bottom="1"
                                  radiusX="5" radiusY="5">
            <s:fill>
                <!--- @private Defines the background fill color. -->
                <!-- s:SolidColor id="bgFill" color="0xFFFFFF" alpha="0"/-->
      <s:LinearGradient rotation="90">
      <s:GradientEntry color="0x131516"
                                                                                     alpha="1"/>
      <s:GradientEntry color="0x282b31"
                                                                                     alpha="1"/>
      </s:LinearGradient>
      </s:fill>
        </s:Rect>
        <!-- shadow -->
        <!--- @private -->
        <s:Rect left="1" top="1" right="1" height="1" id="shadow" alpha="0"
                                  radiusX="5" radiusY="5">
            <s:fill>
                <s:SolidColor color="0xFFFFFF" alpha="0.25" />
            </s:fill>
        </s:Rect>
        <!-- text -->
        <!--- @copy spark.components.supportClasses.SkinnableTextBase#textDisplay -->
        <s:RichEditableText id="textDisplay"
                  verticalAlign="middle"
                  widthInChars="10"
                  left="1" right="1" top="1" bottom="1" />
        <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
        <s:Label id="promptDisplay" maxDisplayedLines="1"
                    verticalAlign="middle"
                    mouseEnabled="false" mouseChildren="false"
                    includeIn="normalWithPrompt,disabledWithPrompt"
                    includeInLayout="false" />
    </s:SparkSkin>

    You are using a non-mobile skin:
    <s:RichEditableText id="textDisplay" 
                  verticalAlign="middle" 
                  widthInChars="10" 
                  left="1" right="1" top="1" bottom="1" /> 
        <!--- Defines the Label that is used for prompt text. The includeInLayout property is false so the prompt text does not affect measurement. -->
    Pls Read here about mid page- wont call keyboard and have scrolling issues, etc:
    Adobe Flex 4.6 * Use text in a mobile application
    Here are the mobile skins: spark.skins.mobile - Adobe ActionScript® 3 (AS3) API Reference ... apply to base components you need to use.
    Good luck.

Maybe you are looking for