Linux - MobileThis forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
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.....
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.