Can you put Silverlight app into Kiosk mode? - silverlight

Is it possible to tell an out-of-browser Silverlight app to run in kiosk mode?
I can set it to full screen, but can we disable keystrokes that would allow a user with a keyboard to interact with Windows i.e. ctrl+alt+del, alt+tab, ctrl+esc etc.?
This is for an app that will run in full screen on a touchscreen tablet, most of the time there won't be a keyboard on-screen, but there is a Connect to Facebook function that will pop-up a keyboard for them to use to log-in.

You need to install your application as a trusted Silverlight application. See reference:
http://msdn.microsoft.com/en-us/library/cc189023(v=vs.95).aspx
Full-Screen Mode with Trusted Applications
The full-screen message, user-initiation requirement, keyboard restrictions, and dialog-box restrictions do not apply to trusted applications. Additionally, trusted applications do not display the user-consent dialog box when using the StaysFullScreenWhenUnfocused setting.
In trusted applications, you can enter full-screen mode in a Application.Startup or FrameworkElement.Loaded event handler. However, you must do so by setting the IsFullScreen property in a delegate passed to the Dispatcher.BeginInvoke method.
Because the ESC key has no built-in effect for trusted applications, you can use it for your own purposes. In this case, you should implement and document an alternative so that users can exit full-screen mode.

Related

Need to open alphanumeric google keyboard in Hybrid android application

I need to open alphanumeric google keyboard in Hybrid android application. That particular keyboard is generally come for password field for any android devices. I need a solution for kiosk application. Need to active this alphanumeric keyboard on my kiosk application .
Few details related query.
Using android-19 Kitkat
This the kiosk application specific devices not general android device.
Hybrid application using Apache Corodva.
Need to activate this particular keyboard for all Address fields(text-field).
😎
Do you have that keyboard installed and selected on device ? if yes,
you can open it by one of these ways programmatically:
Forcing the Soft Keyboard open
If you want to select an installed keyboard programatically and your
app has system privileges, use this solution to switch keyboards (
activation ), Take a look on : https://stackoverflow.com/a/33999658/2267723
Since your using Apache Corodva, you could ship a virtual keyboard
(as html5 ) to app. Take a look on
https://mottie.github.io/Keyboard/ to app and when user enters
input, just call back your app with href with mimetype which is
recognized by app.
Other solutions:
Create on-screen keyboard ( Im not talking about custom keyboard )
its just layout as grid of buttons represents inputs.
Attach a physical Bt/USB keyboard.
Use a QR code . that would lead user to web where user can fill that form .. That would be free machine soon 🙂

Windows Store Notification in Windows Form Application

Is it possible to send a Windows Store Notification using Windows Forms? If so, is there any available documentation for this I could read through?
If you are asking about sending a Toast notification (the rectangular popup in the corner of the screen) then this can be done from a desktop app like your WinForms app. See Quickstart: Sending a toast notification from the desktop and the Sending toast notifications from desktop apps sample
From your question, I understand that you require Message to be thrown in the style of Windows Store Apps. However this is not possible AFAIK - You can design a usercontrol to show Windows Store kinda notification from inside Win Forms application.

open one out of browser from another for silverlight

I have two fully trusted out of browser applications.
What i want is to be in one and a user clicks a button and that opens the second silverlight oob application.
Is this possible?
pinvoke and sllauncher contain the answer that you seek.

Why is Silverlight toast notification only available in OOB app?

I haven't been able to find an explanation, or think of a reason why it's not available in non-OOB apps. So why is the toast notification only available in OOB apps?
Silverlight 4 Out-Of-Browser apps can operate in full trust. This is necessary to open a window separate from the primary window. Toast notifications are separate windows.

What security issues may have when Silverlight App in full screen mode?

In http://msdn.microsoft.com/en-us/library/cc189023(v=vs.95).aspx , What security issues may have if NOT disable events below?
When a Silverlight-based application is in full-screen mode, most keyboard events are disabled. This limitation of keyboard input during full-screen mode is a security feature, and is intended to minimize the possibility of unintended information being entered by a user. In full-screen mode, the only input allowed is through the following keys:
UP ARROW
DOWN ARROW
LEFT ARROW
RIGHT ARROW
SPACEBAR
TAB
PAGE UP
PAGE DOWN
HOME
END
ENTER
One of the things you could do when running full screen is spoofing (immitating) a (windows) log-in box to gather user names and passwords.
By disabling all other keys (other than the ones listed) even when the log-in UI is spoofed the user will not be able to enter his credentials.
EDIT
BTW: you do not need to disable the listed events/keys because there are hardly any security issues involved with these keys. If there is such an issue chances are you will need to disable the mouse too because these keys are very comparable to what can be done by using the mouse.

Resources