Announcement

All important changes of my site and my blog will be announced here.

Computer security

This is my hobby. I spend my freetime for it. I am not professional in this area. But I like it very much.

Everything Else

Which doesn’t belong to other categories will land here. It maybe about my daily life, entertainment, music, game … or something like that

Programming

This is my job. That means everyday I must sit before the monitor. Tip something, be annoyed by bugs,… but I simply like it.

Tutorial

When I found something interesting, I would like to share it to everyone. That is the reason for this category comes.

Home » Archive by Tags

Articles tagged with: windows phone

Windows Phone – Phone PC Connector through WCF service
Sunday, 25 Apr, 2010 – 0:00 | 4 Comments

Windows Phone OS is being developed and I do not know which protocol Microsoft use to allow users and developers to transfer data between PC and phone, may be USB, Wifi, Bluetooth, etc … Within these protocols I prefer using protocol based on IP therefore today I would like to write a small demonstration which lets me download/upload file from PC to phone/from phone to PC.
The Demo source code consists of 2 projects :
- The …

Windows Phone – Daily Horoscope Example
Tuesday, 13 Apr, 2010 – 0:00 | No Comment

Do you believe on horoscope? I do not but my wife does. Sometimes she watches in Internet some predictions about her horoscope and tells me that they are not correct in her case. But in most of cases it was correct and she believes it a lot. She says me that everyone has his own fate and man can not change or something likes that. I always say she should be a fortuneteller. She will …

Windows Phone – Embedded fonts and Bing maps
Sunday, 11 Apr, 2010 – 0:00 | 6 Comments

Today I would like to illustrate about how I can embed font and Bing maps into Windows Phone application. I know it’s a such simple example that every programmer on Windows Phone can write but I just want to make a demo to show that we can use embedded font and host a Bing map control. For Bing map example, I use this example http://www.earthware.co.uk/blog/index.php/2010/03/writing-a-bing-maps-location-aware-application-for-windows-phone-7-series/ with some modifications so that I can relatively find my …

Windows Phone – Current weather application
Wednesday, 7 Apr, 2010 – 0:00 | One Comment

When I am “jogging” around some programming forums, I found out an interesting website http://www.webservicex.net/WCF/default.aspx which provides us many web services in many fields which can be used in our application. As you can see in URL, the web services of this site may be based on WCF which has a many advantages in compare to normal web service. Therefore I would like to use this free web service to write a small application telling …

Windows Phone – Signature capturing with InkPresenter and save to PNG file
Monday, 5 Apr, 2010 – 0:00 | 12 Comments

Today I received a small package by post for my neighbor and I must sign on a small device to confirm that I received the package. Therefore the deliver can be sure that I will give it to my neighbor. I thought it was very interesting to write a small application on Windows Phone which should work like the device of postman. This application allows people signing on the screen and it will store this …

Windows Phone – Audio recorder
Saturday, 3 Apr, 2010 – 0:00 | 24 Comments

Audio recorder is a typical application of a mobile phone. Man can use it to record audio from microphone and use it for his ring phone, store audio note or record evidence of crimes as in Hollywood films, etc… Therefore today I decide to write a small audio recorder which should run on any mobile phone using windows phone OS. The application is very small but helpful. You can get source code in the end …

Windows Phone – Passing arguments between pages and Input Scope
Thursday, 1 Apr, 2010 – 0:00 | 2 Comments

On my serie of posts for developing on Windows Phone, today I would like to illustrate how I can pass arguments to page when navigating to it and apply input scope to reduce the input panel for specific input data format. Let’s start with passing argument to page before opening it. If you are Windows Form/WPF developer, you may use a property to get data for form before opening or loading it. This data will …

Windows Phone – Progress popup and AutoCompleteBox
Tuesday, 30 Mar, 2010 – 0:00 | 2 Comments

Progress popup
During my development I would like to have a progress popup which shows a dialog telling the user that the program are on working process. The implementation below does not contain a progress bar if you want to can insert a progress bar and update it.

<Popup x:Name="ProgressPopup"
Width="300"
IsOpen="False" HorizontalAlignment="Center" VerticalAlignment="Top" d:LayoutOverrides="Width, HorizontalMargin" Margin="89,203,91,0">
<Border BorderThickness="10"
BorderBrush="Black"
Background="DarkGray"
Padding="30,30">
<StackPanel>
<TextBlock Foreground="White"
FontWeight="Bold"
FontSize="36"
x:Name="txt"
Text="Processing…">
<TextBlock.Triggers>
<EventTrigger RoutedEvent="TextBlock.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
AutoReverse="True"
Duration="0:0:1"
From="1.0"
RepeatBehavior="Forever"
Storyboard.TargetName="txt"
Storyboard.TargetProperty="Opacity"
To="0.0"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</TextBlock.Triggers>
</TextBlock>
</StackPanel>
</Border>
</Popup>

I also add an animation to make the opacity to 0.0 so that I can have a blinking text block. …