Flash :: Communicating Between Adobe Air Or Browser And Java Web Start

Nov 11, 2009

We're designing an application and the client has requested that a portion of their app stay in Java Web Start and another portion be in a browser. I'm thinking about AIR as an alternative to the browser because that may give us more features b/c we don't have to stay in the browser security sandbox.How would I go about having an Air app talk to a Java Web Start app? Do they have to talk through a server? I guess potentially you can just create a socket connection between the two.

View 1 Replies


Similar Posts:


Java :: How To Fire Intent To Start FLV Or SWF To Flash Player 10.1

Dec 21, 2010

I have a bunch of flv video files stored on a media server, and I am trying to get them to launch in the flash player. I have downloaded the flv file into temporary storage, and try passing it using an intent. This is what my code looks like (from what I have seen on the net):

try {
URL urlLink = new URL("[URL]");
// Serve the file
InputStream in = urlLink.openStream();
FileOutputStream fos = new FileOutputStream("/sdcard/tempFlash.flv");
byte[] buf = new byte[4 * 1024]; // 4K buffer
[Code] .....

View 1 Replies

Java :: Finding An Equivalent Of Adobe Flash CS?

Apr 26, 2011

Are there any UI interfaces for Java that are similar to Adobe's Flash CS series?

View 2 Replies

ActionScript 3.0 :: Start And Stop Adobe Flash?

Jul 9, 2010

I use Adobe Flash cs5 Professional.I want to know how I can start and stop an animation.I want to do this with actionsscript 3

View 5 Replies

Android :: Flash - How To Create Options Menu In Adobe AIR (not Java)

Oct 29, 2010

I would like to create an Options Menu in my Flash AIR application for Android. I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:

stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode == Keyboard.MENU) {
event.preventDefault();
trace("Menu Pressed");
}}

But how do you create the actual menu? If you can't do it with AIR, then has anybody tried to recreate/mimic it manually already and could you please share the properties (colors, transparency, any gradients?) and transitions (sliding in/out) you've used? I've found some guidelines already, but any Flash-specific tips/properties (like which easing to use for sliding transitions?).

View 2 Replies

Java :: Embed Adobe Flash Player Into Desktop Application

Aug 9, 2011

How can I embed a adobe flash player inside a java based desktop application? Can I be able to load and run an on-line flash game in it?

View 1 Replies

Create Plugin For Browser Like Flash Or Java?

Mar 22, 2010

I want to create a plugin like Flash. What programming language do I need??

View 1 Replies

Java :: Voice Recording Applet / Flash In Web Browser

Mar 21, 2011

I'm going to do a voice recording plugin/addon on a website that will record audio and send it to the server for further processing. I have had two suggestions; either write a java applet or use flash. The service is supposed to work for all major browsers(IE, Firefox, chrome,..). I'm new to this area of development and is looking for tips on how to proceed with this. What is the pro's and con's for each solution?

For java applet, what Java speech API library do you recommend? I want a simple, small library, I only need voice input. Also, I am puzzled by Flash development, I can't find any good information about development, the adobe website dosn't make much sense. What is the programming language for flash, and how do you actually run it in html code? I have found ActionScript 3, is that used to create Flash plugins and can it perform voice recording?

View 2 Replies

Java :: Do Websockets Allow For P2p (browser To Browser) Communication

Nov 7, 2010

To clarify when I ask about browser to browser communication I mean without a server in between forwarding message. I would like to implement something like this for a game. If p2p in websockets isn't possible are there similar alternatives?

View 1 Replies

Flash :: Javascript - How Does A Browser Interact With A Player Or A Java Applet

Nov 9, 2010

I've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.

These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets

(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?

View 2 Replies

Flex :: Adobe Flash IOS Packager Throws Java.lang.OutOfMemoryError When Packaging Large Projects?

Jul 20, 2011

I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4GB. No single piece of code seems to be causing the problem, as it compiles successfully if I cut out large chunks of code, and I can change which chunks I'm omitting. It might be related to the size of the code itself.I've logged a very detailed bug report with adobe here: ou can package to reproduce the issue, a ruby script that generates actionscript codeto generate that AIRI file, and a summary of all of the things I tried before logging the bug.

View 2 Replies

Flash :: Adobe Builder Refactor->rename Function - Variables - Class Names And Other Objects Like Java?

Sep 7, 2011

FDT can do it, but half the time it times out and needs to be restarted on renaming some objects. Can Flash Builder do this?

View 1 Replies

Iphone :: Ios - Communicating To MySql Via PHP, On The IPhone Developed With Adobe Air?

Jan 18, 2012

I want to create an iPhone game with Adobe AIR, and I want that game to be able to store the players details in a MySql server.

What would be the best way to do that? Is it possible to use a standard URLRequest in AS3, and have the iPhone use that to communicate to the PHP on the server, and receive back data?

View 1 Replies

Flash :: Launch An Adobe Air Application From Browser?

Feb 10, 2012

Is there a way to launch an Adobe Air Application from the browser? I am developing an application that uses webcam, and when the user enter on my site, I need to start this adobe air application installed on the user computer.

View 3 Replies

Media Server :: Java To Start FMS Record?

Dec 28, 2011

I,m a newbie and one of my requirements is to Start the Record of the Stream as soon as the Game Starts. The Game gets the ID from JAVA and our client wants the stream record from JAVA.

View 1 Replies

Flex :: Keyboard Code Mapping In Adobe Flash For The Browser?

Jun 18, 2009

difference between key code and character code. For example, the number 1 (one) and the character ! (bang) both have the same key code but different character codes. Likewise, the number 7 from the row of numbers and the number 7 from the numpad have different key codes but the same character codes.

I'm programming a music rhythm game in Adobe Flex and would like to bind keyboard keys. This isn't a problem, but I certainly would have a problem, say, setting the default keys to A, S, D, and F and telling the user that this is the case.If you take a look at the documentation for flash.ui.Keyboard, you'll see that there are constants for keyboard keys to key codes. However, these are only available in Adobe AIR and not the browser. This makes sense since not all operating systems and keyboards are alike (or present!), so key codes can vary.

So, how can I assign default keys that have meaning instead of picking key codes and praying?My only sane thought is to store the character codes for the key bindings and then provide an character code to String mapping so I can tell the user what to press. However, my gut tells me that this will break in subtle or not-so-subtle ways. Like CAPSLOCK.

View 2 Replies

Java :: How To Start Using Flex In Eclipse (Open Source Way)

Jan 13, 2011

I would like to know how to build a flex based flash file and handle it through java but the open-source way. I would like to learn using flex to develop webpages. Is there any way to implement it using eclipse IDE.

View 3 Replies

Java :: Adobe / AIR / Flex Or Google SDK?

Feb 2, 2012

I am a senior IT student working on a mobile application for Android. I have 2.5 months design to complete implementation.App basics:

-Seismographer app
-Record data from accelerator
-Visualize data in a live fashion on a graph
-Connect several phones together via bluetooth/wifi to sync up the data
-Geo-aware application - optional

I have limited java knowledge and mainly specialize in system admin and web development. Given my constraints, is it better for me to use Adobe AIR/Flex/ActionScript to develop this? Or Google SDK/Java would take just as long?I feel like on one hand Adobe is faster, but Java is more straightforward?

View 5 Replies

Java :: Bluetooth SPP From Adobe Flex Framework?

Sep 10, 2009

I am successfully running Bluetooth-SPP applications relying on http://bluecove.org/ that is Java to Java.
I do now want to establish Bluetooth-connectivity in an Adobe Flex-application. Anyone has experience, ideas?

View 2 Replies

Flex :: Call Java Class From Adobe Air?

Aug 8, 2011

I need to call a java class from my adobe air application . Is it possible.

View 1 Replies

Java :: Install Air Application In Android Without Adobe Air

Feb 7, 2012

I developed a Adobe Air Application and I discovered that the Mobile I am trying to install the application is not compatible with the Adobe Air's supported devices because this wasn't launched yet.

I have some ideas:

Is possible to change the Mobile Name to fake another device and Adobe Air not refuse the installation? Is possible to convert AIR to Java? s possible to run Air without Java? Abandon Flash and do it in Java or Javascript.

View 1 Replies

Start Adobe Flex App On OS X With Just AIR Runtime And Swf?

Jan 23, 2011

I know it is possible to run an Adobe Flex compiled .swf from the command-line using the adl command-line tool.

Is there an equivalent way to run a Flex .swf from the command-line using the system installed AIR runtime?

My question applies to OS X, but I'd interested to know about other platforms also.

View 2 Replies

Java :: Adobe Flex Mobile Background Process

Apr 6, 2011

What is the best solution for multi threading in flex, I notice if I play a mp3 in flex and do something else at the same time something ends up giving out, either the song stops playing or the UI hangs for about a split second. It doesn't have that fluid response that I am looking to achieve. If possible I would like to call a multi threaded java class to do some of the client-side end back end processing. I just don't know if that is possible.

View 6 Replies

Java :: Best Server Side Technology With Adobe Flex As UI

Oct 1, 2011

I am new to web technologies. I along with my friends want to develop a web application. There is one guy in our team who knows Flex technology. I would like to use Java Springs framework at the back end. The web application caters to students a Music school. And for the same reason we chose Flex for UI since the application needs to be flashy and rich in graphics.

The application allows students to create profiles and interact with the teacher. Eventually we want to add Online Music classes feature with online payment gateway integrated. Kindly guide me which are the suitable technologies to use at the back end. Also let me know if SpringFlex with BlazeDS integration is a good combination with Adobe Flex.

View 2 Replies

Flex :: Start Develop An Adobe Air App For Android?

Jul 17, 2011

I'm trying to start develop an Adobe Air app for Android.

I have Adobe Flash Builder 4.5 standard and when I choose new project I see two options:

Flex mobile project ActionScript mobile project

What are the differents between these two options?

View 1 Replies

Java :: Using JavaFX And/or Adobe Flex For Building Desktop Applications?

Sep 29, 2009

Most of the desktop application development I do is in Swing, and I'm curious to hear people's thoughts on using JavaFX and/or Adobe Flex for building desktop applications. Have you had success building desktop apps with these? Or would you stick with Swing for now and use tools to help make Swing development more productive?

View 6 Replies

Flex :: Running A Java Program With A .dll From Adobe AIR's Native Process

Jun 18, 2010

I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to operate the scanner. The Java application runs fine by itself, and the AIR application can start and communicate with the Java application. The problem seems to be that any time I attempt to use a function from JTwain (which relies on the JTwain.dll), the application dies IF AIR STARTED IT.[code]

View 2 Replies

Java :: Load A .properties File From A Client Using Adobe Flex?

Feb 28, 2011

Is it possible to load a .properties file from a client computer using adobe flex? I have a flex app that needs to access a server and multiple URLs but the URLs may change frequently. So I think modifying and loading the URLs from a .properties file would be the easiest way update the URLs

I was able to use florians suggestion and I've added the code below if anyone else is interested. I used the example here URLLoader.

public function URLLoaderDataFormatExample(event:Event):void
{
var request:URLRequest = new URLRequest("file:///c:/temp/prop.properties");
var variables:URLLoader = new URLLoader();

[Code]...

View 3 Replies

Java :: Adobe Flex Plugin In Eclipse Helios / Indigo?

Sep 20, 2011

Windows 7 64 bitBoth JDK installed for 64 and 32 bit Eclipse Helios 32 bitFlex builder 4.5 32 bit I have installed Flex Builder and run exe from utility folder to add eclipse plugin .I have added memory setting sin eclipse.inibut eclipse crashes when i swicth to flex perspective .

# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8832ca, pid=5688, tid=5152

[code].....

View 1 Replies

Java :: Call Method Into An Adobe Flex Mobile Application

Nov 22, 2011

I would like to learn Adobe Flex mobile development.I have created a new project called SampleProject, then I got SampleProject.mxml in default package and SampleProjectHomeView.mxml.[code]How can I call the add and sub methods from the class above in SampleProjectHomeView.mxml?

View 1 Replies







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