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


Similar Posts:


Iphone :: Access Mobile Device Camera From A Grails Application Using Jquery Mobile

Feb 23, 2012

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices. Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.

View 1 Replies

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

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 :: 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 :: 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

Flex App Run On A Mobile Device?

Mar 20, 2012

Can a Flex application that was designed for use on a PC be run on an iPad, iPhone, or Android-based mobile device? Seems like a simple enough question.[URL]..yields a picture of a dude running a (presumably) Flex application on an Android. So at first glance, the answer would appear to be "yes." End of story.

There is so much (mis)information out there on various tech sites that suggest Flash-based technologies simply won't run on iOS or other mobile platforms. Why is this? Perhaps they mean to say that Flex won't run "out of the box" and requires a plugin? Or do they mean it won't run at all?

Every time I think I've reached a definitive conclusion, some post on SlashDot or CNET directly contradicts it. So what's the scoop? Can one take an existing Flex application and run it on iOS/Android? (I realize there are screen size issues to consider so the app might not run effectively. I just want to know if the runtimes are available on the mobile devices to allow the Flex app to launch at all.)

View 5 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 3.0 :: Saving On A Mobile Device?

Oct 16, 2011

how to save score/level/etc. information for a game on a mobile device?I'm still unsure how to read/write files in the apk (Android).Basically, I want to allow the player to save his progress at some point so that they can restore it later.

View 1 Replies

ActionScript 3.0 :: Detect Whether User Is Using A Mobile Device?

Dec 27, 2010

Just wondering if anyone knew ofhand the AS3 code to detect whether a user is using a mobile device, so they can be redirected to the HTML version of my flash website.

View 4 Replies

Flash Cs5.5 :: Saving/Loading To A Mobile Device?

Feb 6, 2012

I am pretty fresh into working with mobile at all here but i am having no luck finding solid info on the basic principles of file saving/loading locally on a mobile device (specifically android).

View 1 Replies

Flex :: Global Access For SqlDB On Mobile Device?

Jul 26, 2011

I am creating a sqlite database for my mobile app. once the user has supplied the correct password the database is opened. Various screens of the application will need to read and write data from the db. is there a way I can make the connection global when I open it, so it can be accessed from any view?

the code I am useing to open the DB is

var sqlConnection:SQLConnection = new SQLConnection();
sqlConnection.addEventListener(SQLEvent.OPEN,sqlOpenSuccess);
sqlConnection.open(DBFile, SQLMode.CREATE, false, 1024,null);

View 1 Replies

Actionscript 3 :: Air - Dispatch An Event, If The Mobile Device Is Rotated?

Feb 11, 2012

I just want an Event to happen, if the Mobile Phone is rotatated and i am searching for a solution for days now.

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

ActionScript 3 :: Flash Build Unique Device ID For Mobile Apps?

Jan 16, 2012

Is there a unique device ID that I can use in Flash Builder/AS3 to differentiate between devices in a Flex mobile project? I am trying to circumvent having to code a login/registration system.

View 1 Replies

Flex :: Detect Screen Size To Center An Image On A Mobile Device?

Nov 23, 2011

Tried stage.stageWidth and stageHeight on applicationComplete, but for some reason the actual numbers returned do not seem to be accurate - the image always appears off-centered (stageWidth/2 - imageWidth/2). How do you determine the mobile device's actual screen size, to center an object?

View 1 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 :: 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 :: 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

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

Flex :: Mobile - Prevent Keyboard Show When Click Textinput Field On Device

Mar 2, 2011

I'm trying to prevent keyboard show when I click Textinput field on my device. I use Textinput only to show some text and for click event (to push a view).

View 2 Replies

Flex :: Scrolling An Editable Spark TextArea From Hero Mobile On A Touch Device?

Mar 21, 2011

How do you scroll an editable TextArea (Flex Hero) on a touch device? I am referring to the situation where the text does not fit in the TextArea height.When I try to tap and drag the text gets selected and not scrolled... Am I missing a something here? I am using verticalScrollPolicy = on (also tried auto).I am testing the code in the Blackberry Playbook simulator (my targeted device for my app).

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







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