Let's go invent tomorrow instead of worrying about what happened yesterday|mail@jankowskimichal.pl

Software development

Useful value converters

Value converters – small pieces of code that are very useful in case of binding some values in XAML. Without them some types of bindings in XALM would not be so easy. We use them in Windows Phone, Silverlight or WPF projects. In most cases for each new project I copy the most important converters to solution. For me the most important are: [list] string / Uri to BitmapImage bool to Visibility Color to SolidColorBrush String + StringFormat [/list] Please click more to see implementation of the following converters. […]

By |2013-06-10T13:49:37+02:007 May 2013 |Categories: Software development|Tags: , , , , |0 Comments

Telerik – a few words about controls

I think that everybody knows the Telerik company – the provider of controls packs for different platforms. Beside of controls, the company also have some additional tools that can help developers in their daily work. But let finish talking about company. This entry should be written and published a long time ago, but always there were other more important issues. Right now I have two products of Telerik – [mark]Windows Phone[/mark] and [mark]Windows 8[/mark] controls packs. I will be honest I still haven’t used the controls for Windows 8. But their time will come in the future. [...]

By |2013-04-22T07:02:24+02:0022 April 2013 |Categories: Software development|Tags: , , |0 Comments

The saved-state file … is corrupted

Sooner or later every one of us will get error as follows on the Windows Phone emulator: [box color=”blue” icon=”busy” size=”big”]Error: The saved-state file C:\ProgramData\Microsoft\XDE\{7F63A4C3-95DE-4DF2-91A9-AEC63BBDD089}.dess is corrupt. Please delete the corrupted saved state file and then retry.[/box] The message will be almost the same. The only difference will be GUID. As you can see error is quite easy to solve because there is description what user should do. As soon as we remove files with the same GUID from provided directory, Windows Phone emulator will start. But… […]

By |2012-12-10T07:28:54+01:0010 December 2012 |Categories: Software development|Tags: , |0 Comments

Oh that recursion…

Some time ago I lost two days for finding trivial bug. It was done completely unconsciously. Anyway, as most of other bugs. Application started to behave quite strange – after launching, it crashed immediately. Probably you will ask yourself what it is unusual. I have started standard procedure – run application with connected a debugger. But debugger was useless. Application crashed without any notification disconnecting the debugger. I have not got any single clue that will help me to solve this riddle. […]

By |2013-06-10T13:50:46+02:003 December 2012 |Categories: Software development|Tags: , , , |2 Comments

MTS 2012 – Questions

After our session on MTS there were two questions. I think that those questions need some comment. We were not 100% sure of answers, so we said that it will be the best to make some test and check how the phone will behave. We didn’t have possibility to do this on MTS, so we have done it now. The results confirmed our answers. […]

By |2013-06-10T13:51:17+02:007 November 2012 |Categories: Conferences / Presentations, Software development|Tags: , |0 Comments

Static – devil in sheep’s clothing

The static keyword is used to declare static members. This modifier can be used with classes, fields, methods, operators, etc. Without this operator we wouldn’t be able to do many things. But on the other hand I think it is sometimes overused. What’s more, sometimes people who use it do not realize the risk that is associated with it. My friend, with whom I had pleasure to work, used to say each time that static is used it causes death of one software developer. In many situations he was totally right. Many times we have remove static elements during refactoring. [...]

By |2012-10-17T10:58:57+02:0017 October 2012 |Categories: Software development|Tags: , |4 Comments

Improving WP7 application start-up

Windows Phone application must pass certification criteria. You can find two of them that are strictly connected with application start-up time: [list icon=”check”] the application should show first screen of application in less than 5 seconds. Of course this can be splash screen, the application should respond to user actions no later than 20 seconds after launching. [/list] You might wonder if this is a lot. From my point of view it is very difficult to overcome these two limitations. However, if we look at application from user’s perspective, waiting 20 seconds for start of application can be terribly annoying. [...]

By |2012-09-25T07:17:45+02:0025 September 2012 |Categories: Software development|Tags: , , , , |4 Comments

Free Microsoft certification exams

Few days ago Microsoft has published promotional codes for Visual Studio 2012 exams. By using those codes you are able to take an exam for free. Of course these are beta exams. But it does not change the fact, that when you pass it you will get normal certificate. You can chose from following exams: [list icon="check"] 481: Essentials of Developing Windows Metro style Apps using HTML5 and JavaScript, 482: Advanced Metro style App Development using HTML5 and JavaScript, 483: Programming in C#, 484: Essentials of Developing Windows Metro style Apps using C#, 485: Advanced Metro style App Development using [...]

By |2012-08-14T13:33:53+02:0014 August 2012 |Categories: Software development|Tags: , , , , |4 Comments

Encryption of XAP files

Microsoft has updated AppHub portal last week. New name has been introduced – Dev Center and some new functionalities have been added. The portal works much faster now. Let’s back to the main issue. With the new portal XAP files encryption has been introduced. From the perspective of end users the change is rather cosmetic and should not be noticed. However, if we look from developers (creating applications on Windows Phone) point of view this change seems to be very important. Until recently, developers were exposed on solution theft. Only few steps were required for that purpose: [list icon=”check”] installing [...]

By |2012-08-14T08:39:16+02:0014 August 2012 |Categories: Software development|Tags: , |0 Comments
Go to Top