Locking The Orientation Of The Flex Mobile Application on Android Device

Hi all,
          I have developed an application using Adobe Flash Builder Burrito and installed it on my android device,Samsung Galaxy Tab.
I want to lock the orientation of my application to landscape even when the device is in portrait position.
Can anyone of you help me to implement this.
Thanks.
Sujata Jha.

When you create a new mobile project (actionscript or flex) it asks if you want it to auto-orient. This setting can be edited for existing projects in [project name]-app.xml.
What I can't figure out is how to fix the application in landscape mode, as it seems to default to portrait.I could rotate the content myself, but the I'd have to convert screen events and previewing on the desktop would mean a lot of head twisting. Anyone know how to do this?
-Gabriel
Can you get Rasputin Rabbit back in the hat? Play Houdini's Hat (made with Away3D):
http://www.pizmogames.com/games/load.php?g=houdinishat

Similar Messages

  • Flash Builder 4.5: debugging Flex Mobile application on Android Virtual Device

    Hi,
    we are trying without success to debug a flex mobile application in Flash Builder 4.5 on an Android Virtual Device (AVD).
    We can debug with real Android devices via Flash Builder 4.5, by using a standard Mobile Application debug configuration with "On device" launch method, but emulated devices are not listed in the "Choose device" Flash Builder 4.5 window.
    The emulated device is correctly listed by "adb" command line tool, as the following screenshot shows:
    c:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\lib\android\bin\adb" devices
    List of devices attached
    emulator-5554   device
    ("emulator-5554" has been created and started with Android AVD Manager standard Eclipse plug-in)
    By using the adb command-line tool we can also install applications on the emulated device, but we'd like to use Flash Builder 4.5 directly, without manually using adb.
    Many thanks in advance for any direction.
    PS: we can debug with Flash Builder "internal" android emulator (the one used with "On desktop" launch method), but we want to use the more "realistics" android emulated devices provided by Android SDK (Android Virtual Device (AVD)).

    well that's just ... oh what's the word I'm looking for? ... um ... ah yes - inconvenient.
    I've been wrestling with this too. I use VDs with eclipse all the time, I'm wondering why it's not supported in flashbuilder. I mean, it's just a VD that runs on a virtual port, plugs into the editor like a read device would - right?
    I'm going to take a wild stab at this and say it probably has something to do with running a program inside (Air) a virtual machine, running inside a virtual machine inside a virtual device?

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • Save data while closing Flex mobile application using HTTPService

    On close of the Flex mobile application I need to save some information to the back-end by using HTTPService.
    On creationComplete() of the application I am adding :
    NativeApplication.nativeApplication.addEventListener(Event.EXITING, onExit);
    On close of the mob application, the following method will get call.
    private function onExit(e:Event):void
        httpServiceCall("log event data");
    The request itself is not reaching backend. I have tested this by installing Wireshark, there is no entry if I close the application in wireshark(wireshark will just catch any kind of requests from frontend to backend).
    I am introducing delay to achieve this :
    public var closeTimer:Timer;
                private function onExit(e:Event):void
                    e.stopImmediatePropagation();
                   httpServiceCall("log event data");
                    closeTimer = new Timer(3000,1);
                    closeTimer.addEventListener(TimerEvent.TIMER_COMPLETE, closeApp);
                    closeTimer.start();
                protected function closeApp(event:Event):void{
                    NativeApplication.nativeApplication.exit();
    The above code is not working. As soon as control comes to onExit() method, application is closing.
    According to my understanding, I have to introducesome delay before closing the application to achieve this requirement. How can I introduce delay in this case?

    Try opening Task Monitor and killing any existing "adl" process before launching.
    Does this help ?

  • 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

  • Error while saving a Sales Order in the CRM Mobile Application

    Hi,
    I am facing issues while saving a Sales Order in the CRM Mobile Application. I am getting the error message "Value Field KvLangu is not valid (Error: 236 / 1102)".
    I would be very grateful if somebody had faced this issue before and this way could help me with some information.
    Best Regards,
    Rogerio Prado.

    Hi Rogerio,
    You should put mobile sales related messages in the forum "CRM Mobile applications"
    This error message is coming because the language table SMOT002 might be empty in your mobile client OR it does not have all the values which have been customized in the system.
    You need to have subscription based on publication "customizing objects" assigned to your site.
    Regards
    Vivek

  • Unable to Open the Flex related Applications in firefox 5 version

    In Our application one of the module is built in flex.Unable to Open the Flex related Applications in firefox 5 version

    Firefox 5 is not supported, please update to Firefox 24 IMMEDIATELY! [[Update Firefox to the latest version]]

  • Does the iOS mobile application Lync have any managed app parameters available?

    Since iOS 7, MDM platforms have been able to push out certain "managed app parameters" to applications, but only if the application was developed to have that available. Does the iOS mobile application Lync 2013 (App
    Store Link) have any managed app parameters that can be used by
    MDM solutions?

    Hi,
    Lync 2013 provides UCWA Web API, refer the link below for more information on the architecture and more. Since its web based you could be able to develop some API for iOS.
    http://msdn.microsoft.com/en-us/library/dn324971(v=office.15).aspx
    Also, I found a third party API that fully integrates and provides API for mobile OS includes iOS, Andriod...,
    http://www.prweb.com/releases/2013/8/prweb11067929.htm

  • Is there a way to save data to just one view in Flex Mobile applications?

    I am having trouble handling data between views in a Flex Mobile application that I am writing. I know how to pass data from one view to another, but I was wondering if there is a way to save that data to a view, then get more data from another view (in this case it would be the same view that the original data came from) and put that data on the same view without overwriting the original data. I would be glad to post some code if anyone needs to see it.

    I think we realise that this is the same question as the other thread.

  • Flex Mobile Application with online database

    Hi,
    I would like to create a Flex Mobile Application but this one have to be read/connect  to a online database ?
    I don't found any tuto or infos about that...
    Could you please tell me if it's possible and if yes, how to do that
    Thanks in advance !

    I don't understand one thing...
    There are different type to do a connection between Flex and PHP.
    Which one is the best ?
    1. With AMF (Flex :  service-config.xml, RemoteObject) (http://www.adobe.com/devnet/flex/articles/crud_flex_php_zend.html)
    2. With Zend Framework (Flex : Callresponder, Time,...)  already included in Flash Builder 4.5 (http://devzone.zend.com/1701/flex-and-zend-framework_part-1/)
    3. With Zend Server and Flash Builder 4.5 with PHP (http://www.adobe.com/devnet/flash-builder/articles/flashbuilder-php-part1.html)
    It's three differents approach but in 2 & 3, it's auto configured with Flex.. however to do a connection between Flex Mobile & PHP (online), I have to use the solution 1
    So, if somebody can help me to explain and understand the difference between that.
    thanks

  • Transforming a flash application to flex mobile application

    Hello everybody, I have been tried of transfom this flash application
    http://blog.flexexamples.com/2007/08/02/finding-a-pixels-color-value-using-the-bitmap-clas ses-and-getpixel/
    to flex mobile application, but I have many errors with the components. Also when I try to load image, on the flash builder the image, we can see the image loaded but when I try run on virtual device, the image can´t views.
    I ask help...Thanks

    try searching for Java NT service string on google and u will come out with many solutions.....
    hope this is the best answer... i can give u.....

  • 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

  • Flex iPad Application : Run code before application enters background  Application Type: Flex Mobile Application Target Platform: iPad AIR Version: 4.0 Development Environment: Flash builder 4.6  I want to run some code just before iphone application goes

    Application Type: Flex Mobile Application
    Target Platform: iPad
    AIR Version: 4.0
    Development Environment: Flash builder 4.6
    I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
    of native xcode app
    (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
    tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
    I tried using devactivated function of flash.display.STAGE.
    I used following addEventListener:
    STAGE = this.parent.stage;
    STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
    It worked for me but only when device is connected to development environment in debug mode. When I create my release build
    it is not working.
    So how can I make sure that my code runs before application goes into background.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • So....basically none of the creative mobile apps are Android. Great.

    So....basically none of the creative mobile apps are Android. Great.

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests

  • Evidence of a freakin' rootkit (of sorts) haunting my remaining neurons for the last year @ all my android devices (including this new tablet). PLEASE HELP ME J

    evidence of a freakin' rootkit (of sorts) haunting my remaining neurons for the last year @ all my android devices (including this new tablet).
    PLEASE HELP ME
    Jose Carlos Amaral Morgado
    Tomar, Portugal
    '''...personally identifying information removed'''

    Sorry Morgado. This is a Firefox for Android support forum. Not a general purpose. Android forum. Please ask in an Android OS forum.
    Locking this thread.
    Cheers!
    ...Roland

Maybe you are looking for

  • DIscoverer output different from toad

    Hi I have an apps mode EUL (Discoverer 10.1.2.2 , EBS R12 and Oracle 11g database) I have a custom folder for onhand material analysis. The output will be something like below Item Onhand Batch Start Date Requirement for this batch Net-Onhand ABC 100

  • VD05 - Customer master record blocked for sales orders and billing

    Hi, I have a scenario whereby I have blocked a customer master record for sales orders and billing using transaction VD05, but it still allows you to create sales orders and post billing documents. What is the reason for this? Regards Gandi

  • Validation unit

    I have a form module that the form module property validation unit is set to FORM. However, I want to do an immediate validation on some of the items. When_validate_item trigger does not fire on this items. Your help will be appreciated.

  • Disable the autosave/lock file functions?

    Since the release of OS X Lion, I have been experiencing troubles related with Adobe Creative Suite saving files to my Time Capsule device. When I open a file made in Photoshop, or Dreamweaver, or Illustrator (for example) and I make some changes to

  • Connect to a database

    I am trying to make a connection to a database ( access )by using JDBC-ODBC driver,from the dreameweaver but the connection is fail ,shuold i have to define the connection from tomcat adminstrator? thanks