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


Similar Posts:


Flex :: Consume A REST Web Service With Flashbuilder 4?

Apr 21, 2011

I am creating a Restful WCF web service which will need to be consumed by FlashBuilder 4. Is this possible? If so, how can I go about doing that?

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

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 :: 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 3.0 :: Android, Hide Virtual Keyboard But Screen Stays Shrunk?

Dec 23, 2011

In my AIR app, when the virtual keyboard shows up the screen height shrinks. The problem I am having is after the virtual keyboard hides, the screen size stays shrunk and you can see a big black gap under the bottom of the app. The only way to adjust it is to rotate to landscape then back to portrait.
 
This seems to be a glitch with the virtual keyboard and programmers shouldn't be responsible for handling the screen size after it hides.

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 :: 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 :: Can A Flex AIR App Start-up As A Service On Boot

Feb 9, 2011

I understand you can create a service in Android and start it up on boot, which can then be used to get location updates, communicate with a server, etc.However what I wanted to find out is if this possible to do in AIR. AIR runs on Android, but can it be set a 'service' and start up on boot (sitting in the background)?

View 1 Replies

Professional :: - Sound Has No Valid Device Sound Path Although Exporting Device Sounds Was Requested In The Export Settings?

Jun 30, 2011

I have imported my wav files to my library added them to the down state of my buttons and when I test the file I get (Sound has no valid device sound path although exporting device sounds was requested in the export settings. This sound will be ignored.) I have been surching for an answer but as of yet have found none.

View 3 Replies

Flash :: Asp.net - Consume AMF Methods Without Using .NET

Dec 30, 2009

I would like to know if it is possible to consume a AMF Service using .NET. I would like to consume a AMF service written in PHP using my ASP.NET Application, that is possible?

View 1 Replies

Actionscript 3 :: Consume Nusoap Webservice From Flash?

Jul 20, 2010

i'm trying to invoke a webservice written in nuSoap from a AS3 Flash app; i've read that,starting from AS3, webservice support has been removed in Flash (really don't understand why...); i've tried thid party solutions (be.wellconsidered, carlo alducente) but they don't work with the wsdl that nusoap generates.

View 1 Replies

Php :: Flex Service - Bind A Service To A Button

Feb 2, 2011

I am experiencing a strange problem when I want to bind a service to a button or something else:

[Code]...

I can add the services to the Data Services panel but I have two strange things:

1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?

2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)

View 1 Replies

Consume Google Finance API On A Flex Project But With No Success?

Jan 13, 2011

I'm trying to consume Google Finance API on a Flex Project but with no success. I want to use the ClienLogin mode, am able to get the auth token, but then I can't seem to get information from any of the feeds!

I've tried some of the few examples I found by Googling but still can't get it to work...

View 2 Replies

Web Services :: Manually Consume WSDL In Flex Builder 3?

Oct 31, 2011

I'm trying to consume a .Net web service of mine in a Flex Builder 3 project. The function's signature in the service is:

bool MyFunction(Enums.Channels var1, Enums.Payments.PayMethods var2)

I tried importing the WSDL with the wizard but when I tried to call the web service it results in an error stating

"Cannot marshall type "http://www.w3.org/2001/XMLSchema::EnumsChannel"to simple type"

What kind of object do I need to create in Flex Builder 3 to pass into the webservice so that it will recognize it as the appropriate type? The wizard is not correctly creating the appropriate type. Here is the xsd for the enums.

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/My.Shared" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/My.Shared">
<xs:simpleType name="Enums.Channels">[code]....

I'd like to try to build my own objects to call the service myself (without the wizard).... created the mx:WebService and mx:Operation but not sure how to handle the enum parameters.

View 1 Replies

ActionScript 3.0 :: Add An Exit Button Onto Program So When Its Clicked It Exits The Program Completely

Nov 4, 2008

Im trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..

// CLICK to Exit
exit_Btn.addEventListener("mouseUp", goExit);
function goExit(evt:MouseEvent) {
fscommand("quit");
};

View 9 Replies

ActionScript 2.0 :: Start An Unrelated Program (such As Window's Media Player) From Inside Of A Flash Program?

Sep 29, 2010

Is there a way to start an unrelated program (such as Window's media player) from inside of a flash program?

View 2 Replies

Actionscript 3 :: Runtime-loaded Assets Consume Memory/resources If They're Not Being Used?

Mar 12, 2012

I'm making a game for the browser that has a lot of assets, but not all of them are needed at once. I'm deciding whether to embed my assets at compile time or load them at run time. I'm not concerned about loading time -- only the performance of the game during run-time.

If I load these assets and store them into memory for eventual use later in the game, will they consume system resources just being latent in an AssetLoader? Will that affect performance?

If I embed these assets, will they consume system resources just being latent in the compiled SWF?

Is there a difference in performance between these 2 methods?

View 2 Replies

Flash :: Make Flex Only Consume Mouse Scroll And Keyboard Events?

Feb 5, 2011

This one's been irking me for a while. When I'm using the mouse scroll wheel to scroll up and down in a webpage, and a flash movie comes into the path of the cursor, the scroll wheel stops working. Also, when a flash movie has focus, you can't use browser shortcuts like Ctrl + L or Ctrl + R.

I'm writing a flex application now and I'd like to find a solution, so that at least my users aren't plagued by this inconsistency of the user interface behavior.

I should think there would be a way to tell flash to propagate such events as the mouse scroll wheel and keyboard input back up to the browser unless they occur in an element for which they are useful, like in a flex textarea. I can't find any solutions out there though, nor even anyone talking about it.

Specifically, how can I make it so that:

When the user is scrolling with the mouse, the browser scrolls unless the mouse is over a flex container with scrollbar, or another component that wants to scroll.When the user presses a button or combination of buttons on the keyboard, it will be propagated to the browser unless there is an active keyboard listener, or the cursor is in a text field, etc.

View 3 Replies

ActionScript 2.0 :: Program A Timer For A Typing Tutorial Program?

Mar 24, 2003

I need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.

View 1 Replies







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