Articles tagged with: windows phone
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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. …
