for a security critial app I need to prevent the phone making screenshots of the embedded browser control.
On Windows Phone, if you hold the back button pressed, the opened applications are shown with small preview images.
Is there any way to replace that image being used there by an own image. Or is it possible to exclude controls using a xaml syntax from beeing captured?
Thanks Holger
Windows Phone 8 GDR 3 introduced a hidden property on the page object that you can use to prevent screenshots from being taken of that page. Here is more detail
Related
Basically i have an application that needs to be able to navigate to a webpage on the app whilst in the browser in silverlight how can i go about doing this?
It does not let me use the web browser tool and i cannot find any other way. I dont think i will be able to use an iframe either as i need to be able to draw a canvas over the webpage that can then be drawn upon using a paint tool and i dont think using an iframe will allow this.
So how do i go about getting an external website to load inside of my web silverlight application?
You're right, there is a WebBrowser control but it is only available when running in out of browser mode.
I'm afraid at the moment, the only way is by using an Iframe (spent many hours searching).
I managed to get it working OK by using this tutorial: Showing HTML content inside silverlight app
However for your requirements (drawing on top of the webpage) this will not work, as it does not allow the Silverlight app to integrate with the html content.
The only option that i can think of is setting your app be be out of browser, then using the WebBrowser control
But this will not be appropriate as i've just noticed that your app needs to be accessible through a browser!
I'm creating a windows app for windows 8.1 tablet. And I was wondering if it was possible to create a button within the app that will enable me to turn on and off the external display connected to the tablet. Similar to a computer when a projector is connected, a user must press a key in order to show or turn off the display on the projector.
Instead of swiping on the right edge and choosing devices and selecting the multiple display. I want to be able to do this within the app with a press of a single button to enable and disable the multiple display function. Is this possible to do?
Here's an sample from Windows 8.1 SDK that might guide you through the implementation:
http://code.msdn.microsoft.com/windowsapps/Multiple-Views-Sample-2582fcf3
I'm learning windows phone app development. I took yahoo mail site as sample and using it in the web browser control. I want to understand what settings I need to unable in web browser control to look the web page in web browser control as same as how that shows in Internet explorer on Windows phone. Here the screen shots what I see now
In the windows phone browser it looks like below -
Thing I'm missing here in my app is, I cannot see the 'Search mail' text in the search text box in my app.
The most IMPORTANT thing is that when I click the mail item in the app nothing happens. But in Internet explorer it actually opens the mail body.
Please guide me.
That probably caused by some functionality of the web page implemented using javascript. Therefore, try to set IsScriptEnabled property to true :
<WebBrowser IsScriptEnabled="True" .../>
That will enable javascript in the webbrowser control which is disabled by default.
I am using xulrunner 17.0.1 to convert a web base HTML 5 application to a standalone desktop application. The target platforms are Window XP + and Mac 10.6 +.
While I am able to package and run my HTML 5 application with XULRunner on window without any trouble, I am facing a weird issue on the Mac. Everything seems to be working fine except for I have to double click (instead of single click) on a link of my HTML 5 application to make it works.
To ensure that problem is not in the HTML 5 application I opened mozilla/other websites in the browser component and found that problem is with any content.
Is there any preference setting that I need to change?
Thanks
-pk
I figured out the cause of the problem. I was running my application from Terminal and somehow the focus was always going back to the terminal window, therefore the link were working on double click only. On first click my application window was getting the focus and on second click the link was registering the click event. Similarly the text box were also not taking inputs from keyboard.
I packaged my application as an app using the guidelines provided at "https://developer.mozilla.org/en-US/docs/XULRunner/Deploying_XULRunner_1.8" and that solved all the problems. Everything started working as per expectation.
I'm developing an android application based on HTML.
I made several tabs and put a WebView into each tabs to display the page.
Currently I want to use just single WebView instance for all tabs to support login/out feature.
I mean I need consistency of user's status during transition of each webpages in tabs.
Is it available to share an WebView in different tabs?
Thank you.
Hmm.. why not just implement tabs within the WebView?