I would like to write an enterpise app that displays some slides on the PC (think powerpoint deck)
important is the requirement that the user cannot take a screenshot of the picture, to see the image they must enter a password, I do not want them to be able to keep the picture
is this possible in Silverlight? what about Flash?
thanks!
You mean, how do you disable someone from using [Ctrl - Print Screen] on a PC or [Command-Shift-3] on a Mac?
Ummm... I think the best you could do is create and out of browser app that is fullscreen AND only when it becomes the active window, it will show the images you want to protect. That way you can disable the keys for screen capture and prevent any other programs from capturing a window shot of your what is in your app.
Still, there is nothing preventing a fiddler user from capturing an image downloaded to your app from a webservice or something. All the images would have to be encrypted then decrypted by your app.
Looks like watermarking your images is your best bet.
Related
I'm just trying out a simple app in the CocoonJS launcher which contains some links that open some external page.
This works fine, but the problem is that I can't identify a way to go back a page (i.e. history back). The launcher app just displays the page in fullscreen, no user controls visible at all. This is troublesome, because when my users tap on an ad, I want them to be able to go back to the game.
Am I missing something or is this simply not supported?
I do not know of any way to display a navigation bar or something similar.
Nevertheless, you can open your external urls via Cocoon.App.openURL(url); which will enable the user to open it via a normal browser where you can navigate back.
Regards.
I agree with the solution proposed by Scdev. Also, interstitials or fullscreen ads usually have a dismiss button themselves. I might be misunderstanding something.
Regards,
Iker.
I'm rather noob for WP7 developing, and I've got some questions for my new app:
Is it possible to send some information from time to time to my server while the app is hidden (running at background) ? If it is possible, won't it be rejected by Microsoft (my app will say to user about this, of course) ? I want to watch user's location and send it to server, to be honest:)
Is it possible to draw overlays for MapViews? I know, that for iOS apps it is possible
Is it a bad practice for Silverlight apps to put my own images under all buttons and controls on page, and to redefine controls' style? I don't want to support native themes
Thanks!
1.Yes. Background Agent can run every 30 minutes and send location to a server
2.Yes. Microsoft.Maps.MapControl has all you need. For example draw lines with MapPolyline class:
MapPolyline polyline = new MapPolyline();
polyline.Locations = new LocationCollection();
map.Children.Add(polyline);
3.You can do anything. Buttons can be Metro style with images also. But try to keep applications look in consistency with a system
I'd like to use the Notification API to create toast notifications for a Silverlight app designed to run both in and out of the browser, but the NotificationWindow class is only available OOB.
Does there exist anything that can replicate the behaviour inside the app? My idea is to have a container in the bottom right of the screen overlaying all other content. Then, create a wrapper which detects OOB-mode, passing params to the Notification API if possible, or populating and showing my own container if not. Is there anything that does this available?
It seems strange that MS chose not to implement something like this, as has been pointed out before.
Displaying a notification in browser is simple. You just need to use a popup and make it appear in the right place. See the following post as an example.
Now the difference with that approach is that the notification will show inside the browser. In OOB it shows outside the window and it's visible even if the windows is minimized. Due to security reasons it's not possible to directly do this.
Out of interest, Chrome Applications like Tweetdeck and Gmail, are able to display notifications outside of the browser. I think this might be a possiblity, but not exactly a Silverlight and cross browser solution.
I have a WPF intranet app running in Trusted mode (local only).
I would like the users to be able to upload an image and attach it to an article on my newsletters section. I am having trouble deciding where these images will be stored.
Please provide me with your opinions.
At present I have a few ideas myself;
I could have an aspx page that runs parallel to this app, and run this inside a browser(I-frame). This page could then handle the upload and display of the image.
I could also, have the users copy directly to a network share.
It seems that there should be a more elegant sollution that I am not aware of.
Any ideas?
Don't force the solution towards ASPX just because you know how to do it there. It's unnatural to build a page, host browser to show that page etc, just so you could upload an image.
It's actually quite simpler to do it in a desktop client than on web page. You have a "Load File Dialog" - use that to get to the filepath the user wants to upload, and when you have that you can either:
copy it (inside your application) to your share,
or if you have a service - send it through some method call,
or you can even store it inside a database (recommended if the files are small)
There's really lots of options here... it depends if your client has connection to db, do you have service in between, etc...
I have an existing Silverlight 3 app that I want to add Live Mesh support to. This may sound like a simple question but I can't figure out how to get started! I've read a bit on dev.live.com but haven't found a good example. Here's what I want to accomplish:
User visits my SL3 site.
User enters their Live ID and password to login to live (not sure how to do this either).
User sees a list of their files from Live Mesh.
User chooses a file, maybe a text file, and views it in my SL3 app.
Is this possible? I've read about Silverlight enabled Mesh Apps, but it looks like those only run inside the "Live Desktop" part of Mesh. This would be nice as a small addon to my current app but I don't want to push the entire app into the mesh to accomplish this.
This is not possible atm:
http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/bdeb4de4-3ccd-4510-a227-ae228bf6225f