Android :: AIR Mobile Always In Landscape?

Jan 11, 2012

I am making an app in AIR mobile that I need to be in landscape mode all the time. On most devices this is OK, but on some devices (Motorola XOOM for example) the app launches in landscape. At least on the build in emulator that comes with Flash Builder 4.5. I don't know if this is a problem with the emulator or if the XOOM has different orientations than most devices. Anyway, I want to make sure that the device is always in landscape mode. This can be checked easily:

if(stage.stageWidth<stage.stageHeight){
//rotate screen;
}

View 2 Replies


Similar Posts:


Android :: Android Tablet Browser Flash Movie To Landscape When In Fullscreen Mode?

Oct 28, 2011

I have an as3 built osmf video player swf that we embed on a standard HTML page. When you touch the image the video automatically goes fullscreen and begins playing. Droid and Flash often break after changing back and forth between landscape and portrait while in fullscreen.(by break I mean freeze, where you can hear the video and use the controls, but everything is just a still frozen image, the redrawing fails).Can you lock the fullscreen orientation in html, javascript, or do you have to try to handle it inside the swf?

View 1 Replies

Keep My Mobile AIR Application On Landscape Mode?

Feb 12, 2012

I can't seem to find any way to force it to go landscape mode all the time. When I go to MyApp-app.xml and edit the <aspectRatio></aspectRatio> tags to landscape, only the main view is landscaped. If I navigate to the second view, it turns back to portrait.

View 1 Replies

Actionscript 3 :: Air Android Change To Landscape Keyboard

Jan 16, 2011

how i can set the keyboard to landscape in as3? I'm using flash cs5 and air for android and i don't have the auto aspect ration turned on, so what i want is to set the key board to come up in landscape in code.

View 1 Replies

Android :: Android - Flex Mobile Project Option?

Mar 12, 2012

I have a problem with Flash builder, I can't find the "Flex mobile project option in the list" How can I install it?

View 1 Replies

Android :: Flex Mobile : Different Filenames For Android/iOS?

Mar 28, 2012

I'm creating an app to deploy for iOS and Android and I'd like to give them slightly different filenames (need to add a space so that name displays on two lines on Android). Is there a way for me to define this in the app.xml without having to change it each time I export?

View 1 Replies

ActionScript :: Android - What Is The Difference Between Mobile Project And Flex Mobile Project

Jun 5, 2011

I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?

View 1 Replies

AS3 :: Android - Put .swf On A Mobile Device?

Apr 7, 2011

i have asked this question before but the answer received was not applicable in my situation. I searched the net and still unable to find anything. I have a game in flash actionscript 3.0 and i would like to put it on my htc hero - android phone.

View 3 Replies

Android :: StageVideo On Mobile Devices?

May 9, 2011

I wanted to display H.264 videos with air packaging for mobile and run into a problem.is StageVideo avaiable on mobile devices running IOS or android?I use air 2.6 sdk for packaging and it seems there is no StageVideo on ipad?I can use StageWebView but because of limitation of it ( it alwaysrendered on the top) this is not an option for me.Is any schedule when would StageVideo be available for mobile? maybeair 2.7 sdk?

View 3 Replies

Android :: Flex Mobile Log Output In IOS

Oct 24, 2011

I'm trying to debug an issue on a Flex Mobile project. Specifically, in order to debug this I need to be using a release build for iOS (it is the only way the problem appears). I am having difficulty finding a way to view log messages on a release build. Has anybody been able to successfully see log messages in the Organizer console?

View 1 Replies

As3 :: Android :: Sending String Across Network On Mobile?

Jan 7, 2011

Is there anyone there who can tell me how i can send a string ("example") to an ipadress on a local network via wifi in as3 on air on adroid

View 2 Replies

Android :: Get An ActionScript Mobile Project To Close?

Oct 19, 2011

I have a project that was written using ACtionScript 3 in the Flash Builder Burrito preview IDE, with Adobe AIR 2.5 SDK. The way I was closing down the application was with....

stage.nativeWindow.close();

Now I've taken this same project and I'm using Adobe Flash Builder 4.5 for PHP with the Adobe AIR 2.6 SDK and I've turned it into an ActionScript Mobile Project and this line no longer works when running on an Android device because the nativeWindow never gets set, it's null. I've tried researching online how to replace this line of code and all I have been able to find is code for closing it down if I deploy it on iOS, which I'm not as of right now, or how to close it down if it's a projector project, or the stage.nativeWindow.close().

View 1 Replies

Android :: Compile Air Mobile Apps Natively?

Nov 3, 2011

Is there any way to compile Adobe Air apps to native Android / iOS applications? I have no idea about iOS but in Android they need a huge(9MB~) download and i think it is a very big drawback for anything that can be sold?I heard from an Adobe person at a conference that Angry Birds was made with Flash, if he wasn't lying, there must be a way.

View 1 Replies

Android :: Sign A Flex Mobile App Using Keystore?

Nov 10, 2011

I have just converted a native Android app to Flex 4.5 AIR, and I now need to sign it.

Does anyone know if it is possible to use the keystore that I used to sign the original Android app?

If so, how do I get a P12 out of it to use in Flex.

View 1 Replies

Android :: Multi Touch And Adobe AIR For Mobile?

Jan 2, 2012

I am developing a game for Android using Adobe AIR 3.0, also i am using Samsung Galaxy S2 to test my game, and is running pretty well with decent 30 fps.to control the game-play, i am using virtual joystick and some button on screen (e.g. to throw weapon, jump etc). however it seems that multitouch is not working fine, if i press one button and and in the same time if i down another button. first one stops working. here is the code snippet which defines multitouch behavior -

[code]...

for jump button, virtual joystick etc - i am using TouchEvent.TOUCH_BEGIN event.

View 2 Replies

Android :: Flex Air Mobile File Download?

Mar 14, 2012

I am building an Adobe Air Mobile application currently targeting Android (and eventually iOS). I'm using Flash Builder 4.6 (which is Flex).I have a requirement to download a zip file from a url, save it to local storage and unzip the contents.There seem to be a few example on how to do a download in Flex/Air, but not many in Flex/Air/Mobile. Additionally, the mix of examples seem to be all over the place with namespace versions, etc. Edit: What I've tried:So, from the examples on the web, the first thing I did was add namespace in Flex declarations: xmlns:net="flash.net.*" Then I added the following component: <net:URLLoader id="urlLoader" /> Then, in the button click event, I called it: urlLoader.load(new URLRequest(downloadUrl)); I get a run time error: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://...

View 1 Replies

Actionscript :: Simulate The Interface Of Mobile (ios / Android)?

Apr 2, 2012

I am trying to simulate the interface of mobile (ios / android)...Drag the menu and you will see the part of previous or next page content .Release the menu and if you have dragged over 30% of page content. It will do the transition between current page and target page.I am just wondering is there any library or Flex component have already provided the above features? I have google it but got nothing related to these features (wrong keyword?..). I can code it by hand but I would like to check whether my approach is the best way to do so...

View 2 Replies

ActionScript 2.0 :: Develop Mobile Application For Android?

Dec 13, 2011

Is it possible to develop a mobile application for Android. ?Is there a tutorial or any resource about this ?

View 0 Replies

Android :: Load Jpg File For Flex Air Mobile Projects?

Apr 8, 2012

In a typical as3 or flex project, after loading xml file, i load jpg files (thumbnails etc) manually, so i can use them in sprites / movie clips etc..currently i am working on air mobile project. and i am attempting to load some thumnails(pg) file to list view (spark) and using custom item renderer.itemrenderer has an spark image componnt in it. and its data property is set to Image object.i can check that image files do exists in file application directory.do i need to load all those thumbnails in memory. then use them?

View 1 Replies

Android :: Using Flex For Facebook Mobile API Login Method?

Apr 7, 2011

I'm trying to implement the 1.6 Mobile Facebook API [URL]into an Air for Android application. I've succesfully used the Web and Desktop API's however with the mobile app it's expecting an extra parameter to a stageReference, see:

login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null)

But, using i'm using Flex and not Flash CS5, i can't just pass in this.stage or this or anything like that.What exactly would you guys think I need to pass into that using Flash builder Flex? I can't seem to find any examples for the mobile actionscript API ?

Here's the login information from the Mobile API Docs:

login () method
public static function login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null):void
Opens a new login window so the current user can log in to Facebook.

Parameters

callback:Function — The method to call when login is successful. The handler must have the signature of callback(success:Object, fail:Object); Success will be a FacebookSession if successful, or null if not.

stageRef:Stage — A reference to the stageextendedPermissions:Array — (Optional) Array of extended permissions to ask the user for once they are logged in.webView:StageWebView (default = null) — (Optional) The instance of StageWebView to use for the login window For the most current list of extended permissions[URL].

View 1 Replies

Android :: Flex 4.5 Mobile Login Form Needs 2 Clicks?

Apr 25, 2011

I have been working on developing an application for the android market thta firstly requires the users to login to a account. I have put the code together below, along with a data link to a database in order to check the credentials. However the application does not switch to the second view on the first click of the "Login" button however it seems to take 2 or more clicks sometimes. I presume as it is fetching data from a database that it takes time to be verifies, could someeone tell me how to solve this and maybe implement a BusyIndicator along with it?

[Code]...

View 1 Replies

Android :: Flex Hero Mobile Set Background Color?

May 5, 2011

I'm currently working with Flex Hero mobile 4.5 to develop a mobile program.I have searched some forums allready but nobody can help me with this.How do you change the backgroundcolor of your mobile program.I have allready tried to use:

this.setStyle("backgroundColor","0x00FFFF");

View 3 Replies

Adobe AIR Need To Be Installed On An Android 2.2 Phone To Run A Flex Mobile App?

Jun 14, 2011

Adobe AIR is pretty heavy. So is it necessary to be installed on my phone? Are there any alternatives to it..something lightweight.

View 2 Replies

Android :: Accessing Front Camera Of Mobile Using Flash?

Jun 17, 2011

Recently I went thru the code for accessing the camera using flash ActionScript3 and I have tested the code in iMac machine, iPhone and Android.Now based on this, I am developing an application for Android which includes the accessibility of the front camera. Now my Problem is I dont know how to access the front camera? We should use some other code or should we specify which camera should be accessed? First of all, can we access the front camera thru flash?

View 1 Replies

Android :: Multi Threading In Flex Mobile Project?

Jun 20, 2011

I want to download a video on mobile device through flex framework. For that reason I need to have support of multithreading so that I can download video in background. Unfortunately, Flex doesn't have multithreading support. I am quite new with flex environment.

View 1 Replies

Flash :: Accessing The Mobile Camera Of An Android Tablet?

Jul 6, 2011

A while ago I developed a flash app that takes pictures from the users webcam, I recently bought a android tablet device (flash capable), but the flash app do not find the camera of the tablet, any way I can modify my flash app in order to "see" the tablet's camera?

View 1 Replies

Android :: Table Component In Adobe Air For Mobile Devices?

Jul 23, 2011

Is there any fast table components available for mobile devices (Anroids ,iOS) in Air?

View 1 Replies

Android :: Artwork For Crossplatform Mobile Application Made In Air

Aug 7, 2011

What is the best way to create artwork for cross platform mobile application that is made using Adobe air. This application runs on iphone,iphone4,ipad,ipod,android,blackberry,desktop.

View 1 Replies

Android :: Display AdMob Ads In FlashBuilder 4.5.1 Mobile Project?

Aug 31, 2011

I am currently developing an application in the latest version of FlashBuilder and I cant seem to find out how I can incorporate AdMob ads or any other Ads into my application.There seen to be a few tutorials online focused on Flash however im not sure how to get those to work in the Flex environment.

View 2 Replies

Android :: Flex Mobile Project On Eclipse Plugin

Sep 6, 2011

I wanted to develop a flex based mobile project. I have Eclipse plugin for Adobe Flash Builder. But I cannot see any option in the "Create Project" list for Mobile project.I have seen Mobile Project is available in Flash Builder Standalone version, but I wanted it in eclipse plugin.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved