Simple/Best way to load Web App as Windows Desktop Application?
I myself was looking for an all around solution for awhile. I tried everything from TideSDK, AppJS, Appcelerator Titanium, native code in VB.NET, XCode, Python, C++, Electron, node-webkit, etc: Basically you name it I've tried it.
Note Electron is nice, but it only runs on 64bit processors. So node-webkit is good if you want to run your app on 32bit processors.
So I decided to build my own open source solution called WebDGap.
Currently WebDGap runs on Windows, Linux, Mac OS X, Google Chrome and as a web application!
Watch the How To Video to learn, well how to use the app obviously.
Here's a screenshot.
Mac user's can merge your exported app into 1 .app mac file. This can be done with Automator (and a little shell scripting).
There's also a coding playground I made for mobile users that has this feature built in called kodeWeave.
A simple VB.NET application should do the trick. Just create a new Windows Froms project, double click on the form, mark everything an paste this:
Public Class Form1 '############## Settings ##############' 'Change to your URL Dim url As String = "http://google.de" 'Change to the text the window title should have Dim title As String = "Your Title here" 'Change to the windows size you wish to use Dim window_size As Size = New Size(800, 600) ' ^X^, ^Y^ '########### End of Settings ##########' Dim WithEvents WebBrowser1 As New WebBrowser Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Me.Text = title Me.Size = window_size Me.Controls.Add(WebBrowser1) WebBrowser1.Dock = DockStyle.Fill WebBrowser1.Navigate(url) End Sub Private Sub WebBrowser1_Navigated(sender As Object, e As WebBrowserNavigatedEventArgs) Handles WebBrowser1.Navigated Dim elements As HtmlElementCollection elements = WebBrowser1.Document.GetElementsByTagName("img") For Each element As HtmlElement In elements element.SetAttribute("border", "0") Next End SubEnd Class
Edit the settings and press F5 to run. Voila, you should see you WebApp in a Desktop Application.
Google chrome has a 'save shortcut' in the options menu. Menu>tools>create shortcut... I think. (Posting from mobile)
When you open the shortcut, it will open it in it's own window. like an standalone app. Hope this helps.
Edit: prism was from mozilla. I'm sure there is a similar function in firefox.