New Browser window in Windows Phone with Phonegap/Jquery Mobile - windows-phone-7

How to open new Browser window in Windows Phone with Phonegap and Jquery Mobile?
I tried everything i could think of:
link name
With javscript window.open
etc
I can't get it to open in a new window. The problem is when it opens now it its inside the "webview" and when pressing the back button the application closes, it should go back to the prev page. Or it should open in a new window/outside the app (aka internet explorer).
There 2 possible solutions:
A way to open it outside the application
Open it inside but should be able to get back to the prev bage with the back button

Related

open a new url on button click windows 10

I am trying to open a link on a button click in windows 10 Universal app. I used web view but it does not seem to work. how to open a url (eg. facebook.com or google.com) on a button click. I am using XAML and C#
Did you try this in Button Click event handler?
await Windows.System.Launcher.LaunchUriAsync(new Uri("uri address"));

How to go back to the Windows Phone app page after hiding the windows phone browser user control?

I have developed a windows phone user control which has only Browser control in it's grid.
I am navigating to this Browser control from my main page of app upon clicking a button. This browser control load Facebook authentication page.After posting the message to facebook , I want to go back to my main app .
For this I tried to hide the Browser control and i have set visibility to collapsed,and it shows a blank screen.
Any help on how can I go back to the main app which has called this browser control and maintain the same state as before ?
The following code works...
(Application.Current.RootVisual as PhoneApplicationFrame).GoBack()

How to shut a Win app from another app without reboot?

Hi I want to make a small test window app that can force IE to save its data and shutdown upon a button click and restart with same tabs when another button is clicked??
I am fairly new to Win32 programming can anyone help me out here.??
Any leads will be appriciated??
Try to find one of each browser class with EnumChildWindows then you save the text(current link) of each one, and send a WM_CLOSE message to the program, if you debug the IE you'll probably see a CALL to the function to open a new window, when you find it, you can call it again and with the new browser class you put the text you got from the one that was opened

VB Open Browser Window Forms Application

Windows forms application. How can I open browser window with specific url on click of a button?
In your Click handler use:
System.Diagnostics.Process.Start("http://www.google.com")
That will open a URL in whatever the user's default browser is.

Any way to programmatically force IE8 to open popups in a new window instead of a tab?

Is there a way to programmatically instruct IE8 to open a popup in a new window rather than a new tab? I know that IE supports modal windows but I have a bunch of legacy code with ordinary popups.
Update:
I am using Javascript's window.open() method to create popup windows. However, when a user has their IE8 settings set to "Always open popups in a new tab", the popup is launched in a new tab rather than a new window.
Using html, the best you can do is set open page target to blank. Everything else is controlled by the client side and they can choose to open it in a new window or tab.
However, you can use javascript to open the window. Create Link to open in new window here
Since no one else is chiming in... After doing further research, it seems that you cannot force a pop-up to open into a new window when an IE8 user has the following browser setting enabled: Tools>>Internet Options>>Tabs>>When a pop-up is encountered:>>Always open pop-ups in a new tab.
Since I am in an Intranet environment, I have the option of locking down a users IE settings to either "Let Internet Explorer decide how pop-ups should open" or "Always open pop-ups in a new window".
I don't really care to exercise the above option so in order to get the desired user experience, I will resort to making one of the following code changes:
Convert existing pop-ups to IE specific Modal Dialogs using the showModalDialog() method.
Convert existing pop-ups to Javascript Modal Dialogs using jqModal or some other jQuery plug-in.
If you opt to let Internet Explorer decide how to display pop-ups, it
will display the pop-up in a new window if the pop-up specifies size
or display requirements. Otherwise, the pop-up is displayed in a new
tab.
http://windows.microsoft.com/en-US/windows-vista/Tabbed-browsing-in-Internet-Explorer-8-frequently-asked-questions
So if you don't set any specific window requirements and it should open in a new tab, unless a user has changed these settings.

Resources