by Mikael Koskinen
22. February 2012 19:42
You may encounter problems when installing Async CTP 3. Here's a possible solution for solving the installation issues.
[More]
by Mikael Koskinen
19. February 2012 12:49
Part IV of the Windows Phone 7 Sockets tutorial: "Debugging." In these posts we will go through of building a complete IRC-client for Windows Phone 7.
[More]
by Mikael Koskinen
20. January 2012 16:27
This Windows Phone 7 tutorial will shows you how to take advantage of Caliburn.Micro when displaying a list of non-identical objects to the user.
[More]
by Mikael Koskinen
19. January 2012 19:10
I’ve just committed the first working version of Marketwatcher, a library for Windows Phone 7 which can be used to fetch application reviews from the Windows Phone Marketplace. It is available from the GitHub and it’s licensed with MIT, so you can use the library anyway you want. Get the source code. Get the compiled binaries. Sample application The Marketwatcher GitHub repository contains a sample app which can used to check out how the library is used. Review data At the moment an app review is described with the following model: public string Id { get; private set; }
public string Author { get; private set; }
public DateTime UpdateTime { get; private set; }
public int Score { get; private set; }
public string Comments { get; private set; }
public string CountryCode { get; private set; }
Implementation
Marketwatcher uses the Reactive Extensions. It may be that the RX is dropped at some point in favor of a implementation that doesn’t require any other DLLs. The library also references System.ServiceModel.Syndication which is used to parse the review data. The referenced dlls are included in the repository.
Usage
Marketwatcher.Fetcher:
Use either:
public IObservable<List<Review>> FetchReviewsForApp(string appId)
or
public IObservable<List<Review>> FetchReviewsForAppFromOneMarketplace(string appId, string marketplaceCountryCode)
In the app you can subscribe to these. The following example is from the sample app:
var fetcher = new Fetcher();
progressIndicator.IsVisible = true;
var reviews = new ObservableCollection<Review>();
Items.ItemsSource = reviews;
fetcher.FetchReviewsForApp(this.Appid.Text)
.ObserveOn(SynchronizationContext.Current)
.Subscribe(x =>
{
foreach (var review in x)
{
reviews.Add(review);
}
},
ex => Debug.WriteLine("error"),
() => progressIndicator.IsVisible = false);
Nuget
The Nuget package is coming!
Download
GitHub repository.
Binaries.
by Mikael Koskinen
5. January 2012 10:19
Windows Phone 7 app Mango-upgrade lesson's learned: Remember to check the inputscopes.
[More]
by Mikael Koskinen
25. December 2011 09:06
Example code which shows how to create a Caliburn.Micro convention for Telerik's RadTransitionControl.
[More]
by Mikael Koskinen
14. December 2011 20:49
Windows Phone tutorial: How to show application bar icons for the pages which exist in a separate assembly.
[More]
by Mikael Koskinen
3. December 2011 18:04
This Windows Phone Mango tutorial will show you how to work-around the bug where application bar is used with the panorama control in minimized mode.
[More]
by Mikael Koskinen
20. November 2011 15:33
Windows Phone Mango adds the ability to create secondary tiles for your applications. Creating these deep links is a straightforward task using the tools provided by the Windows Phone platform, but what we didn’t anticipate is that these links cause a design issue: What should happen when the user starts the application using a deep link and then presses the Back-button?
[More]
by Mikael Koskinen
22. October 2011 00:41
Part III of the Windows Phone 7 Sockets tutorial: "How to send a message." In these posts we will go through of building a complete IRC-client for Windows Phone 7.
[More]