Chromium Embedded Framework (CEF) dependencies - frameworks

Looking for a nice and efficient way to render GUI in a game engine I gave a look at the Chromium Embedded Framework (CEF). From what I've seen it is doing is job nicely but I'm wondering what are the requirement and dependencies for the CEF.
For each platform I've seen in the source code dependencies to a specific toolkit (gtk for Linux, Win32 API for Windows and so on) Would it run on platforms other than the desktop platforms ? Like Android, iOS, and consoles (Playstation, Xbox) ?

Chromium is switching to Aura UI. CEF on Windows is already using Aura, Linux will use Aura instead of GTK soon. You can read here on what is Aura. In short it's a non-native UI toolkit, the only native element is the toplevel window, everything inside is drawn by chrome.
CEF currently supports only Windows/Linux/OSX. CEF may support Android in the future but there is no schedule at this time. Try searching the CEF Forum for "android": http://www.magpcss.org/ceforum/search.php?keywords=android
For now, on Android you could use Chromview:
https://github.com/pwnall/chromeview

Related

How use native code in desktop flutter app?

I wanted to ask you about the desktop part of the technology.
If the documentation is about how ordinary developers can inject native code into a desktop application (WPF, Mac, Linux) like buinding or as a custom plugin or something similar
Best regards, Vadim
You have all the same options for platform code on desktop that you do on mobile:
Adding it directly to the native runner app that's created by flutter create
Writing a plugin
FFI

Windows Development with flutter

I am learning flutter right now and want to know which platforms support flutter applications.
I know that flutter supports iOS and Android.
I want to know if we can run flutter programs on windows.
Flutter Desktop: currently this effort is still under way
Google has an example project project.
About Flutter on Windows:
The current Windows shell is a GLFW placeholder, to allow early
experimentation. It will be replaced in the future with a Win32 or UWP
shell that allows view-level embedding of Flutter within an
application.
Expect the APIs for the final shell to be radically different from the
current implementation.
Source: Wiki

Compile with a windows plugin.dll for a linux plateform UNITY

I'm working for someone that develop a game on Windows with Unity.
What's happening if I'm building for him a windows plugin (.dll format) and then that he tries to compile the game for linux?
A .dll can't be read from unix systems, and Unity for windows can't load .so plugins, so what's the point?
You need seperate native plugins for each platform, it has always been the case, unless the plugin is Managed Code / c#, you need to provide windows,mac, linux, android, ios, xbox etc

Will Chrome Packaged Apps work on Chromium Embedded Framework (CEF)?

I am looking to use Chrome Bluetooth API's to run on Chromium Embedded Framework. Would like to know will it work? Thanks.
CEF does not support Chrome packaged apps. Chrome extensions API is not supported and without it a packaged app would be just a bundle of a javascript code running on a web page. If that's the case with your packaged app then you could make it work in CEF.

which version of mobile firefox in android, fully supports extension?

I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon to mobile firefox using addon-sdk. in this step i am getting different types of errors.
1.some addons installed with disable mode, but not working enable/disable option.
2.for some addons, i am getting "addon installed,restart required" option, but after restart, addon not visible in addon manager
please, provide atlesat one working way, to develop and install firefox addons(any simple) in fennec(any version) in andoid (any emulator/any mobile).
Thanks,
You are asking the wrong question. Any version of Firefox Mobile supports extensions, no problems here. However, its user interface is very different from the desktop Firefox which means that extensions built for the desktop Firefox usually won't work without adjustments. So the correct question would be:
Which version of the Add-on SDK supports Firefox Mobile?
You need Add-on SDK 1.5 or higher. When running cfx you will have to use --force-mobile command line flag to make sure that your extension is marked as compatible with Firefox Mobile. There will still be limitations however, most SDK modules currently don't support Firefox Mobile. Add-on SDK 1.8 lists the following modules as supporting Firefox Mobile:
page-mod
page-worker
request
self
simple-storage
timers
Wladimir is correct, and I would only add that we are working on expanding module support on native Fennec. If you want to play with some additional Fennec features in an SDK-based add-on right now, you can get access to the NativeWindow and BrowserApp objects Fennec implements by using this code in a module:
let utils = require('api-utils/window-utils');
exports = {
BrowserApp: utils.activeBrowserWindow.BrowserApp,
NativeWindow: utils.activeBrowserWindow.NativeWindow
};
The documentation for these objects is on MDN:
https://developer.mozilla.org/en/Extensions/Mobile/API/BrowserApp
https://developer.mozilla.org/en/DOM/window.NativeWindow