Hello basically I have a web app built using html5/php, etc. Its a music player, similar to spotify and pandora. I want to distribute the web app for as a desktop application so people can run it straight from their desktop without opening a browser. I would not like a browser like system, just have the web view loaded (similar to just loading a webview in iOS) (no tabs no url bar, etc)
I heard of Prism but that is discontinued and I can't find a download link anywhere. Is there anything you suggest?
For Mac Os X, i found FluidApp, which seems to work great as it builds a stand alone app.
For iOS I can simply load the web app via a webview and it works great, just what i needed. For android i basically load a webview as well.
Windows just got me stump into loading the webapp via a standalone desktop app. So if anyone could help me out, it will be greatly appreciated!
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 Sub
End Class
Edit the settings and press F5 to run. Voila, you should see you WebApp in a Desktop Application.