Lock a Mobile Flex/Air application in landscape mode?

Hi all

Is there an easy way to lock an application in landscape mode?

I have passed through the web and API, but can't really find out how do.

Kind regards

/ Lars

Lars salvation,

You can doe this in the application descriptor file.

Just add:

fake
landscape
true

Welcome them

Tags: Adobe AIR

Similar Questions

  • Twitter Feed within a Flex/Air Application

    I'm trying to move forward an appilcation I created so that it integrates a live webcam that is twitter account when users access the application their own Twitter account is shown it contains and is updated live.

    I have no experience in using either twitter itself or how to integrate twitter feeds specifically in a flex/air application and I was wondering if someone can tell me exactly what I need to do to get there?

    Another addition that my client asked is the use of live images. The application itself is basically an interactive favorites with users clicking menu on and adding links to sites within the app. Each of these links is represented by an icon that is actually a screenshot of each site. I want to change this so that those images, direct change AS the site themselves so that they are constantly updated. Is this also possible at all, and if so someone can give me advice on how this could be done?

    Get your twitter RSS feed

    Put it in a flex RSS reader

  • Design the mobile site for Tablet in landscape mode

    My apologies if this has already been addressed.

    I am designing a mobile site, exclusively for use on a tablet.  When choose "compressed" as my page, it shows me the page in portrait instead of landscape orientation.  I would like to find a way to have my site only visible with the tablet in landscape mode.

    Any suggestions?

    Edit:  After playing with a few options, it seems that as long as you properly set the dimensions for your site, it will look correct when you do a preview and possibly a publication.

    While I realize that the Adobe are massive in size and only so many people to assess these messages, it seems that some posts get answered more than others.  Fortunately, I was able to run Google and Bing search to find some of the answers I was looking for, but I was hoping to post here, I want to get some kind of response from a person.

    If someone from Adobe it visualizes, is there a recommendation to make a post more visible?

    Hello

    Please visit the following link Re: fixed vertical layout for mobile

    Kind regards

    Aish

  • Mobile of AIR application using ringer volume, no media volume

    So I have an application written in AS3 using AIR Mobile. The problem is that the volume of enforcement seems to be related to the volume of the ringtone on my phone, not the volume of media. How to attach my application volume to the media instead of ring? If it makes a difference, I develop in FlashDevelop. Thank you.

    Look into this:

    SoundMixer.audioPlaybackMode = AudioPlaybackMode.AMBIENT;

    Play Back mode controls how much is followed. The default value must already do what I think you want to do.

    Look here for other settings:

    AudioPlaybackMode - Adobe ActionScript® 3 (AS3) QAnywhere

    'media' might be the one you want.

  • SQLite error in Flex/Air application:

    I'm doing a simple query from inside and demand for Air SQLite:

    Statement.text = 'SELECT Ingredient' +
               'FROM Ingredients'+ 
               'WHERE FoodCatagory_FK = 6'
    

    It works fine when I exicute the query in SQLite Manager, however in the Air, I get the following error:

    SQLError: 'Error #3115: SQL Error.', details:'near 'FoodCatagory_FK': syntax error', operation:'execute', detailID:'2003'
    

    Don't know why it doesn't work, it seems pretty Strait forward.

    Thank you

    Hello

    You must leave a space either after

    Ingredients
    

    or before

    WHERE FoodCatagory_FK
    

    Thank you

    Tamil

  • Tutorial on the edition of Flex/Air app for Mac App Store, or simply using Developer ID for general distribution

    Everyone set up a tutorial on the publication of a Flex/AIR application for distribution as an OSX desktop application, or through Mac App Store, or just simply using the developer Certificate ID?

    In my time as a Flex developer, I've seen some well documented things and some that you had to dig for, but find clear instructions on this is really hard! I would have thought post your Flex/AIR application as a standalone application (captive runtime) users directly or through the Mac App Store (Apple Developer ID certificate signature) would be something that many people are trying to do. But most of the useful post there are dated or incomplete, as well as specifically targeted to iOS. In addition, whenever the AIR SDK changes it seems that many of the recent posts are no longer valid at certain stages.

    Many thanks for anyone who can provide some pointers or suggestions!

    The page of the official doc on presentation of the Mac App Store has been updated there is a little more than two months, recent changes in the recent SDK:

    http://helpx.Adobe.com/Flash-Player/KB/posting-air-app-Mac-app.html

    It must be current, even if I think I see typo in one of the appeals of command line that mentions "textcodesign", when it should just be "codesign".

  • What do I need build and deploy a standalone Flex/Coldfusion application?

    I've been a CF developer for almost 10 years, but have no experience with Flex. I have a new opportunity to create stand-alone Windows-based applications. I studied .NET and I'm not impressed because it just seems to be unnecessarily complex and bloated. Instead, I look through my experience of CF and taking a serious look at Flex with ColdFusion.

    My application must run on the PC which can be found on ships at sea. Their only link to the Internet is through a satellite modem. The stand-alone app must have entered data, which are stored in a local database. When the boss is ready, he or she turn on the modem, will transmit the backup data (it takes about 10 seconds) and turn off the modem. This means that the application code, the environment of execution, data base and services (for example ColdFusion CFC) must all be loaded on the PC. In addition, I don't want the application runs in a web browser (a lot of boats have older versions of Windows and IE).

    I understand that I should be able to do using the AIR runtime.

    Here are my questions/challenges:

    (1.) the application itself must be provided free of charge. I had to purchase a license for each copy installed the ColdFusion application?

    2.) if I have to pay a license for each installation of CF, Flex 4 will work with an engine open source CF for example open BlueDragon or Ralio instead?

    (3.) the suggestions about the database should I use (e.g., Derby, H2, SQL Server Express)?

    Installation 4.) should be simple. Skippers should be able to download an installation file (for example a .exe) and run it. The installer must install the database, the last player Flash for Windows, the engine of the CF and the .swf files generated, swc files, etc.. Can all this be delivered upward when FlashBuilder and/or AIR prepares an application for deployment? When the application is run, it has to start the database engine and the CF engine and more front-end Flash.

    I'm looking forward to your answers with your fingers crossed. This project has the potential to create a very cool and unique app!

    Tools:

    (1) flash builder to build flex/AIR applications

    (2) sqlite by all means

    (3) see 1.

    (4) no need to use anything, but air to talk to sqlite.

    seems you almost "managed", perhaps a few examples will help to clarify:

    a little Googling & to search the adobe website (http://www.adobe.com/devnet/air/flex/) should turn up many others.

  • Air applications require Flash Player?

    Well, this question may sound silly, but you please help me with my basic doubt. Applications created in Flex (AIR application) requires Flash Player on the client side or simply install AIR on the client side will do?

    No, just the AIR runtime is enough. Air application uses the airglobal.swc for compilation.

  • Running files in Flex/AIR

    Hello.
    I created a simple Flex/AIR application and I wanted to start a presentation power point the application when the user clicks a button "launch". I need not the presentation power point to run in my application, it can work on the desktop (Windows XP). Wasn't sure if it was possible to launch files from AIR.

    Thank you.

    "jcahill23" wrote in message
    News:gqnpg7$R75$1@forums. Macromedia.com...
    > Hi.
    > I have created a simple Flex/AIR application and I wanted to start an outlet
    > presentation of the application when the user clicks a button "launch". I have
    > do not need the power point presentation to run it in my application
    > can work
    > on the desktop (Windows XP). Wasn't sure if it was possible to launch
    > removal of in the AIR.

    http://www.jeffryhouser.com/index.cfm/2008/4/22/using-air-to-launch-other-applications

  • How to develop and test the application mobile flex without the real device?

    I'm trying to read some information about it, but decided to ask also here.

    I have a project that has a company wants to grow me, it's for iPad. That's ok I am with Flex and the framework for web development, but not for mobile. Why? Because I have no idea how to test my application. I know generation ago it sort of the desktop version of the application with the change of the "back" button on the orientation stuff, but how do I know my application will look and work exactly the same (I mean NOT performance here). I mean you know how every android or iOS device have their native keyboard or native video player for example and I have only in the debug version of the application.

    The question is how to develop this application based on the desktop emulator or anything and then hope that my app looks and works on a device, as it should... Of course I can't afford to buy all the devices it is just to be able to test on it if necessary? So, how do you, how to test how my iPad app works on a device without a? I know I should get a licence from iOS dev to be able to package the app for iOS, but it's $ 99 per year or something like that I can handle, but how to test my application without having to buy the darn device? Are there any emulator for iPad or something like that I know what my customers will see when they get the application? One of my friends told me that the mac os x use the developers a tool - cause some kit of dev who has emulators for all iOS devices and you can build and test there immediately and that you can simulate virtually any combination of key for example, and he said he's working and seems to 1:1 as the real device but he didn't know if can I export an AIR application and try it like this, he only knew for app written in native code.

    If someone can just tell me how should I do this? Should I buy a mac os x computer laptop to test because I am a user of windows 7, or perhaps create a mac os x virtual machine and tests out there or maybe the only option is to actually buy the device... that would be terrible for a freelancer...

    I hope someone can save the day here! Thank you.

    F

    Since the AIR for iOS applications are compiled to ARM code you will not be able to run on iOS emulators running on Mac OSX.

    You can do a very simple test with the "Simulator" built into Flash Builder, but it is not much more than a window to AIR with a window size that matches the resolution of the selected iOS device.  When running in the simulator of the application is not compiled to ARM code so it will take a completely different code path than what will be the final release of iOS.

    Ultimately if you are developing for iOS with AIR nothing but for tests on real iOS devices.

  • Flex AIR for Flex Mobile

    I made a Flex AIR 4.5.1 for office project using Flash Builder 4.5 and I want to convert a Flex Mobile for use on Android.

    Is this possible?

    The answer to your last question is no, it does not work like that. The final construction must be configured and optimized for the target platform.

    What you need to do is put a little thought into the design of your project so that you can split your shared code that is platform-dependent code. Shared code would go in a separate and is library project used by your main application.

    You then create a project (or the configuration, if you are using a build advanced environment) for each platform that you plan to deploy to (desktop, mobile, web, etc.). The main application should contain little or no code. Above all, it serves just as a wrapper for the shared library code. This allows the application to be configured and optimized for the target platform while allowing you to use a library shared between platforms.

  • convert adobe flex web app for playbook air application?

    Hey, I am very new to this sort of thing and was using a Visual tool to help me create applications web flex. My question is can I convert these to operate as air apps on the playbook?

    Given that I don't really know action script.

    Also, can you recommend any good books, tutorials, or interactive Web sites that would help me to learn action script? Thank you!

    Some MX controls (OK, a lot) are not supported under the BB SDK.  For example, mx. Alert does not work, you must use the AlertDialog QNX class.  See docs QNX to:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html

    In addition, FlashBuilder is the IDE that is supprted, Flex Builder (3.x) is not supprted.  FlashBuilder 4.x is what you need, but which is not supported under Linux.  You should be able to download the 0.9.1 BB SDK for Linux and the use of the CLI version for a project of will.

    If you are a Flex application, you need to change the root node of a node (Application or WindowedApplication) AIR (if not already done).  If so, act like and more taking orders from MX which are not supported, I keep your business logic and simply change the front-end server with native controls of QNX/BB.

    But first, I would try just get a "Hello World" application to compile and run as an AIR application and then send it on the Simulator to get their feet wet.  then see what it would take to get your application scope.

    Hope that helps.

  • Shared codebase for both mobile and web applications?

    I have developed a mobile application for a while now. It works on iOS and Android, as well as on the desktop as an AIR application. That's great and I'm very excited about it. However, last week asked me why I could not export a version of the application that had occurred within a web browser. I said that I assumed I could and I'd look into it.

    But why would you want to run mobile code on the desktop?

    Two reasons:

    • A greater code reuse. This is not sensible in all cases, but it does in many case. (I will not elaborate because I think that this goes without saying.) If you do not agree I'd be happy to talk but I would rather not clog this description with it).
    • Demos of client quick or easy. Rather than having to install an apk or an ipa on a mobile device, I can just send a URL.

    So what I found? Well, from what I've tried so far... He... does not work. Or rather, I was not able to make it work.

    I started by creating a Flex library for all shared code project. Then I created 2 application projects referring to a TI - one mobile and one for the web. The mobile project works very well, but the web project does not work. Here is what I tried so far to make it work:

    • I tried to add mobilecomponents.swc and mobile.swc to my web project theme that Flash Builder knows MobileSkin (and other mobile classes only). This allows my application to compile, but when I run it immediately throws a runtime within UIComponent error: VerifyError: Error #1014: flash. text::StageText of the class could not be found. I have found very little on this errorand the one tip that I found (addition of the -swf-version = 13 the compiler option) does not work.

    • I tried to use conditional compilation to control which my skin inherited from the class components: MobileSkin or SparkSkin. It was just a quick experiment to see if it worked. I know it's disgusting and not a production solution. However, my thought was that if MobileSkin was really just an optimized version of SparkSkin, my skins should be correct inheriting from either. It worked not far-app wouldn't compile b ' c right some methods were absent (e.g. layoutContents) and so I bailed out on it because she felt dirty first.
    • I tried to replace MobileSkin with UIComponent as the super class for all my skins thinking MobileSkin was probably just a lightweight subclass of UIComponent anyway. This approach resulted in the compiler errors first (e.g. no method of layoutContents measuredDefaultWidth/measuredDefaultHeight properties, addChild vs addElement, etc.). Once these issues have been resolved in the updated app, but crashed with errors of execution within the method 'getState' of UIComponent. (Resembles MobileSkin overrides this method to prevent the default behavior of UIComponent.)

    If none of these approaches worked for me so far... but what for you guys? I have no hope Adobe reading this thread or respond in some way, but I'd like to hear from others in the community. Have you encountered this problem yet? Have you been able to make it work or can you spot any obvious omissions that I made in the methods I mentioned above by train? Thanks in advance if you can.

    Update: I was able to make progress with the first route above: added mobilecomponents.swc and mobile.swc for my web project theme

    It turns out that this Flash Builder, had brought me wrong in that regard. Adding mobile SWCs to your library with the parameter "merged into code" project translates the compiler warning:

    The swc "/ Applications/Adobe Flash Builder 4.6/sdks/4.6.0/frameworks/themes/Mobile/mobile.swc ' a default style and is located in the path of the library, i.e. the dependencies will be linked in without styles.  This can cause applications that use the swc output to have lack of skins.  The EFA should be implemented with external-library-path.

    Seeing this the first time, I changed my link on "External" type and warning went off. Then in my project web, I also added the mobile SWCs and set the type to link on "merged into code" it. Flash Builder seemed happy with that approach, but when running my application I had weird errors (as mentioned above).

    It turns out that my first attempt was the right way. Set the type of link on the library to "merged into code" project and then do not add a link to your web project. Flash Builder will warn you in this topic but ignore the warning. Things seem to work pretty well most of the time now! I have a question or two to watch (ex. list component doesn't scroll) but things look pretty promising overall!

  • The video game Android via the AIR application is jerky

    Hi all

    We develop an AIR mobile applications targeted for Android 2.2 or higher. One of the requirements is to play H.264 videos on the mobile of the current folder (local file system). We conducted a show of Cork while trying to implement this feature, here are the details-

    1. we use OSMF that comes with Flex Builder 4.6

    2. using Adobe AIR 3.1 and Flex SDK 4.6

    When the video quality MPEG4 H.264 1280 * 720 30 fps with input flow 2000 is played on the mobile device (android), however, the video frame rate is jerky on the desk, he plays very well... StageVideo is something I want to try however, right now I have no access to Android 3.0 which is required for StageVideo...

    What do we lack? 3 AIR is not able to play H.264 videos on android, although the native Android video player it plays very well?

    Concerning

    Basset

    Hello

    Video encoding is very important.

    For example, to use base profile level 3.1 to H264 for mobile

    (and not high profile level 4.1 recommended for desktop).

    For more information, see the MAX of Fabio Sonnati session:

    "Encoding for performance on multiple devices.

    And if you have an Android phone/tablet, there is my AIR application

    Watch the Adobe MAX 2011 videos:

    https://market.Android.com/details?ID=air.fr.INWAY.maxVideos2011

    Search for "Sonnati" video for this session.

    (For the record, I use a video player based on OSMF 1.6)

    The pdf presentation is available on the blog of Sonmati:

    http://Sonnati.WordPress.com/

    Philippe

  • Avoide auto of interlock of AIR application

    I have a game that is based on the accelerometer and the user did not interact with the game, that the tipping of the unit. As a result the unit gets locked automatiocally and I want to avoide that.

    Is there a way by which I can avoide lock in AIR application?

    Thank you!

    Yes, to prevent locking to prevent sleep.  This means that your app will drain more battery life however, so add events to watch the life of the battery.

    That's what I have in one of my apps that seems to work well

    qnx.system.QNXSystem.system.inactivePowerMode = QNXSystemPowerMode.THROTTLED;

    qnx.system.QNXSystem.system.powerMode = QNXSystemPowerMode.NORMAL;

    flash.desktop.NativeApplication.nativeApplication.systemIdleMode = "keepAwake";

Maybe you are looking for