Adobe Flex and Air Connecting to a network - apache-flex

What Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
Thanks!

maybe you could get help from this guy

You may use Media Server. With Flash Media Server you can do it but it is not free. Free version of FMS is Red5. This guy make project like you want and check it http://nocreativity.com/blog/hello-preso

Related

What is the best way to convert Flex App for windows mobile?

Ok, so I have a Flex application developed using Apache FB 4.14 SDK. I got it working and approved on App Store and Play Store. Now my client is looking to port the app on Windows Phone. I tried some googling but all I found is about Astoria project, which is recently dropped by Microsoft. So My question from you folks is what is the best way to port the Flex code for Windows phone with minimal efforts?
Sadly, there is currently no easy path from Flex to Windows Phone.
The road map also states no current plans to add support: http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html
You will have to port your game to a different engine. How much work that is, and which engine you should use, depends a lot on the nature of your app.
It also depends on if you want to make a Windows code base just for that platform, or if you want to port to something to have one code base for all mobile platforms

How to synchronize Nokia smartphone with a PC?

I want to develop an application using Qt and deploy it on both Symbian S60 smartphone and PC. I want the instances to synchronize their data when devices connected. I don't care about connection type (USB, Bluetooth, etc.). Does Ovi Suite provide a service for the task? Or could I use some Qt API for that? I know that Ovi can synchronize files between devices, so I could use a file system as a transport, but I'm looking for a more elegant way of doing sync.
Thanks!
You can build your own PC application using Nokia PC Connectivity API. It should be able to access files on the S60 device.
Here is a simple guide for your aim:
http://www.dndc.it/CalSync.pdf
Hope it helps !
Checco (Francesco) Dotti

how to attach scanner in flex application?

I want to attach scanner to a flex application and read the image using scanner.Does anyone know how to attach scanner to a flex application?.
if you're building an AIR application with a native installer, you can incorporate a serial proxy (here's a list) and use the new File and NativeProcess APIs to (probably) communicate with a scanner.
Mike Chambers details how to accomplish serial communication with an Arduino on his blog.
This is impossible. Flash Player only permits access to camera and microphone.
See: Your privacy and Adobe Flash Player

scanning a system for shared folders in lan

I am developing an application in flex 3 using action script 3.........
I have some range of ip address in LAN(wired or wireless both).....i want to check which all the systems available...and also want to see their shared folders.....can anyone give some code or reference in action script....
Thanks to everyone...
Actually, I don't think it's possible at all with Flex due to sandbox violation of the Flash Player and/or not supporting it.
I don't know if Air supports network access in this way. Check this out for more information on Adobe Air.
MysticEarth is right, Flex cannot access the operating system directly because of security issues that might arise.
However, you can solve it in two ways:
Adobe AIR 2.0 Command-Line Integration:
Server-side script
Adobe AIR 2.0 can now run native processes! So you could have it access your operating system, check the systems available, shared folders, etc. Here's an example on how to execute native processes with AIR 2.0
The current standard is to just use Flex and HTTP to a server side script. To do something like what you're describing, I would create a ruby/php/python script or whatever, send a restful GET HTTP request to that script (say GET /shared_folders), and have that search the OS for what it needs, and return it as XML. Then you can use Flex. If you don't want to do that, AIR 2.0 is the only option.

Desktop sharing application in Flex?

I want to make an application in Flex for desktop sharing. How should I proceed?
You won't be able to access desktop via Flex, you'll have to use some server app on the user machine to simulate mouse/keyboard events.
For example, you can use any VNC server (http://www.realvnc.com/products/free/4.1/index.html) with the Flex VNC client (http://www.wizhelp.com/flashlight-vnc/).
Want to compete with Fog Creek CoPilot? ;-)
Well, I doubt that Flex running as SWF in a browser is able to do this due to sandbox limitations. Maybe, if you run Flex as AIR application, but I still doubt that AIR provides that level of access to the OS.
For Java there may be libraries that can do something like this using native interfaces.
Don't know how Copilot is doing this. I guess either using an Active X control or an native application that has to be installed.
After all I really doubt that you will be able to do this with Flex.

Resources