New Features for Developers in Windows Phone 8 – Part II

VoIP and Video Chat voip

•Incoming VoIP calls work like any other call
•Integrates with built-in phone features
•VoIP apps continue to run in the background
•Available to all developers

Bluetooth and NFC

•Create apps that communicate with other phones using Bluetooth technology
•Bluetooth API enables the following scenarios for Windows Phone 8:bluetooth

•App-to-app communication
•App-to-device communication

•Proximity API enables:

•App-to-app connection using Bluetooth technology
•Establish a Wi-Fi, Bluetooth, or Wi-Fi Direct connection between your app and an instance of your app on a proximate device
•Send data between devices using NFC.
•Use a phone to interact with NFC tags 

Other Networking Enhancements

•Windows.Networking Windows Phone Runtime API

•New networking API highly compatible with Windows 8

•Incoming Sockets

•Supported in both System.Net.Sockets and Windows.Networking.Sockets, which means your app can listen for an incoming network connection

•Support for IPV6

•Winsock native API support

•Helps porting of existing native libraries that use the Winsock API

Storage – Read from SD Card

•Apps can use the Microsoft.Phone.Storage API to read files from an SD cardsd

•User can also use SD card to extend device storage for their personal files and media

•Store photos, music, videos

•Can install apps from a MicroSD store

Custom Contact Store

•Create a set of contacts owned exclusively by the app, though visible through the phones built-in Contacts app
•APIs are provided to create, update, delete, and query the app‟s contacts
•Sync the app‟s contact list with a remote list maintained by the app‟s cloud service

File and Protocol Associations

Enables App to App Communicationfileandprotocol

•App can register a File Association

•Automatically launch your app when a file of the registered type is received as an email attachment or opened in the browser, or through Sharepoint

•One app can launch another by sending it a file of the registered type

•App can register a protocol

•Allows your app to automatically launch when another app „opens‟ a special URI

•Protocol is the first part of a URI, e.g. myprotocol:/ShowProducts?CategoryID=aea6ae1f

•App launches another and passes it data in the remainder of the launch URI

In-App Purchase

  • Attract a larger user base with free baseline experience
  • Upsell users to purchase paid digital goods and services that enhance or extend the app experience in the app itself
  • Add and modify different paid options for different user segments

Enterprise app deployment

License apps directly to business

  • Build enterprise apps, for example LOB, Expense reports, Remote Access, HR, Sales
  • Promote and offer the apps to enterprise customers
  • Design the right business model, e.g. volume discount

Company Hub

company hub

Localization and Globalization

RTL and BiDirectional Support

•Windows Phone 8 supports languages such as Arabic, Hebrew and Persian that are read from right to left

FrameworkElement.FlowDirection property allows right-to-left layout in StackPanels and other content controls

FlowDirection property also enables RTL text display in text controls

•Sometimes RTL languages contain content that flows from left to right. For example, a network share name such as \\server1\folder\file.ext, should always be displayed LTR

•In such cases, you can use the Run element to contain the LTR text, and then set the FlowDirection property on the Run element to “LeftToRight” 

Languages: 26 new

Capture

Camera and Photos

•Lenses

•Type of extensibility available to apps that provide unique camera functionality via the camera APIs
•As a lens, your app provides the user with a viewfinder experience and interacts directly with the camera

•New Picture.GetPreviewImage() method to return thumbnail images
•New Photos extensibility features

•In addition to extending the Photos Hub, the photo app picker, and the share picker, your app can now integrate with the photo edit picker or register as a rich media editor

•Background Photo Auto-upload

•Automatically upload photos to a photo storage service using a resource-intensive background agent

•Advanced camera capture APIs for apps that require fine control of the camera

•Use the PhotoCaptureDevice class to control photo properties such as ISO, white balance, and exposure. You can even programmatically adjust the focus position.
•The AudioVideoCaptureDevice class offers a similar level of control for video and audio recording 

Media

•Music media library

•Add and remove music files from the user‟s music collection with the SaveSong and Delete methods of the MediaLibrary class

•Pictures media library

•In Windows Phone 8, for each picture saved on the phone, the following two thumbnail images are automatically created and can be retrieved by your apps
•A small thumbnail image. You can retrieve this thumbnail with the GetThumbnail method of the Picture class.
•A preview image that has the same dimensions as the phone's screen. You can retrieve this preview image with the new GetPreviewImage extension method of the Picture class.

•Background Audio

•New PlayStateChangedEventArgs returns data when the state of the BackgroundAudioPlayer changes 

Windows Phone 8 Apps Run Faster

•Managed Apps are NGEN‟d for you (compiled to native) in the Windows Phone Store in Windows Phone 8, so typically start and run faster J

•When you build your app in Visual Studio, the code is not compiled into a native image, but into a machine-independent Common Intermediate Language (CIL) binary file (formerly known as Microsoft Intermediate Language, or MSIL)

•When you submit your app to the Windows Phone Store, you submit the CIL file

•On submission, CIL file is converted to optimized Machine Dependent Intermediate Language, or MDIL

•When a user downloads your app to a device, it is pre-jitted to a native image 

Summary

Windows Phone 8 has very many new features

The shared core means that at a low level, components of the OS are the same between Windows 8 and Windows Phone 8

Windows Phone 8 supports XAML+managed, XNA+managed, Direct3D+native app development, and hybrids of those

Apps built for Windows Phone OS 7.1 in general run without modification or recompilation on Windows Phone 8 

 

 

Posted in Windows Phone | Tagged , | 1 Comment

New Features for Developers in Windows Phone 8 – Part I

The new WP8 sdk ships with many new features that give developers access to all of Windows Phone 8’s new APIs .
Here is a quick overview of the cool new stuff:

Tile Templates and Tile Sizes

•Windows Phone 8 supports three Tile templatestiles
•Flip – flips from front to back (similar to the WP 7.1 Tile template)
•Iconic – clean iconic layout designed to reflect Windows Phone design principles
•Cycle – cycles through up to nine images

Lock Screen on Windows Phone 8

•You can register your app as a lock screen provider, which enables:lock
•User can select your app to show detailed status on the lock screen
•Can select your app as one of the five apps to show quick status (icon and count)
•Can select your app as the lock screen background image provider

New Launchers

•SaveAppointmentTask
•ShareMediaTask
•MapDownloaderTask
•MapUpdaterTask
•MapsTask
•MapsDirectionsTask

Maps

The new Maps controls use technology supplied by Nokiamaps
•New features:
•Vector-based for faster rendering
•Four cartographic map modes
•Light and dark color modes
•Display landmark and pedestrian features

Location and Location Tracking

New Location API in the Windows Phone Runtime API set
•Similar to Windows 8 Location API
•Windows Phone OS 7.1 .NET Location API still supported
•Background location-tracking apps
•Run continuously in the background when the user navigates away from the app
•Enables scenarios such as Run Trackers, turn-by-turn navigation

Speech

Windows Phone 8 allows you to enable users to robustly interact with your app using their speechvoice
•Two types of voice interaction are new:
•Voice Commands – Allows users to deep-link into your app by holding down the Start button and speaking a prefix you specify for your app, followed by a command that you define.
•Speech Recognition and Text-to-Speech APIs – While in the context of your app, allow users to provide input using their voice, and readout text to users via text-to-speech

Wallet

Credit & Debit Cards
Loyalty & Membership Cards
Access Saved Deals
Supports NFC Tap to Pay

UI Controls

•LongListSelectorcontrols
•Flat lists
•Grouped lists – with headers
•Jump List
•Formerly in the Silverlight Toolkit
•Pivot and Panorama now in ROM
•WebBrowser control now based on Internet Explorer 10

3 Screen Resolutions

resolutions

Posted in Windows Phone | Tagged , | Leave a comment

Windows Phone 8 Jump Start

With the revolutionary Windows Phone 8 and Windows 8 platform, it is now easier to target both Windows phones and Windows 8 apps.
For WP 7.x developers, shifting to WP8 is quite easy, free and exciting !!

All you need to do is download the new sdk , which contains all necessary tools.
Many new features has been added to the sdk, you can check at Introducing Windows Phone SDK 8.0

 

Continue reading

Posted in Windows Phone | Tagged , , | 1 Comment

Useful links: Windows Phone development

This article shows a list of few great MSDN resources on Windows Phone 7 development. Note that here are other useful links on the Windows Phone area of this site, and a similar list on MSDN : How-To Index for Windows Phone.

Continue reading

Posted in Windows Phone | Tagged , | Leave a comment

More Useful Links: Windows Phone

Looking for training kits?

 
Continue reading
Posted in Windows Phone | Tagged , | Leave a comment