Feeds

Windows Phone 8: Exceptional tools, but where are the devs?

Microsoft's vast scary world of versions and APIs

Combat fraud and increase customer satisfaction

Confused? You will be: let's talk on-demand compilation in the cloud

Another new feature is cloud-based compilation. The story here is that .NET apps are delivered as MSIL (Microsoft Intermediate Language) and compiled to native code at runtime. This cannot be done earlier due to hardware-specific considerations, but the process of compilation at every startup is demanding for the phone. In Windows Phone 8, apps are pre-compiled in the cloud to a format called MDIL that program manager Brandon Bray described as “90 per cent compiled”, speeding up performance.

With much in common between Windows 8 and Windows Phone 8, how can developers share code? The primary technique is a feature of Visual Studio 2012 called Portable Class Libraries. This is non-visual code in which Visual Studio will enforce compatibility with the platforms you specify.

The idea is to share the non-visual code between the platforms you select, and write a platform-specific user interface. Of course “portable” in Microsoft’s world means portable between variants of Windows rather than true cross-platform.

Developing for Windows Phone 8 requires Visual Studio 2012, though there is a free Express version for getting started, and Windows 8. One reason why Windows 8 is required is that the phone emulator runs on the Hyper-V virtualisation engine, which is not present in Windows 7.

You can target Windows Phone 7.x as well as 8. The emulator is comprehensive and lets you vary screen size and memory, and emulate location data and accelerometer movement. A Simulation Dashboard lets you test with a variety of scenarios such as low-signal strength.

Windows Phone 8 emulator

The Hyper-V emulator for Windows Phone 8

Deployment is normally through Microsoft’s store, but there is also provision for enterprises to install apps directly, such as via email or a microSD card. This is enabled by registering for an enterprise mobile code signing certificate and getting an Application Enrolment Token that enrols phones for use with company apps.

There are also a range of new features available to apps. These include lock screen notifications, a rich new map control and navigation API, speech API, wallet API for mobile payments including Near-Field Communications (NFC) where available, camera add-ins called Lens apps, and new photo and video capture APIs. The web browser control is now based on Internet Explorer 10.

In networking, there are APIs for Bluetooth, proximity including NFC, IPv6 support, and native Winsock support for those familiar with Windows sockets programming. In-app purchases are supported. A new storage API is a subset of that in the Windows Runtime and includes SD card access.

Native code support in Windows Phone 8 has enabled better support from third-party libraries, and Tony Garcia from Unity took the stage at BUILD to show off use of this popular game development framework on Windows Phone 8.

This is a big release, with much that is significant. Visual Studio is well liked by developers, and if it were competing on ease of development alone, Microsoft would be prospering in mobile. As it is though, it struggles, because of two well-entrenched competitors in the form of Apple iOS and Google Android. Development company Thoughtworks said this in its Technology Radar, a survey of software development trends:

Despite a promising start to Windows Phone, a well thought-out user interface, and probably the best development experience of any mobile platform, we have seen several stumbles in the execution of the platform strategy by Microsoft and its partners. This makes us less optimistic about the future of the platform than we were in the last radar.

This was in relation to Windows Phone 7. If the platform was already good for developers, Windows Phone 8 is exceptional. Whether that is enough to win customers from other platforms remains an open question. ®

Combat fraud and increase customer satisfaction

More from The Register

next story
Ubuntu 14.04 LTS: Great changes, but sssh don't mention the...
Why HELLO Amazon! You weren't here last time
This time it's 'Personal': new Office 365 sub covers just two devices
Redmond also brings Office into Google's back yard
Next Windows obsolescence panic is 450 days from … NOW!
The clock is ticking louder for Windows Server 2003 R2 users
Half of Twitter's 'active users' are SILENT STALKERS
Nearly 50% have NEVER tweeted a word
OpenBSD founder wants to bin buggy OpenSSL library, launches fork
One Heartbleed vuln was too many for Theo de Raadt
Got Windows 8.1 Update yet? Get ready for YET ANOTHER ONE – rumor
Leaker claims big release due this fall as Microsoft herds us into the CLOUD
Microsoft TIER SMEAR changes app prices whether devs ask or not
Some go up, some go down, Redmond goes silent
Batten down the hatches, Ubuntu 14.04 LTS due in TWO DAYS
Admins dab straining server brows in advance of Trusty Tahr's long-term support landing
Red Hat to ship RHEL 7 release candidate with a taste of container tech
Grab 'near-final' version of next Enterprise Linux next week
prev story

Whitepapers

Mobile application security study
Download this report to see the alarming realities regarding the sheer number of applications vulnerable to attack, as well as the most common and easily addressable vulnerability errors.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.