WebBrowser Unable to show content in windows phone 7 Emulator ? - windows-phone-7

I am using WebBrowser control in a page. While running the app in the emulator, the control is showing a progress bar which always end showing empty page. Is there a problem with proxy setting or do I need to set something else?

Please ensure that your system has proper graphics card. Check this link http://msdn.microsoft.com/en-us/library/ff626524%28v=vs.92%29.aspx

Related

Are there any changes in the WebView related APIs in UWP or UAP Windows app?

I am having a Windows 8.1 supported app, but now it is updated to the UWP/UAP (i.e. Windows 10) app.
After updating the custom URI scheme is not working, On a button click on the web page, we were using "navto://" custom URI scheme and handling were done in a js file. The button action was bind through the anchor tag.
From this approach, we navigate our web pages forward/backward or used to send a user to a particular web page.
But now this js file is being not called on the click of the same button and a System Popup appear saying "You will need a new app to open this navto link". For reference, please have a look at the attached screenshot of the error popup. If anybody is familiar with the issue, please suggest me the solution.
Actually I followed this page to migrating the app https://learn.microsoft.com/en-us/visualstudio/misc/migrate-apps-to-the-universal-windows-platform-uwp?view=vs-2015#MigrateCSharp
And also tried other options as well by googling but I haven't got any perfect solution yet.
Thanks

Window Phone in-app webBrowser with displaying j-Query+ajax website

I am new to Window Phone, and I am developing a in-app webview application. The website which i used for Window Phone is using javascript+jquery+ajax jsp.
some of the link in that webpage using Window Phone webbrowser cannot get the click event, so the page cannot negative to another page inside webbrowser component.
But while i am using the Browser on Window Phone (IE) , seems it work fine on negativing.
Can anyone help me on this issue?
Is that i need to enable some function in in-app webbrowser component?
Thanks.
Make sure that the IsScriptEnabled property is set to true:
WebBrowser.IsScriptEnabled Property
Enables or disables scripting.
This applies to the next document that is navigated to, not the
current document. This property is false by default. Set this property
to true to enable scripting, or false to disable scripting.

Changing the Application Icon, Splash Screen etc through code in Windows Phone

Is it possible to change Application Icon, Splash screen etc through code, My requirement is i need to change these items after reaching a specific date say (jan-21-2012). Is there any provision present change these contents through code?
No, you cannot change these through code. These components of your application are specified via the manifest file. Regarding the Application Icon, you can have a 'live tile' for your application which is dynamic and can be changed. See MSDN:
How to: Create, Delete, and Update Tiles for Windows Phone
Maybe this blogpost about the dynamic splashscreen can help you?
http://windowsphonegeek.com/articles/All-about-Splash-Screens-in-WP7-ndash-Creating-animated-Splash-Screen
I don't think you can change the application icon this way. Do you have to change the icons multiple times through the year? Or is it one rebranding action? In that case i would suggest submit it with the new icons/splashscreen to the marketplace when you want it to change.
Here there are couple of articles about changing Splash screen:
Creating Animated Splash screen in Windows Phone7
Windows Phone 7 better Splash screen
You can extend techincs from articles above and implement your functionality.
Regarding to "Icon" use well known WP feature - Live Tiles (nice links in answers above).

How to maintain the Browser state in windows phone 7?

How to maintain the Browser state like zoom level and current content displaying etc in windows phone 7?
I want to display the same content and zoom level when the app is return from tomstoning.
Thanks,
Balaram.
There is no zoom level property on the WebBrowser control for you to be able to persist and then restore. You can store the URL that the user has navigated to and restore that, though.
Jeff Prosise's Real-World Tombstoning in Silverlight for Windows Phone should tell you pretty much everything you need to know about tombstoning.

Prevent screen zoom on textbox focus on Windows Mobile 7

On Windows Mobile 7, when a user clicks on a text box before entering some data - the screen usually zooms in to the box and pulls up the keyboard.
Is there a way to prevent the zoom? Or is this a setting on the phone itself?
Thanks gents - but the answer I needed was to include a viewport meta tag that defined the 'user-scalable' parameter as 'no'. Anyone grappling with mobile device cross browser compatibility issues should check this page out - a huge help to me today.
http://davidbcalhoun.com/2010/viewport-metatag
This usually happens in the web browser as the textbox could be tiny when it is clicked. I agree it can be annoying. It does not happen in native apps however.
if you click on a textbox in the app, and it is under the area where the keyboard would be.
It is normal behavior when text box is focused. Your content is moving up when on screen keyboard is appearing.
if you want your content to stay on it's place you can try to use Coding4fun controls(download with sample here: http://coding4fun.codeplex.com/SourceControl/list/changesets). Run Test Application, go to Promts -> Basic input or Advanced input.

Resources