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


Similar Posts:


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

Deploying Flash Application To Facebook?

Jul 24, 2009

I've come up with a flash game and wish to deploy it on facebook. Problem is, I am not sure where to start!

I've done some research and found out something about needing an external server to host my flash application but I'm still pretty much lost.

So can anyone tell me what are the basic steps to deploying my flash application to facebook?

View 1 Replies

Android :: Error Occured While Installing AIR Application Using Flex Builder

Nov 8, 2010

when tried to build a AIR application for android using flex builder I did the following steps to do that .plz tell me where the error happened

1.Created Air application using flex builder that produced two type of files .swf and .xml files and cetification file

2.Created apk file from the above files using "Package assisstant pro"

3.then i installed AIR 2.5 run time in my emulator

4.after that i tried to install the apk file that Created from the 'package assisstant pro' then i tried to install the apk file by using command prompt then it show this error "INSTATTION FAILED INVALLID APK" .And also i cann't install other apk file (Sample air for android application apk file that downloaded from the site) that shows the same error,I succeed to install other application's(Say for printing hello world) apk file.[code]

View 1 Replies

Flex :: Deploying Application To Tomcat Without Eclipse Plugin

Jan 19, 2010

I am using flex sdk to develope my application, now I want to deploy it into tomcat server with blazeDS how to do it with out the eclipse plugin?

View 1 Replies

Java :: Accesing A File When Deploying In Tomcat A Flex Application?

May 22, 2011

I have two applications: a client in flex and a server in Java. When I deploying the application inside flex builder with the tomcat server inside as well, everything works fine. But now I'm trying to deploy in apache tomcat outside the flex/eclipse builder and I have a problem.I think the problem is with relative/absolute paths but I do not know how to resolve it.In my Java application I have to access a database and a get a file from it. I use a properties to set a path where I want to download that files like this:pacs.ruta=C:\resources\And then I need to access to that file so in use this code:fin = new FileInputStream(pacsRuta+""+f.getName());where f.getName() gives me the name of the file so I get the path of the file with the path I set in pacs.ruta and the files name.

I do not know why it does not work. I tried to put pacs.ruta=/resources/to associate with a folder in my application but It does not work.Could someone give me an advice? Do you think it is the problem? Because the whole application works fine deploying in a tomcat server outside the flex/eclipse builder but when this code is called the application does not work.

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

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

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

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

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

Android :: How To Make Application Of Flex For Android

May 17, 2011

Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.

How i can achieve this? I want to make dashboard for Android.

View 2 Replies

Java :: Controlling A USB Device From A Web Application?

Aug 17, 2010

I would like to be able to control a USB device from a web application. I was hoping to use Adobe Flex but I don't think that Flex can support access to USB devices.Is this possible using Java applets, or a similar approach using .NET?

View 3 Replies

Android :: Flash - Back Button Unloads Application After Changes CurrentState Of Application AIR?

Sep 20, 2011

I am creating an application. At one view I have three states. If I changes state and than back button pressed it unloads the application.I am developing it in Adobe AIR.

View 1 Replies

Android :: Load Flex Application In Mobile Application?

Mar 7, 2012

I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.

[Code]...

View 1 Replies

Android :: Error #2044: Unhandled IOErrorEvent:. Text=Error #2032: Stream Error

Nov 21, 2011

I have a Android Actionscript project that I am trying to incorporate sound in, but having a problem that I cannot figure out. I have the sound file in the same directory as my class file and my .xfl file. I am trying to start the music file as soon as the application starts via class reference, but am getting the same error everytime:

Error #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error.
at playAudio()[C:pathtoerrorplayAudio.as:9]
at networkScores/frame1()[networkScores::frame1:7]

Here is my class file:

package
{
import flash.media.Sound;
import flash.net.URLRequest;

[code]....

Here is my call from the timeline:

import playAudio;
var playMusic:playAudio = new playAudio(1);

I had to put a link to the mp3 file in my server, instead of putting it in my directory.

View 1 Replies

Flex :: Air LocalHost Error (The Device Is Not Ready)?

May 27, 2011

I am trying to compile an air app, and I keep getting this error: D:Tomcatwebappspublic-htmladmMain.swf (The device is not ready) It seems that someone who worked before me, had worked from a local server. I searched Flex for all known variations, I couldn't find where it is looking for this. I googled as well, which didn't get me anywhere. Does anyone know how to remove this compiling error?

View 2 Replies

ActionScript 3.0 :: Compiler Is Throwing That 1000: Ambiguous Reference Error For Any Reference ?

Sep 3, 2007

I'm having this frustrating error showing up and I have no idea why. Let me show you my classes and see if you can spot anything wrong.
First, here's my ILode interface:

ActionScript Code:
package com.schelterstudios.lodeSystem.flash.lodescode].....

So the problem I'm having is the compiler is throwing that 1000: Ambiguous reference error for any reference to instance.priority or instance.label. Why??? Instance is typed to IFlexLodeInstance, and IFlexLodeInstance lists method signatures of priority and label getters, and it inherits ILode, which lists method signatures for priority and label setters. What can I do to get the compiler to stop complaining?

View 9 Replies

AS3 :: Android - MovieClip Keeps Giving Me A NULL Object Reference

Dec 3, 2011

I have a Android Air application, where I import a png image to the stage on frame two and converted it to a symbol as a movieclip. I am performing a hovering animation using this image as a movieclip and it works great but when I go from frame 2, where the animation is, and I move to frame 3, 4, 5, or 6, and then I move back to frame 2, my application throws a errors when referencing the movieclip again. The error is 1009 cannot access null object reference. So to me it seems that once the timeline moves away from frame 2 it wipes away the reference to the imported image converted to a movieclip....is this correct? Is there a way I can keep the timeline referencing the this image as a movieclip so I can always come back to this frame?

View 1 Replies

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







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