Flash :: Air Android App Always Launches In Portrait Mode Irrespective Of The Way The Android Device Is Held?

Jan 25, 2011

i have an AIR android app which i am running on an android device ( samsung TAB ). i want the app to get laid out in landscape mode when the user starts the app holding the device in landscape ( same goes with portrait ).

but the AIR app always gets started in portrait mode irrespective of the way the device is held.

i tried the following ways use stage.deviceorientation (but when the app starts (after the applicationComplete notification ) the value is UNKNOWN) use stage resize event. (this gets triggered at start itself, a manual resize is not required - the values are based on portrait mode though - the width is 600 and height is 1024 (should have been otherway) )

i get correct values when i try changing the orientation of device, only at the startup i see problem with the required values.

View 1 Replies


Similar Posts:


Android :: Test Flash On Android Device Via USB?

Sep 2, 2011

I am currently learning Actionscript 3.0, mainly to start developing mobile games for Android.Device central is really useful to emulate the Flash content running on devices, but I thought there was a way to test directly on the device itself via USB. Am I mistaken here, because I cannot for the life of me find any information on doing this.how to get the USB connection up, but the actual testing/debugging itself seems to be done exclusively in Flash Builder.

I am using Flash CS5, and I want to test my AS3 projects directly on my Nexus S via USB.The only guides I can find detail the publishing of Flash projects to Android, which is a fairly lengthy process. Surely there has to be a quicker way to preview content directly on your phone without having to go through the entire process of creating an APK for it?

View 1 Replies

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

Android :: Desktop AIR App Be Run On An Android Device?

Feb 10, 2011

I have an Adobe AIR desktop application, built in Flex Builder 3, that I want to run on an android device, specifically a Samsung Galaxy Tablet. I have put the application on an emulator, going through the steps of installing AIR on the emulator, packaging the application as an APK, and installing the application on the emulator. However, when I click the application, it does not run. Here is my question: is this even possible? Can a desktop application be run on a mobile device with no changes to the code, or does it need to be converted to a mobile application before compiling?

View 1 Replies

Android :: Unable To Run A Flash Video Player On Device?

Feb 26, 2011

I am trying to run a simple flash video player on android. I can only a block with a question mark. Can someone tell what is wrong with this code?

webview = (WebView) findViewById(R.id.webview);
webview.getSettings().setJavaScriptEnabled(true);
webview.setWebViewClient(new WebViewClient() {[code].........

View 2 Replies

Android :: Flash Builder 4.5.1 No Output On Device Emulator

Jul 11, 2011

I installed the new version of FB 4.5.1 on a Win 7 x64 machine and tried the HelloWorld application, but I can't see any output on the Google Droid Pro emulator.

View 2 Replies

Android :: Use Flash File(.flv Or .swf) To Make A Live Wallpaper For A Device?

May 19, 2011

I have tried searching internet for a sample which could guide me to use a flash file as a live wallpaper in my app.

May anyone explain what steps do i need to take to use it. If possible then please explain with some code snippets.

View 2 Replies

Android :: Flex - Flash Builder Installing Failed On Device?

Nov 9, 2011

I made the simple application using flash builder 4.5.1 for both iOS and android. I test the application on my iphone and ipad, it working fine. But when I try to install on my android device(Samsung GT-5570). It get the following error message.Error occurred while installing the application:1603 KB/s (6108444 bytes in 3.719s)pkg: /data/local/tmp/Runtime.apkFailure [INSTALL_FAILED_INVALID_APK]I google about the error.I found that It is cause of my device have ARMv6 architecture.Now I have 2 question.Question 1. Is there any other reason of failing installation.Question 2. If the reason is same than any other way available to make build for ARMv6 and ARMv7 architecture phone.

View 1 Replies

Android :: Set Flash Mode Camera.parameters 1.5?

Oct 7, 2010

I'm trying to use the camera in an Android app using the 1.5 API. I want the camera to flash for every picture. However, when I looked at the API for camera.parameters, thesetFlashMode() method is only supported for 2.0 and higher. Yet my Cliq XT, which runs 1.5, has a flash that I can set in the menu - I take this to mean there is a way to do this for the 1.5 API, though I was unable to find it.

View 2 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

Professional :: Cannot AIR App Publish Into Android Device

Jun 30, 2011

I have a Nexus S and trying to test my AIR for Android app in it. When I put to publish, it keeps showing me "publishing" but never ends. What that could be?

View 1 Replies

Android :: Capture Video And Stream It To Flash Server On Realtime In Android?

Mar 14, 2012

I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do?

View 2 Replies

Professional :: Recognize The NOOK As An Android Device That It Can Debug On?

Oct 28, 2011

I am developing an app in Flash Pro CS5.5 to be deployed on the NOOKcolor. I have everything set up for the computer to recognize the NOOK through the USB (was able to reboot the device by using the command prompt window). I can move files onto the device via USB but I want to be able to debug from Flash. I am successfully able to do this with a Droid 2 phone. Is there something on the NOOK that has to be set up for Flash to recognize the NOOK as an android device that it can debug on?

View 3 Replies

Android :: Program Run On A Virtual Device Consume A Web Service?

Dec 6, 2011

I made a program in Eclipse that is supposed to run on an Android device. I got excited when it worked on the virtual device, but when I deployed it, it doesn't properly consume the web service that lets you authenticate. I'm using Flex to create the program, and the service is written in C# and hosted on IIS 7.0. Also, we've had trouble here with Androids and DNS, so I've changed all of the references that I could find to the domain name of the server to the IP address of the server.

View 2 Replies

Android :: StageWebView Not Working On Samsung Nexus Device

Feb 9, 2012

I have following code And it is working fine in AIR device simulator on my desktop. But when I install it on device(samsung nexus with Android 2.3) it is loading nothing.

Code:
import flash.media.StageWebView;
import flash.events.LocationChangeEvent;
import flash.geom.Rectangle;
var wv:StageWebView = new StageWebView();
wv.viewPort = new Rectangle(0,0.stage.width,stage.height);
wv.stage = stage;
wv.loadURL("[URL]");

View 1 Replies

Android :: Frame Rate Is Very Low For Android Game Developed By Flash CS5?

Dec 29, 2010

I am porting my flash games on android. I have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing that frame rate always varies. Sometimes it goes upto 45 and again in next frame it comes to 3-4 and again goes to 15-16.

I am quite confused. Please let me know if anyone is having any idea about this.

View 1 Replies

Android :: Flash Inside Android WebView - How To Set Fullscreen Automatically

Apr 14, 2011

I am loading flash SWFs into an android WebView.I want the SWF to be instantly fullscreen and focused.The class name that handles flash is com.adobe.flashplayer.FlashPaintSurface .

Watching the log, when I fullscreen the flash manually, it calls com.adobe.flashplayer.FlashPaintSurface.toggleFullScreen()The first part of my question is, How can i call that method manually for my flash swf? Note that with a webview with a flash embedded, the only way i seem to be able to fullscreen it properly (to have flash's surfaceview fullscreen instead of the flash being displayed over top of the webview view) is by touching the screen with two fingers until an interface pops up at the top of the screen, and doesnt happen reliably.For focus, inside my webview class I call

@Override
protected boolean drawChild (Canvas canvas, View child, long drawingTime) {
if (child.getClass().getName().equals("com.adobe.flashplayer.FlashPaintSurface")) {

[code]...

This doesnt set the focus as I thought it would. Although i assume, if fullscreened properly, the flashpaintsurface should give itself focus. But if if the first part is not doable, i would wonder at least to not have to give focus to the SWF by clicking on it on startup.

View 1 Replies

Android :: Adobe Flash Application Is Not Working On Android Tablet

Dec 2, 2011

I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.

One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.

View 1 Replies

Flash :: Android - Playing SWF Files Locally From Android Webview

Feb 21, 2012

What is the right way to view .Swf files that plays .Flv videos in Android? The code that I am using right now to enable Flash support in web view is

[Code]....

For the HTML file, I'm using swfObject. The problem is that I can open up the SWF file just fine from third party apps like SWF Player from the market. In addition, I can load up the HTML page from the browser by calling it directly through file:///. However, when I load it up using my webview, I'm stuck with a blank screen.

View 1 Replies

Media Server :: Accessing The Installed In Their Comp With Their Android Device?

Mar 17, 2011

Have anyone tried accessing the FMS installed in their comp with their Android device?If both my PC and Android devices are connected to the same wifi,the coding below should do the work right?or am I missing something?I ran it on the pc and it works normally,but when i port it to the Android device,it won't connect to the FMS on my PC.
 
nc = new NetConnection();
nc.connect("rtmp://my ip address/vod");
nc.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);
private function onNetStatus(event:NetStatusEvent):void{

[Code]...

View 4 Replies

Media Server :: Watch A Live Stream To An Android Device?

Feb 28, 2012

How can I allow Android users to watch a live stream? I've tried using the code snippet below but the video never plays on the devices. The video player comes up, they click play, an ajax spinning/loading wheel comes up but it never plays. I've tested on Android 2.3.6

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##v ersion=10,0,0,0"

[code]......

View 1 Replies

Actionscript 3 :: Reference Error When Deploying AIR Application To Android Device?

Feb 24, 2011

I am having an issue with my Adobe AIR application for android devices. When running the SWF file on the PC the application runs perfectly, I have also tested this in adobe Device Central and it works as expected. When I install this application to my android device, a HTC Desire HD, I get a screen with 5 dots, seems like a loading screen.I created the application using the following command

adt -package -target apk-debug -storetype pkcs12 -keystore game.p12 game.apk game-app.xml game.swf icon36.png icon48.png icon72.png

This is the contents of my xml file

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
<id>com.example.game</id>

[code].....

View 1 Replies

Android :: Camera Works Perfectly In Flex Emulator But Not On Device?

Dec 31, 2011

I have a project that uses video for a chat application, I can get it to work in the flex emulator but when I deploy it to the device the button that initiates the video doesn't change and video never starts. My devices all have 2 cameras except my computer but specifiying Camera.getCamera([1]) didn't change anything except mess up my emulator and cause a NullPointerException. Camera.getCamera([0]) works just the same as not having the ID. I have tried messing with different values quality and nothing makes a difference

private function publishVideo():void{
_publishingVideo = true;
_ns = new NetStream(_nc);

[code]......

View 1 Replies

Android :: Install Adobe Flash On The Android Emulator?

Sep 14, 2010

I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?

View 5 Replies

Android :: Choosing Flash / OpenGL / Other Animation For An Android App?

Jun 1, 2011

I need to add some animation to the UI of my application. Something similar to the Talking Tom application that is all the rage these days. I am a complete noob to animation, so had the following questions to zero in on a particular platform before I began with any development.

Out of Flash/Rendered Images/OpenGL which one would be the fastest to implement (assuming that I have a graphics designer to do the drawing)? If I was to go with flash, would I still be able to interact with the application or will it be more of a one-way play-and-stop kind of animation? I have looked over a lot of questions on SO about this issue and have not been able to make up my mind.

View 2 Replies

Android :: Android, Hook Mount As Flash Drive?

Nov 12, 2011

There are way for:On USB connect to PC (or other flash drive reader) - hook process and allow access only specified files and folder on android (custom store)?

View 1 Replies

Android :: Flash CS5 Android And Blackberry Development?

Feb 2, 2011

If I build a Android and Blackberry app with Flash/AIR, do i get access to the file system and database for both platforms?

My app will need to save downloaded images.

View 1 Replies

Android :: Use Adove Flash On Android To Play Flash Video?

Apr 21, 2011

Is it possible to use Adove Flash, if it is installed, to play a flash video on Android?

View 1 Replies

Access Front Camera In Android Devices Using Flex-android?

May 17, 2011

There are samples to show how to access front camera of android devices using android sdk.

View 1 Replies

Android :: Performance - Taking Too Much Time To Finish The Activity In Android?

Jul 20, 2011

I have loading the webview in my Activity. the Web content is having some flash content. when i try to finish the Activity. Its taking too much time. the screen goes to blank screen for little time and resuming to the app.

View 1 Replies







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