IBlog<Johan>

This and that in a developer's life in general

News

Follow johandanforth on Twitter

Random Links

Walkthroughs and Tutorials

Browse by Tags

All Tags » Windows 8 (RSS)
Binding MediaElement to a ViewModel in a Windows 8 Store App
If you want to play a video from your video-library in a MediaElement control of a Metro Windows Store App and tried to bind the Url of the video file as a source to the MediaElement control like this, you may have noticed it’s not working as well for...
Posted: Dec 14 2012, 03:07 PM by jdanforth | with 3 comment(s)
Filed under: ,
File Activation in Windows RT
The code sample for file activation on MSDN is lacking some code so a simple way to pass the file clicked to your MainPage could be: protected override void OnFileActivated( FileActivatedEventArgs args) { var page = new Frame (); page.Navigate( typeof...
Posted: Nov 23 2012, 11:57 AM by jdanforth | with 1 comment(s)
Filed under: , , , , ,
Read All Text from Textfile with Encoding in Windows RT
A simple extension for reading all text from a text file in WinRT with a specific encoding, made as an extension to StorageFile: public static class StorageFileExtensions {     async public static Task<string> ReadAllTextAsync(this...
Posted: Nov 21 2012, 03:53 PM by jdanforth
Filed under: , ,
Sideloading and Testing Windows 8 Store Apps on Other Machines
This is a good, short article how to create a store app package and test on another machine, see http://blog.aggregatedintelligence.com/2012/11/how-to-sideload-windows-8-store-apps.html
Posted: Nov 20 2012, 02:32 PM by jdanforth | with 1 comment(s)
Filed under: ,
More Posts