Showing posts with label WP7. Show all posts
Showing posts with label WP7. Show all posts

Friday, May 16, 2014

Using Local Database in Windows Phone Apps

In my previous posts, we looked at how to store data in Windows Phone Apps using Local Storage and Isolated Storage. In this post we will take a look at how to create a Local Database for storing data of our Windows Phone app. Database are great storage option when your app want to store some relational data. The database gets created into the local app folder and is only accessible to the same application. We will be using the LINQ to SQL assembly and mainly the classes present in the System.Data.Linq and System.Data.Linq.Mapping namespace to create our database schema and perform CRUD operations on it. In this demo, we will create a sample application that will store Students Information in the database. For each student, we will also store the courses that the student has taken. Lets get our hands dirty. Open Visual Studio –> New Project –> Windows Phone Blank App and name the application "LocalDatabaseWPApp".


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, May 12, 2014

What’s new in #WindowsPhone 8.1 - First look to InPrivate browsing

After the last post on "What's new in Windows Phone 8.1 - First look to Start Screen, Theme", I wanted to share another new feature that's coming as part of Windows Phone 8.1 within few days. If you are a developer, you might have already experiences the new phone OS. Okay, let's come to the point. This time I will be talking about Internet Explorer In-Private browsing, part of IE11 in Windows Phone, which will help you to securely browse internet. You might have already...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Thursday, May 8, 2014

Using Isolated Storage in Windows Phone App

In my previous post, we looked at how to use local storage in Windows phone to save the data. In this post, we will look at another way of storing the data locally using IsolatedStorage. In most of the applications that we develop, we will need some way to save 'Settings'. IsolatedStorage is quite useful in that scenario as we can easily save/retrieve settings from that. Isolated Storage provides a way to store data locally in the file system. It is called 'isolated' as only your application has access to the data. There are two ways in which data can be stored in IsolatedStorage. We can store the data as Name/Value settings using IsolatedStorageSettings and you can also save normal files using IsolatedStorageFile. Data present in IsolatedStorage is persisted even when the application is stopped, tombstoned or closed or even if the phone is switched off. Data is going to be present unless it is removed manually or the application is uninstalled.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, April 4, 2014

Getting Started With Windows Phone Development

To develop applications for Windows Phone 8, you will need to download and install the Windows Phone 8 SDK. You can get the sdk by going to http://dev.windowsphone.com and clicking on "Download Dev Tools" which will take you to the page from where you can download the Windows Phone 8 SDK. Please be aware of the minimum system requirements that is needed. You will need Windows 8 64 bit or Windows 8 pro 64 bit version or higher if you want to use the Windows Phone 8 Emulator. You will also need Visual Studio 2012/2013 installed. If you don't have VS 2012/2013 on your machine, the setup will install the Visual Studio 2012 Express for Windows Phone. For running Windows Phone Emulator, you will need Windows 8 pro or higher and a processor that supports SLAT. If your system doesn't meet the requirement for Emulator, you can still develop applications using the SDK but you will need a Windows Phone 8 device to test your app.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, March 14, 2014

Applying default styles quickly to your Windows Phone 8 application in Visual Studio

Default templates for Windows Phone application comes with few basic set of resource elements that defines the controls color, size, background etc. To examine it more closely; you may noticed the MainPage.Xaml created with the default template has three page level styles defined as static resources. In a quick thoughts, you may try to explore your solution […]


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, February 25, 2014

How to change #WindowsPhone 8 Lock Screen background?

As a WPDev, you might want to provide your users an option to change the Lock Screen of their Windows Phone 8 device. It can be from a locally stored images within the app XAP, a RSS feed, Camera Roll and/or periodically from a push notification. In this blog post, we will learn how to integrate the functionality in your app to simply load and set the lock screen background from a set of images available within the app xap. Windows Phone 8 provides the users to change the lock...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, February 24, 2014

New UI and capabilities for Windows Phone App Studio Beta developers

We created Windows Phone App Studio Beta as a powerful but easy-to-use tool to help hobbyists, enthusiasts and new developers create content-based apps from end to end, all within a web UI. To date 350,000 developers of all skill levels have used Windows Phone App Studio Beta, resulting in 300,000 projects and 20,000 apps published to Windows Phone Store. We look forward to more. And we thank you for all the great suggestions you've made along the way.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Thursday, February 13, 2014

How to build a VoIP application for Windows Phone 7 that will not be blocked by the service providers

VoIP technology is one of the fastest growing technologies today. It is used for voice communication over the Internet with high quality sound and due to its wide penetration it is supported by many devices. However many mobile service providers block the usage of the port 5060, which is used for SIP protocol. (SIP protocol is used in VoIP communications). This means that many mobile service providers block the usage of VoIP on your mobile phones. I have come up with a solution for this problem. It is a WP7 client application that communicates with a server through TCP/UDP protocol and the server communicates with a PBX through SIP protocol. This way the mobile service providers will not block the VoIP communication because they will only see the TCP/UDP communication between the client and the server.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, January 22, 2014

How to check the supported Camera Type in Windows Phone?

If you are a WPDev and building Windows Phone app and/or game that uses primary or secondary (front facing camera), you might need to check whether the device supports either or both of them. Windows Phone SDK provides APIs to check for supported camera type. In this blog post, we will discuss about this API and learn how to know whether the phone supports either or both of those camera types. The abstract class "Camera" present under the namespace "Microsoft.Devices" provides...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Friday, January 17, 2014

How to retrieve Free Space details in WP programmatically?

How many of you want to check the available free space in your Windows Phone device? It is very simple to get the details from the settings page. But think about a case where you want to check the free space from your app and want to chose some logic to notify the user. In this small but useful post, we will discuss about the API and will share a small piece of code, which will allow you to know the available free space in user's phone device. The sealed class named...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, January 8, 2014

Clipboard API in Windows Phone

Windows Phone by default provides the inbuilt mechanism to support Clipboard Copy, Paste functionalities and shows the proper icon in any TextBox control. But in some case, you may need to handle the copy experience explicitly. This small post will discuss about the API and the code that you can use in your Windows Phone application. Continue reading. As I said above, the Clipboard functionality is already handled by the operating system in all Windows Phone devices and you...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, January 7, 2014

Simplest way to Encrypt and Decrypt of data in Windows Phone apps

Sometime we need to provide an encryption mechanism to protect user data in phone and/or sharing the data over internet to a database. Data security should be always maintain by a developer to protect the content of the application that the user enters. If you are building an app and looking for some way to implement the mechanism, here is a wrapper class for you to do encryption and decryption of a string literal easily. Microsoft provides a static class named...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Sunday, January 5, 2014

For #WPDev, a new set of WP8 Emulators are now available

Microsoft released a new set of Windows Phone 8 emulators for the Windows Phone developers to support development environments for both WP8 Update 2 and Update 3 release. If you are targeting your apps for a large screen display, must try out them in the new emulator before submitting for certification. Let's discuss little on the new set of emulators in this post. You will also find the appropriate links towards the Microsoft Download Centre to install them in your development...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, December 25, 2013

How to get the Geolocation in WP8?

If you are a WPDev and looking for a way to retrieve the Geo Location of the user and integrate that Geo Coordinates in your Windows Phone 8 application, this post will help you step-by-step to understand the API and the way to use it. The Geolocator class provides us details about the user's location. To use this class, you need to add proper capabilities to your application. Let's start discussing on that. Windows Phone 8 SDK provides few API classes, which you will need in order to play with the Geo Location coordinates in your WP8 application. Among them, few important classes are: Geolocator, Geoposition and Geocoordinate present under the Windows.Devices.Geolocation namespace. Setting up the Environment To begin with the integration of geolocation in your Windows Phone 8 application, the first thing that you must have to do is setting up the proper capabilities, failing which you might get ACCESS_DENIED exception in your application. To add the...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

Geolocation in WP8,C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Sunday, December 22, 2013

Compass APIs for Windows Phone

Today in this blog post we will discuss about Compass APIs available in Windows Phone SDK. After reading this post, you will be able to use your Windows Phone's device sensors and build some apps and/or games for your targeted users. Before using the compass in your game, make sure to check whether the device supports it or not. The SDK provides APIs to check that too. Let's start discussing about it. The sealed class "Compass" is available in "Microsoft.Devices.Sensors"...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Monday, December 16, 2013

How to enable “Fast App Resume” in your WP8 app?

If you are part of DVLUP program of Nokia, you might have noticed that, all Windows Phone 8 challenges have the same requirement "Employ Fast App Switching". This is more likely same as "Fast App Resume". So, what is this and how can you configure your app to support fast app resume? In this small post for WPDev, we will discuss a bit about it and the simple process to configure your WP8 apps and/or games to process "Fast App Resume". What is "Fast App Switching"? In Windows Phone 8,...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Tuesday, December 10, 2013

How to check whether Location Service is Disabled in WP8?

If you are building Location Aware app for Windows Phone 8, you might want to check whether the Location Service is enabled/disabled in the system and based on that, you can take appropriate steps asking user to enable that. If you are one of such developer, this small but handy blog post will help you to figure out the status of the Location Service. Continue reading to know further about it. The "Location Service" page is available under the settings menu and provides user to...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Wednesday, November 27, 2013

#WPDev Tips: How to pass an object to WP Navigation Service?

While working on an application last weekend, I was in need to pass an object as query string parameter to the other page of my Windows Phone application. NavigationService does not allow you to pass any complex object. Then I found a cool idea by which you will be able to send the whole object to the other page. In this blog post, I am going to share you the trick. The sealed class NavigationService present under System.Windows.Navigation namespace provides methods and events to...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

Invasion Game in MonoGame for Windows Phone 8

Invasion is an open-source, 2D casual shooter game that has been around for almost 12 years. In July 2011, I ported Invasion from to XNA for Windows Phone 7. The latest version targeting WP7 runs just fine on Windows Phone 8, but the WP7 code won't build with VS2012 and the WP8 SDK because Microsoft doesn't support XNA development with them. So it is time to port Invasion once again and while I considered porting it to DirectX, Unity, or Cocos2d-X, I instead chose to first give MonoGame a try, because its API is closest to XNA's. MonoGame is still in development and you have to keep that in mind when porting your game. Some XNA APIs are missing, others are quirky, and one class is rather problematic. But if you can work around those issues, MonoGame is a good option for porting your XNA WP7 games to WP8 and for building cross-platform games in general. This article explains what I did to port Invasion to MonoGame for WP8, what's changed in this version of the Invasion, and what still needs work - both in Invasion and MonoGame. I hope this article and the source code will help other developers more easily port their XNA/WP7 games to MonoGame/WP8 and get started creating new games with MonoGame for Windows Phone.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8

How to launch the Rotation Settings page in WP8 GDR3?

Windows Phone 8 GDR 3 is already there for the developers to try out the new features that are coming in this update 3. Among them, one is orientation lock. If you already installed WP8 GDR3, you might have already seen the Rotation Settings page. If you are a WPDev, you might want to add an option in your app to launch this settings page. In this post, we are going to discuss how to do this programmatically. Rotation Settings page is only available in Windows Phone 8...


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Intermediate,Advanced,VS2010,.Net,Articles,.Net Tutorials,C#,Mobile Development Tutorials,Mobile Developments,Window Phone Tutorials,WP7,WP8