Windows phone silverlight rss reader

















Active Oldest Votes. For a beginner, I would advise starting with Windows Phone 8 Silverlight apps. Karthik Nishanth Karthik Nishanth 1, 1 1 gold badge 20 20 silver badges 28 28 bronze badges. I don't really understand why is everybody advising people who are just starting to use an older technology, that will likely get phased out in time, instead of learning the new APIs and the new platform that also works on both tablets and phones unlike the old one which is for phones only.


So, I respectfully disagree with this answer. And I don't Think that it is that much harder to get started with than Silverlight apps. He kinda has a point. But the same thing happened in 8. Maybe the lesson is use [version] - 1 for maps? FrankMartin Mostly correct. If you want to target more phones, you may prefer Silverlight. Based on stats from November - WP8. But versions prior to 8.


On the other hand, if you want to support tablets - go for Windows Phone. Show 2 more comments. Windows Phone is the mostly universal platform for WP8. Paul Abbott Paul Abbott 6, 3 3 gold badges 27 27 silver badges 42 42 bronze badges. So it means if I want my app to run on maximum devices, I shall develop it in Windows Phone Silverlight?


No, Silverlight is the old platform. It will never run on tablets. If you use the universal app template you can only target WinRT, which means your app will run on Windows Phone 8. There are still quite a lot of users on WP8, but not many on WP7.


If you want to target only phones target Windows Phone 8 or 8. If you choose 8. Add a comment. Sign up or log in Sign up using Google. Thanks for the response. I had been banging my head and had all but decided to switch over to a standard Windows Phone app. The content you requested has been removed.


Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Developing Universal Windows apps. This is very simple using the XML serialization and deserialization and decorating our class with the necessary XML attribute. For this, we need first to add to our project a reference to the assembly System. As you can see, it is a very simple class, has two public properties to store the RSS URL and a description and two constructors.


If you look at the properties of this class, you will see that both are decorated with the attribute System. Now, as we store more than one RSS feed in our file, we create another class, which will be serialized and also that it will have the functionality to add, delete, save and load our list of sources:. Well, this class exposes a list of type RssSource the base class you created earlier , a parameterless constructor and four methods:.


If you examine the code, you see it is really simple and allows us to store information in a very simple and fast way, of course no substitute for a database, but for small pieces of data or physical persist the state of objects of our application is very useful.


Well, we already have stored our RSS feed, but how do you get content from them? Well, very simple, using the WebClient class in Silverlight. This class allows you to download content in text format from a URI asynchronously, so the first thing to do is declare a method that responds to the WebClient class event DownloadStringCompleted :.


The last step is to display the content of news, usually the content is in HTML format with images and other tags, so it is more appropriate to use the WebBrowser control to display content in a web page, for it only needs to add the head and body to our news and use the method NavigateToString of the WebBrowser control to display our HTML:. With this simple code, any text string can be displayed in the webbrowser control as if it were a web page.



Comments

Popular posts from this blog

Sample 10 mb pdf file download

Nursing programs in new orleans louisiana