Talk:Dynamic Lock Screen for Windows Phone 8
Hamishwillee - Very nice
Excellent article - much improved.
I have subedited and further improved the introduction and some of the structure. Alsof fixed minor stuff - Internet, not internet, and Windows Phone, not Windows phone.
Several further changes you should make:
- "Concept becomes Reality" is a silly title - what does it mean to a reader? In addition what you're saying here is that you can't dynamically overlay text over an image on the phone but you can do so on the service from which you are downloading the image. Why???? You have the image on the phone, you can manipulate it. Is there some more concrete reason?
- The video text up top is misleading because it says the image changes every 30 seconds. While that is true, a real phone will not behave that way, and this implies it would. Perhaps add (note that update time is device specific - 30 seconds is forced for demonstration purposes) or similar.
04:34, 20 December 2012 (EET)
Hamishwillee - Why duplicate material
The Flicker Dynamic Lock screen application for Windows Phone 8 contains everything you have here - why the duplication?
Suggest that perhaps you merely provide an overview and link to the other article - so simply say that using images from Flickr RSS uses much the same approach as the section "from the Internet" - first you must download the images into local storage and then you can display them on the lockscreen using a periodic update. The article XXXX shows how to access the feed, download the images, and then do the periodic update ....
You could still keep your demo images though in this article.
Normally also a video is better than an image, but not IMO in this case since the quality isn't great. I suggest you move the videos into a section at the end and pick 3 of your better images from the sections and move them to the end of the introduction.
04:43, 20 December 2012 (EET)
Croozeus - Any follow-ups Chintan?
I've removed all the addressed comments, as well as related discussions which were clarified by you.
Could you please also address Hamish's above two comments when you have some time? We can close this then.
12:12, 18 February 2013 (EET)
ReignOfComputer - Unable to update Wallpaper using random PHP image output
I'm trying to make an app that changes the wallpaper based on images available on my web server. What I have set up now is a folder on the web server with a .php file that, when visited, outputs a random image file from the folder.
However, when I point the example app (Dynamic Lock Screen - Image located over internet) to my php file, it updates with one image and stops, as in, it doesn't appear to download any new image.
I have tried to disable caching by adding timestamps behind the URL via code (....php?nocache=" & DateTime.Now), and adding nocache headers to my PHP but nothing seems to be working. Is there something I'm doing wrong?Thanks.
19:15, 29 March 2013 (EET)
Chintandave er - @ReignOfComputer
Well I think you need to give url of image file rather than php page which pick image randomly.
I would suggest you to create php page which generate XML with list of the images (i.e. RSS) , and then download that xml in WP using code I showed above in article. and then download images from that XML which have list of jpg images.
Chintandave er 21:36, 30 March 2013 (EET)
ReignOfComputer - @Chintandave er
Thanks for the reply.
Is it somehow possible to create an XML of 200+ image links and have the code randomly pick one? It's going to be difficult to run a PHP page that keeps generating a new XML in a folder that big. Also sounds more convenient. Please advise.Thanks!
18:22, 31 March 2013 (EEST)
Chintandave er - @ReignOfComputer
I think it is very easy to create xml which have link of 200+ images in PHP. I have done such task in XML. Creating XML document runtime wont be difficult for PHP even if XML is too large. But Yeh, parsing xml and downloading 200+ images in Windows phone using code I have written above may take time if internet is slow. But I think we have implemented "Loading Process" functionality which solve the slow progress issue.
Check out this PHP tutorial which will help you to generate XML dynamically if you dont know alrearyhttp://stackoverflow.com/questions/486757/how-to-generate-xml-file-dynamically-using-php
Chintandave er 09:23, 2 April 2013 (EEST)
Molbal - Memory usage
But the memory limit of background agents for WP8 devices is 9MB (according to JGB Service here http://social.msdn.microsoft.com/Forums/wpapps/en-US/194a2bfa-796e-4d25-b8ff-ce7054496b97/outofmemory-issue-in-back-ground-agent ) - Can a 768x1280 image fit in there?Thanks
talk) 18:06, 30 August 2013 (EEST)(
Raviraj87 - Nice Article
This is really a great article on Windows Phone app and it gives lots of insight. Thanks I just wanted to ask on "Setting up a lock screen background image" topic, that what I have to do is I wanted to write a code for accessing images from my SD Card on WP8. I have see several blogs (also on MSDN) about reading SD card but when I try to read ".jpg" or ".png" files, I get no files. I am not sure how to proceed further.Any suggestions?
talk) 17:27, 1 September 2013 (EEST)(
Hamishwillee - I have a suggestion Raviraj87, Molbal
I suggest you post on the windows phone discussion boards, linking to this article. Chintan may or may not be able to help you, but the larger number of people on the discussion boards should be able to.
talk) 04:53, 3 September 2013 (EEST)(
SB Dev -Simply put you can only read files from the SD card if the according file type is associated with you App. File Type Associations don't work for some file types reserved by the OS and those include the image file formats ".jpg" and ".png". Therefore you currently unfortunately can't read images stored on the SD card.
talk) 17:29, 3 September 2013 (EEST)(
Funksmaname - Possible bug
Surely, in the sections ScheduledAgent.cs and Change lock screen periodically with RSS Images
should be (without the negate ! operator)if (LockScreenManager.IsProvidedByCurrentApplication)
talk) 14:38, 14 May 2014 (EEST)(
Chintandave er - @Funksmaname
Thanks for suggestion Funksmaname.
I also think its bug or may be typo in this article, so I have removed !
Chintandave er 14:43, 14 May 2014 (EEST)
Materialf - Not working exampleCreating "BitmapImage" from scheduleAgent will throw a exception because it must be created in the UI thread.
talk) 10:04, 4 June 2014 (EEST)(