Showing posts with label Windows Phone 7. Show all posts
Showing posts with label Windows Phone 7. Show all posts

Wednesday, June 20, 2012

Local Data Storage for Windows Phone

Here will be a very brief recap, please go to the MSDN links that I listed in the Related topic section to get a completed understanding.

There are three ways an application can store data:

  • Settings: Store data as key/value pairs by using the IsolatedStorageSettings class.
  • Files and folders: Store files and folders by using the IsolatedStorageFile class.
  • Relational data: Store relational data in a local database by using LINQ to SQL.
For a Windows Phone application, all I/O operations are restricted to isolated storage and do not have direct access to the underlying operating system file system or to the isolated storage of other applications.

Tuesday, June 12, 2012

Application Bar Icon Buttons for Windows Phone

This article based on Application Bar Icon Buttons for Windows Phone in MSDN is for my own reference purpose only. Go to MSDN if you want to have a deep understanding on it.
Where are the sample icons?
First, Microsoft has provided a set of sample icons for you after you install the Windows Phone SDK (To download the Windows Phone SDK, see Installing the Windows Phone SDK.) And you can find the sample icons at one of the following locations:
    • C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Icons\dark
    • C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Icons\dark
To add icon button images to your Windows Phone application

Monday, October 17, 2011

Using Windows Phone 7 Emulator

Windows Phone Emulator is a desktop application that emulates a Windows Phone 7 or a Windows Phone 7.1 device. Here is a list of topics that I found on the Internet and thought it is useful for me. Hope you enjoy it.

Tuesday, September 13, 2011

Gesture in Windows Phone 7

Here are some  interesting information I found on the Internet.

Monday, September 12, 2011

Publish your Windows Phone 7 Apps

Here are links will very helpful for myself hope it will help you on your work.

"The Application Development Lifecycle" in Application Platform Overview for Windows Phone

Windows Phone 7 Silverlight Controls

First, check these sites for a look about Silverlight controls: Silverlight 3 Toolkit Demo, Silverlight Toolkit. This toolkit is that it’s completely compatible with Windows Phone 7 applications that use Silverlight.

Friday, September 9, 2011

Using the Bing Map Control on Windows Phone 7

 

Related Topics:

Network services for Windows Phone 7

Please take a look at MSDN documents first. I will add my thought later.

The WebClient and HttpWebRequest classes can be used for a wide range of HTTP-based programming, from general HTTP requests to programming web and data services.

A Demonstration About How to Consuming Windows Phone Services Series by using WebClint class:
Part 1 - Web Client Basics
Part 2 - HttpWebRequest Fundamentals
Part 3 - Parsing REST based XML Data - Part A - Single Result
Part 4 - Parsing REST based XML Data - Part B - Multiple Results

Another example in 31 Days of Windows Phone | Days #25: Talking to External APIs

Push Notification for Windows Phone 7

You can take a look at the related topics below and then here is a simple demonstration: 31 Days of Windows Phone | Day #19: Push Notifications

Thursday, September 8, 2011

WebBrowser Control for Windows Phone 7

About how to use the WebBrowser control in your Windows Phone 7 application you can take a look at the related topics below.

Panorama Control and Pivot Control

Panoramic experiences offer a unique way to view controls, data, and services by using a long horizontal canvas that extends beyond the confines of the screen.

The Windows Phone Pivot control provides a quick way to manage views or pages. It can be used for filtering large datasets, viewing multiple data sets, or switching application views.

Isolated Storage in Windows Phone

Depending on the type of data to be stored, Windows Phone applications can use isolated storage in the following ways:

  • Settings: Store data as key/value pairs by using the IsolatedStorageSettings class.
  • Files and folders: Store files and folders by using the IsolatedStorageFile class.
  • Relational data: Store relational data in a local database by using LINQ to SQL.

Life Cycle in Windows Phone 7

This is a sample for saving and restoring your state on deactivation and reactivation respectively. The follow code is a copy from my App.xaml.cs file.

Using Location Services on Windows Phone 7

GeoCoordinateWatcher class lives in System.Device.dll and in System.Device.Location namespace. To use it you have to add a reference in your project’s References fold and add a using reference in you .cs file if you wish.

How to Make the Phone Vibrate

VibrateController virbate = VibrateController.Default

virbate.Start(TimeSpan.FromMilliseconds(100));

Using the Accelerometer on Windows Phone 7

There are two articles about this topic that is very helpful and I believe it will very helpful to you too. Go and take a loot at them since mine is an abbreviation of those: 31 Days of Windows Phone | Day #11: Accelerometer and Using the Accelerometer on Windows Phone 7 on The Windows Phone Developer Blog.

There are two major usages of the accelerometer:

  1. Orientation relative to our planet Earth (assuming the device is being held steady)
  2. Detecting movement of the device relative to the initial point (assuming you know the orientation).

Windows Phone 7 Emulator Tips

This page is only some reminders for myself and here is the official document about Windows Phone 7 Emulator.

Wednesday, September 7, 2011

Lunchers and Choosers

Here is the official document about lunchers and choosers overview for Windows Phone.

The difference between lanchers and choosers are: Launchers do not return data or status to your application; Choosers can return data and status to your application. However, if the user presses Start while the new application is open, the calling application may never be reactivated.