How to communicate between web browser plugin and a desktop app? - dart

Do you know how I can allow communication between web browser plugin (chromium and firefox) and a desktop app (windows, macos, linux) ?
If it's possible, how could you imagine authorization? I would not want that any other software be able to communicate with the desktop app.
Both should be offline mode capable. So I can't imagine a third webservice.
I'm using Dart language for the desktop app and also maybe for the plugin.
Thanks. Have a good day!

Related

Can browser plugins be made to run in Electron as-is?

For my Electron app I would like to access Wacom tablet with all the special data it can offer. Without doing anything I can still use wacom tablet as a standard mouse-like input, but I want device specific data like tip pressure, etc.
I notice that Wacom provides browser plugins on Windows and OSX which allow a web page to access Wacom tablet functionality through Javascript. Chrome is on the supported list of browsers. So I'm wondering if it's possible to get that plugin to work with Electron. Any thoughts?

Are Service Workers available on Firefox for iOS?

I'm trying to create a HTML5 app for mobiles and I need offline capabilities.
My idea was to use Firefox for it is available on lot of phones.
But, since Firefox for iOS is relatively recent, I wonder if it supports Service Workers.
I'm serving UpUp from a http://surge.sh subdomain and it's not working in Firefox iOS 2.1 (4).

iOS: access company internal webapp from native Safari

We have an existing internal web app called http://sexywebapp
The goal is to enable seamless remote access on employee devices to SexyWebApp.
Currently we target native Safari on iOS 8.1+/Android 4.4+.
While we've been able to use Citrix Receiver to get folks using SexyWebApp via Chrome/IE on top of XenApps, it's really clunky. Forcing desktop browsers onto iPhones just isn't going to fly.
Ideally there's a way we could go into iPhone's native Safari and navigate to http://sexywebapp just like we can when physically in the office.
It seems like if we set up a standard VPN this might be possible - any thoughts?
Thanks!
Yes it's certainly possible. If you're looking for a Citrix way of doing this then look at XenMobile and the Worx suite of apps. Citrix WorxWeb is a native browser for your iOS and Android devices. However it uses a micro-VPN to connect into your data-center, allowing you to access internal company web sites.

How to run JQuery mobile application on Android Emulator?

Am a new comer in JQuery mobile.I developed a simple application in JQuery Mobile using Netbeans and run successfully on desktop browser.But I want to check its fit for mob screen.So I want to run that app on Android Emulator.I just run Android emulator but I dont know how to call my project from where and how?please help me...Thanks in advance.
You will need to launch your web browser under your emulator and then connect to your server. If you are running your jquery mobile web site on a local development machine, you can likely connect to it via IP address and port
Example:
http://192.168.33.10:65637
Krishna to be able to execute jQuery mobile as a android/iPhone app you need a wrraper framework like phonegap/cordoba (cordoba is its new name.
This is an excellent tutorial for windows platform. In case of iMac you will find more help (tutorial) on phonegap developer pages.
Basically phonegap acts as wrapper between HTML/JS and rest of mobile platform. Because of that you must create separate version for android and separate version for iPhone. It will also give you access to phone hardware like camera, compass etc.
If you need more help give me a comment and I will try to help you as best as I can.
First of all host your created website into IIS or IIS7, for that copy paste your website folder into wwwroot folder in inetpub folder in c drive. this folders will be available after installing iis or iis7, after doing this go to your desktop browser(ie, opera, google chrome, etc).
then type this, "localhost/yourWebsitefolderName/" then press enter, if your website is opened in your local browser then you can try below thing to oopen it in your emulator.
Start your android emulator, in emulator open the mobile browser, then type
"10.0.2.2/yourWebsitefolderName/"

Is PhoneGap only for NativeApplications or for remote web app HTML pages too?

I am new to PhoneGap I want to know whether PhoneGap is only for Native Applications or for remote web app HTML pages too. Please any one answer me.
Thank you Lakshmi
Phonegap! enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as Objective-C/core-java. The resulting applications are hybrid, meaning that they are neither truly native (all layout rendering is done via the webview instead of the platform's native UI framework) nor purely web based (they are not just web apps but packed for appstore distribution, and have access to part of the device application programming interface). You can try Sencha, Ext-JS HTML5! frameworks to create remote web app HTML pages.
Phonegap! enables a web developer access to mobile devices's phonebook, Geolocation, compass, accelerometer,etc.(A browser is not exposed to these APIs')
Appcelerator Titanium! is another platform for developing mobile, tablet and desktop applications using web technologies.
PhoneGap can be used on webapps too, if loaded through PhoneGap. It won't work in mobile safari directly, you must also open the site via PhoneGap (the app on iDevices)
The power of Phonegap is that you can build apps with web technologies and then package them to install as native apps from the app stores. To the user there is no differentiation between a pure native app and a phonegap app. The average user just sees an "app" that they are used to. If you're going to build a vanilla mobile website, you won't have access to the native libraries which is what Phonegap is intended to leverage.

Resources