LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 03-29-2009, 07:56 AM   #1
_ian_
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
Embedded Linux application with Flash GUI?


I'm working on an embedded linux app. that is predominantly coded in C. I would like to have a reskinable GUI interfacing to the app. and am considering using Flash to develop it, with the current app. (multiple threads) as a C-library. At the moment I'm guessing this would involve some ActionScript invoking some Javascript, which then interfaces with my main C app. running as a library, with parameters passing backwards and forwards between the various layers as necessary. Correct?

I have only just started looking into using Flash, so my question is - Does this sound feasible, or practical? Any gotchas I should be aware of?

Any references/pointers to sample implementations/toolkits will be gratefully received.
 
Old 03-29-2009, 09:19 AM   #2
lucazorzi
Member
 
Registered: Jul 2006
Location: Italy
Distribution: Ubuntu 11.04, Debian, OS X
Posts: 70

Rep: Reputation: 16
I think that Flash might be too resource-intensive for an embedded device, and it's only avaible for i386 and amd64 (alpha state).
 
Old 04-17-2009, 06:14 PM   #3
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 492

Rep: Reputation: 50
I've heard about QTopia, a Qt extension for embedded systems, but I never use it
 
Old 04-18-2009, 09:36 AM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
I have seen people using flash for this. The advantages are that the resulting gui is multi-platform and runs in a web browser. The disadvantages are that it runs in a web browser (that is both a plus and a minus), AND it sucks a LOT of system resources.

I am doing the same thing you are doing, but I chose to write my gui in C++ using Glade and gtk. This solution is multi-platform (though it needs to be compiled for each platform) and has a much smaller footprint on both systems. I was able to implement an adequate security model this way without any particular circumlocutions, and I am not using the web, which I consider to be a good thing when controlling remote devices.

In the not-distant past, I implemented a GUI to an embedded system using C# in Windows because of a customer requirement. I found C# to be tedious to use, mostly because I consider VS to be a royal PITA to use. However, as bloated as the result was, it still consumed a lot less of the client system than a flash implementation would have consumed.

Last edited by jiml8; 04-18-2009 at 09:38 AM.
 
Old 04-20-2009, 09:20 AM   #5
_ian_
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the feedback.
Apart from Adobe flash player has anyone got experience of other flash players that are more suitable for an embedded environment? i.e. ones that are less resource intensive and interface more easily to embedded application code/libraries, etc. Any recommendations/ones to avoid?
 
Old 04-21-2009, 01:42 AM   #6
priyadarshan
Member
 
Registered: Feb 2009
Location: Ahmedabad, Gujarat, India
Posts: 197

Rep: Reputation: Disabled
Amm I am not sure but I have found people saying that Java FX is going to be dominant for GUI and animation because it supports wide range from tiny Embedded system to Graphic work stations.....
 
Old 04-21-2009, 07:09 AM   #7
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Quote:
Originally Posted by priyadarshan View Post
Amm I am not sure but I have found people saying that Java FX is going to be dominant for GUI and animation because it supports wide range from tiny Embedded system to Graphic work stations.....
I would bet against this. The reason is that java requires the overhead of a virtual machine. This takes memory and drive space, which are usually at a premium in embedded systems. A native app, written in C, will always take less space.

Java as a language/platform for a remote GUI is a different matter, though. That would work adequately - probably a lot better than flash.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded linux system on 1MB flash ravi_chobey Linux - Embedded & Single-board computer 3 02-12-2009 02:52 PM
Is there a web browser with flash support on embedded linux? andy2ray Linux - Mobile 7 12-19-2008 09:27 PM
LXer: Access adds Flash player to embedded Linux, browser LXer Syndicated Linux News 0 03-27-2007 05:31 AM
linux embedded application jfsebastian Linux - General 4 10-24-2006 12:21 PM


All times are GMT -5. The time now is 06:47 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration