Hi, I'd like to use some parts of the code in my work in college. I do not understand exactly license information. After posting the license information in my work I will be able to legally use this code / modified code? I need written permission from the author? Thanks a lot :)
Hey there - I checked with our legal department on the license, and here's the deal. It is OK for you to use the source, or bits of the source, as part of a project so long as you follow and include the license in your work. That includes the license file, and deploying only to Windows-based machines (Windows Phone, Windows 8/8.1, etc). You're not allowed to deploy this code in any form to other operating systems at this time (Android, Linux, Unix, Mac OS, etc). Make sense?
Thank you for your quick and accurate response. I have a question. The example does not work weather forecast. I tried to change the code wszytsko, the changes in the iso-8859-2, disable location, weatherUrl changes, changes in F to C, and many things in the entire procedure void loadWeather. When you turn on the applications forecast shows nothing.
API have a new upgrade version 2, could you upgrade your project ? :)
Hello ! First of all, thanks for the amazing sample, it has been very useful for me. I encounter a problem when I try to run the app in the emulator. When I use the WVGA 512MB emulator, the app runs just fine. But when I try to launch it with WXGA or 720p for example, I get a System.Unauthor
izedAccessExcep tion exception. It seems that it has something to do with the States of the app when it tries to use the RaiseProtertyCh ange function. Does anyone succeed in lauching this app in WXGA resolution for example ? Thanks a lot and have a good day :)
In start kit say : one or more project in the solution were not loaded correctly. please see the output window for details And details : C:\Users\Petr\D
esktop\school\C #\MySchoolApp.c sproj : error : Unable to read the project file 'MySchoolApp.cs proj'. C:\Users\Petr\D esktop\school\C #\MySchoolApp.c sproj(199,3): The imported project "C:\Program Files\MSBuild\M icrosoft\Silver light for Phone\v4.0\Micr osoft.Silverlig ht.WindowsPhone 71.Overrides.ta rgets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. help please
Based on the error, it sounds like you don't have the Windows Phone SDK installed. You'll need to get that from http://dev.wind
owsphone.com and click on the "Get SDK" link.
I want to change one of the panorama panels to show our school district Twitter feed. IS this easy to do? Can you give me any pointers? I'm trying to use your template to build a Phone8 and phone7 app for the School District of Hillsborough County in Tampa, FL I'm finding the template very useful, but I just can't get this twitter feed to work correctly. Thanks for the starting point.
Google weather service has been discontinued. The weather page does not work anymore. Any plans to update the app to support a different service?
I have made an update to both this package and the GitHub repository hosting the source code. You'll need to get an API key from http://www.worl
dweatheronline. com/register.as px, but the Starter Kit should now work.
Thanks for the prompt response and update.
when i open this template, in the errors list i get: Error 1 The type 'localization:L
ocalization' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. C:\TOOLS\Win Phone Dev\Starter Kit for Schools\Phone App for Schools\C#\App. xaml 13 10 MySchoolApp And the designer will not load. I've redownloaded and unzipped to a new location, but still run into this error???
I've seen this behavior when the app is sometimes first loaded into Visual Studio. Couple things to check: (1) did you unblock the ZIP file before extracting it? Assembly loading can get twisted up if the ZIP is not unblocked. Just RC on teh ZIp file and choose "Properties" then press the "Unblock" button before unzipping. (2) did you try to recomplie? Not sure why, but this distribution sometimes wants you to recompile before it will load properly. I think it's because I'm shipping with the obj and bin directories, and I should probably stop shipping with those... If you tried both of these and its still not working, let me know and I'll see what else I can figure out.
It pains me that I need to ask this, since it will tell you all you need to know about my developer skills, but where are font colors set in this kit? Beyond that, this is an awesome resource. I wanted to switch to a plain white background and use dark font colors, but now I have white on white, which isn't so good for readability. I have a couple of other questions, but I will post separately to make questions and answers clear.
Sorry it took so long for me to get to these - did you get your questions answered already, or are you still working on this? Feel free to mail me directly at chris.koenig@mi
crosoft.com. For some reason I'm not getting the notifications from this site anymore...
I found where to set system resources in Expression Blend that applied the contrast foreground brush to the panorama title and the pane titles (such as "what's new", "contacts", etc.), but I cant' figure out how to also set that contrast font brush to the text in the section. For example, in the emulator, the what's new section pulls the rss feed, but that font is white on a white background. Any explanation directing me to the most direct solution would be greatly appreciated.
Thanks for the template, lots to learn from it. A quick question, I added an RSS feed link which displays the RSS feed in the Whats new Pannorama. When I click a feed it defaults to an error feedproxy.googl
e.com\~r\...... What is happening here?
Can you provide the RSS feed you're using? I can try to troubleshoot for you...
First off, thanks for this template, it will save me quite a bit of time. I am setting this up to support a local magic club. I have an RSS feed from our JOOMLA website that looks like this: http://www.ibmr
ing41.com/index .php?format=fee d&type=rss This format fires an exception when I replace the original code: <newsUrl>http:/ /blogs.msdn.com /b/mainfeed.asp x?Type=BlogsOnl y</newsUrl> It appears to not like this part of the URL - ?format=feed&ty pe=rss I have very little experience working with feeds. Can you point me in the right direction on what I need to change to get that feed to work? Thanks -David
hey drswoboda, i had the same problem. I solved it by creating a subdomain with a link to the feed. :)
Hi Quarcs, Interesting. Can you be more specific on this. Are you saying I just need to create a sub-domain and just point it to my Joomla URL? Thanks, -David
Try this URL instead: http://www.ibmr
ing41.com/index .php?format=fee d&type=rss Note the "&" replaced with the HTML Encoding version of "&". I just tried it against the raw Starter Kit code and it worked like a champ :-) Cheers! Chris
Hi Chris, thanks for the reply. I tried your suggestion, but it failed for me with this: In MainViewModel.c
s at var result = HttpWebRequest. Create(url); with this error: UriFormatExcept ion was unhandled. Now I should note that I updated the original project in VS2010 to WIndowsPhone OS 7.1. This gave me a WARNING in MainPage.xaml.c s at wbt.URL = App.ViewModel.S electedLink.Url ; Saying this was depreciated "Please use Uri property". I had not addressed that warning as your original RSS link still worked. The new link for my website throws that error. Thanks, -David
Hi Chris, I'm going to make several posts, since the formatting of the comments make long messages hard to read. I see you updated the project files to fix a bug. Do you have a change list so we can roll the changes into our current projects? I also see you upgraded the project to OS 7.1 and now get the same warning I got. Warning 1 'Microsoft.Phon
e.Tasks.WebBrow serTask.URL' is obsolete: 'Please use Uri property'. Should we be concerned about this?
I solved my unHandled exception error. I got burned by cut and paste. Appears that I had a non-printing character in my new Url. After re-typing it the error was fixed. However, I still have an issue with my feeds on the "What's New" page. I now get my feed Headers loading. But, the links are broken. The long Joomla link is getting clipped. All the links end up at the browser as: "www.ibmring41.
com/index.php?o ption=com_conte nt". Tracing thru debug the proper link makes it into wbt.URL in MainPage.xaml.c s. But gets trucated at "wbt.Show();" Here is a screen of the error http://www.digi talrenaissance. biz/uploads/pub lic/capture_120 32011_164004.jp g This area of wbt.URL is also were the warning talks about using URI over URL. I'm a raw beginner in this area.
I finally made some progress on this issue. I had to update our Joomla site to use SEF/SEO urls. It should have been easy to do, but the GoDaddy hosting had some issues. I still have not looked into the Uri vs Url issue. - David