[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Standalone flex application question

Posted on 2009-04-20
Medium Priority
Last Modified: 2012-05-06
Hi I wish to use flex to create an application to disblay information in bar charts, graphs etc.  My program will not be on the a web page but it will be a stand alone application running on a PC.

I need my program to listen on a network for data that is being sent to it for it to display.  
Is this possible using flex?
 If not then is it possible to somehow embed my application in a C# windows application that could do the network comms for me?

Question by:Wanting2LearnMan
  • 3
  • 3
LVL 12

Expert Comment

ID: 24182861
Yes it is possible.

You will need to create an AIR application in Adobe Flex 3. AIR is an desktop runtime so an AIR Application will be a desktop application. And you have the same network and communication libraries available as with a Flex application. In fact you have more features available in Flex for a desktop application than for a web application.

For specifics on network data access, see this: http://livedocs.adobe.com/flex/3/html/data_access_1.html

Author Comment

ID: 24182943
Thanks for this reply.  
What I am trying to do is have data being sent from multiple PDA's to my standalone flex program.

So the flex app will simply
1. Listen on a socket;
2. Accept data and store in a database.
3. GUI will update and display new information that has just beed received.

I will read through the link you listed.  So what you are saying is that flex can do everything without the need for any C# or anything?

LVL 12

Expert Comment

ID: 24183007
Here's what Flex can do:

1. It can listen and broadcast to a socket/port

2. It can store it in an internal SQLite database or in MySQL databqase using the ASSQL driver (however for other databases you'll need a C# application acting as an interface)

3. It can update and render information onto the screen
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 12

Accepted Solution

lexxwern earned 2000 total points
ID: 24183019

Author Comment

ID: 24183050
Excellent. Thank you for all your help.  

Author Closing Comment

ID: 31572151
Excellent answer.  Exactly what I wanted to hear.

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Loops Section Overview
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question