Is it possible to update the WP7 lock screen in code? I want to write an application that allows me to download new background images. I would like to be able to update the lock screen (background
) image directly from this application.
It is not possible to change anything on the lock screen from a 3rd party application currently.
Related
We are developing a React.js PWA.Is it possible to programmatically close application after gets update to apply them?And how?Is there another solution for it??
You can not close the application, you are not allowed to close the tab opened by the user. Only tabs that have been opened with a code can be closed with a code.
This is your problem with killing Application in RAM(app cleaner).
This will clear the cache of the previous version of the application and replace it with the new main.chunk.js.
I have a solution that you can update the program without closing it, for doing this you can use the "clear-cache" React library.
close application after gets update to apply them
This in case of a web application would be killing the caches and refreshing the browser tab.
You can kill caches by applying something like versoning/time stamps/unique id etc to the resource URLs, so that on refresh browser detects them as a new resource that needs to be downloaded.
You can force refresh the app using location.reload();
Can anyone suggest me how to use progress bar to show progress?
In my app, when a user launches the app for the first time it downloads 12 MB of data via multiple web service, and the download can take 3 to 4 minutes. Right now I am using WL busy indicator but to have good user experience, I think a progress bar is the best solution.
So can you tell me how to proceed?
Is it possible with WL? Do I need to use Dojo?
Worklight does not provide a progress bar UI widget - nor should it; Worklight is not that kind of a framework.
Since you added the dojo tag to your question, you can try implementing Dojo's dijit/ProgressBar. You will need to control when to show and hide it.
I have a C# WPF based app deployed via ClickOnce and I have the Updates setting to "After the application starts" set. This works as stated that when an update is available on first open after update released it will check after the app starts and then on the next open it will apply the update.
What I would like to know is how can I programmatically know that this will occur and that on the next launch an update will be applied? I want to show an indicator in the application to let the user know that there is an update waiting to be applied and that they need to restart. Similar to what chrome does in with the up arrow showing on the wrench icon.
Gesh, 5 minutes after posting the question I eventually stumbled on this MSDN article:
http://msdn.microsoft.com/en-us/library/ms404263.aspx
It shows how to do this and other things within your app related to ClickOnce.
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 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.