PhoneGap

Windows Phone and PhoneGap – Article #14 – Detect Hardware back button press

The default behaviour of the hardware back button in Windows Phone is to close the current application and go back to the previous App or screen that was launched prior to lauching this App . In Windows Phone 7 (Silverlight or XAML App ) , you can detect the hardware [...]

Share

Read more...

2 comments - What do you think?
Posted by Senthil Kumar B - February 2, 2012 at 11:42 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #13 – Retreive Picture from Windows Phone Picture Library

In my previous blog post , i wrote about the PhoneGap API to take picture via Camera in Windows Phone . The navigator.camera.getPicture method was used to take picture via Camera in Windows Phone and the same function can be used to retreive the picture from the Windows Phone Picture [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - January 31, 2012 at 11:19 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #12 – Take picture via Camera in Windows Phone

The PhoneGap provides the Camera.getPicture method that lets the user to take photo using the camera in Windows Phone . Infact , its the camera object that provides access to the Windows Phone Camera in PhoneGap … To open the Windows Phone’s camera to take the picture , just call [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - January 30, 2012 at 10:01 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #10 – Beep sound

Well , this is something simple which can be done in 1 line of code if you are using PhoneGap for Windows Phone . If you are using Windows Phone SDK and developing App in Silverlight or XNA , you might end up using the SoundEffect class to load the [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - January 16, 2012 at 5:39 pm

Categories: Developer Articles, PhoneGap   Tags: , , ,

Windows Phone and PhoneGap – Article #9 – Handling Orientation – Part 1

If you have noticed the PhoneGap Windows Phone Project , you will find a MainPage.XAML page where the PhoneGap runs . By Default , the Windows Phone Silverlight Application runs in the Portrait mode . To support the Windows Phone PhoneGap application to support both the orientation ( Portrait and [...]

Share

Read more...

Be the first to comment - What do you think?
Posted by Senthil Kumar B - January 14, 2012 at 5:36 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #8 – Retreive Device Information

The Windows Phone SDK provides the DeviceStatus class to retreive the Device specific information like DeviceFirmwareVersion DeviceHardwareVersion DeviceManufacturer DeviceName and more… For example if you want to retreive the DeviceName , use the below code to retreive it DeviceStatus.DeviceName If you want to retreive the unique device id , you [...]

Share

Read more...

Be the first to comment - What do you think?
Posted by Senthil Kumar B - January 11, 2012 at 5:32 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #7 – Check for Network Connections

If you want to find out the connection information of your Windows Phone using PhoneGap you can use the connection object . The navigator.network.connection.type – lets the developers know about the currrent device’s connection states and in simple terms lets you know the type of connection , your Windows Phone [...]

Share

Read more...

Be the first to comment - What do you think?
Posted by Senthil Kumar B - January 10, 2012 at 5:30 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #6 – Make your WP7 Vibrate

The Windows Phone SDK in Silverlight provides the class VibrateController which the developer can make use of it to vibrate the phone . All that the developer has to do is create an instance of the VibrateController and call the start method with the timespan . VibrateController vibrate = VibrateController.Default; [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - January 9, 2012 at 5:27 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #5 – Displaying MessageBox in PhoneGap – Part 2

In my previous post , i explained about displaying MessageBox in Windows Phone using PhoneGap that had only the OK button . In this blog post , i will show you how to create a MessageBox with confirmation ( OK and Cancel ) using PhoneGap . If you were doing [...]

Share

Read more...

Be the first to comment - What do you think?
Posted by Senthil Kumar B - January 6, 2012 at 5:21 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #4 – Displaying MessageBox in PhoneGap – Part 1

The PhoneGap API provides the method “notification.alert” to display the alert or message box to the end user in the Windows Phone App . For example , if you want to display the messagebox on the click of the button , include the following <script type=”text/javascript”> function Button1_onclick() { navigator.notification.alert(“Hi”); [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - December 28, 2011 at 5:17 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #3 – No Script Engine Error

This was one of the errors that i received when compiling my first Windows Phone Application using PhoneGap . The description of the error message was “There is no script engine for file extension “.js”” The error is not direcly related to PhoneGap , but has to do something with [...]

Share

Read more...

1 comment - What do you think?
Posted by Senthil Kumar B - December 26, 2011 at 5:14 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #2 – Installing PhoneGap and Getting Started

The Installation of PhoneGap is pretty simple and infact its just about copying the files to the Visual Studio template folder to kick start your Windows Phone Development using PhoneGap . One of the Prerequisite to install the PhoneGap is the Operating System . PhoneGap requires Windows 7 or Windows [...]

Share

Read more...

2 comments - What do you think?
Posted by Senthil Kumar B - December 24, 2011 at 5:13 pm

Categories: Developer Articles, PhoneGap   Tags: , ,

Windows Phone and PhoneGap – Article #1 – Introduction

With the recent release of PhoneGap 1.3 that includes full Windows Phone 7 support , it looks like we got another way to develop Windows Phone App but using HTML5 and PhoneGap . In the current and the next few posts , i will explain how the Windows Phone 7 [...]

Share

Read more...

2 comments - What do you think?
Posted by Senthil Kumar B - December 23, 2011 at 5:11 pm

Categories: Developer Articles, PhoneGap   Tags: , , ,