i'm finding some solution to develop the Packaged App (or extension) for Chrome OS(chromium os).the extension will be access serial port to send AT command for SMS or Call function.
first, i find the NPAPI,But it not support in Chrome OS (right?) . So, maybe the PPAPI and Native Client ? if it's the key, i will look deep in them.
please give me some advice . thanks ~
NPAPI is supported by Chrome OS, but there is no way to install it, you can create Chrome extensions that uses NPAPI plugin for windows, linux, mac, but not for Chrome Os. NPAPI plugins must be preinstalled by vendor as I know, so you can't use it. If you want to use native code you need to look to Native client, but as NaCl is sandbox for native code I am not sure you will be able to access low-level hardware within it.
PPAPI only, NPAPI us NOT supported: https://sites.google.com/a/chromium.org/dev/developers/design-documents/aura-desktop-window-manager
Related
I have a npapi plugin that run an exe on the client machine, now npapi is deprecated on chrome, so I'm trying to port my plugin to PPAPI.
Can I run an EXE from the PPAPI plugin?
Note: I only need this to run in windows.
No. See this post here: https://groups.google.com/forum/#!topic/native-client-discuss/1quAy0Y_xa4
This type of behavior is one of the major reasons npapi was deprecated, this capability is a huge security issue. If you don't need the exe to run silently, there are some methods there, however.
I'm working on a Quick Meeting type app. Where I want to check whether my app is installed on the system or not.
My Application installer copies the plugin to "Internet Plugins" folder on Mac OSX and ".mozila/plugins" on Linux.
I'm using this web plugin(NPAPI) to detect whether a application is installed on the system or not.
As we know, web plugins can access using navigator.plugins.
If plugin is found in plugins array then we were deciding to launch the application using custom url handler implemented by installed app, otherwise download the installer and ask user to install the app first.
This works fine with Firefox and Safari but not with Google Chrome. Also Chromium doesn't support NPAPI plugins and Google Chrome is dropping support for it.
I thought of using Pepper Plugin, but it doesn't have any api to check installed apps nor to access local files say in users home dir.
Any idea how to do it. Any pointer on this would be helpful.
Since you are registering a custom protocol already, this boils down to detecting the presence of a protocol handler.
So today, Google announced a desktop app launcher for its Google Drive service: http://googledrive.blogspot.ca/2014/11/launch-desktop-applications-from-google.html.
Any ideas on how they implemented this? I'd like to do the same for a personal project. I know there's a way in node-webkit to do something like this, but if this ever becomes a native capability within Chrome browser...
To quote the announcement:
To get started, install the latest version of the Drive app for Mac or PC (version 1.18) ...
They are using a native app (not a Chrome app) to provide the functionality. As such, they can do whatever they want.
You can replicate this with a Native Host + extension approach.
My application requires Chrome users to have a specific extension installed
https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkminpbeebjdmdojbhmagnncl
Using JQuery/JavaScript, how can I determine if this extension is installed? I've seen some mentions of using chrome.management.get but I haven't found any working examples.
The reason I need the extension is ClickOnce applications won't launch in chrome unless this is installed.
I have a HTML5 app, that I need to redistribute as a desktop application. One solution could be Chrome packaged apps, but it seems you can only install those packages using the Chrome webstore.
Is there an easy way to distribute Chrome apps using a stand-alone installer, and without requiring the end-user to have Chrome installed?
You can install them using the .crx file given to you while packaging, but that still requires chrome. Actually, you pretty much have to somehow have chrome on the target, as the standalone apps use it's framework. Hope it helps.
The CefView example from the Chromium Embedded Framework project could server for this.