Windows 8 Development - Continuous Integration

    17 June 2014

    Continuous integration (CI) is one of those practices that is a necessity for me on all of my projects. Without the tight feedback loops that CI gives you, projects feel unprofessional to me. This has been a point of frustration for me while developing for Windows 8 with JavaScript. Building the solution can easily be done with MSBuild. But, unit testing has been a bit of a problem.

    Windows 8 Development - Application Errors

    13 June 2014

    An event that is often overlooked, but which is extremely important for customer service and diagnosing of issues is the event that occurs when there is an unhandled exception. In the paradigm of web application development, you can control your hardware and rely on your application logs. But in the distributed world of mobile, the logs are all on the user's mobile device. In this scenario, it is important for you to be able to capture these problems and "phone them home" to be diagnosed/fixed (with the user's permission of course).

    Windows 8 Development - Application Resume

    12 June 2014

    While most of the events I described in previous posts had events in both Windows.UI.WebUI.WebUIApplication and WinJS.Application, there is no WinJS wrapper around WinRT event in this situation.

    Windows 8 Development - Application Suspend and Shutdown

    11 June 2014

    At any given time, there are only three states that your Windows Store application can be in. Obviously, the first two are “running” and “not running.” But, there is a third state that the web and WinForms/WPF developer might not be accustomed to called “suspended.” An application can be suspended in several conditions:

    Windows 8 Development - Application Startup

    10 June 2014

    Unlike a web application, which always starts because someone has requested a page, Windows Store applications can be started for a whole host of reasons. It could be that the user has to click on the shortcut/tile to start your app. But, it could also be from the camera sharing a photo with your app, another application (e.g. a web browser) sharing data, or an auto-run triggered by the user inserting a flash drive. There are a whole host of activation kinds that your application can respond to.

    Windows 8 Development - Life Cycle Events

    09 June 2014

    In another post, I mentioned that you do not need WinJS at all to write a Windows Store Application. Not only is this true of the user controls, but it is also (mostly) true with regard to the application life cycle.