Pages

Wednesday, May 22, 2013

Map App for Windows is the Modern version of Map App for SharePoint 2013. This version of Map App for Windows is totally a free application. Using this application, you can manage all your favorite geographic locations from a single place.
This version supports following features.

Get current location.
Search locations.

Save favorite locations by simply dragging a pushpin around.

You can provide a location description and even an image. All these information will be displayed on the map tip.

View favorite locations.

Here are some of the screenshots.

Default

Search

Saved Locations

Rich Infobox

I know this might look like a very basic application and even no snapping is supported. Anyway hoping to provide more features with the coming versions. Appreciate your feedback.

Tuesday, May 21, 2013

Map App Privacy Policy

The "Map App for Windows" privacy policy ensures the information collected from you via "Map App for Windows" is totally secured. Your privacy is extremely important to me. As a result, I have implemented this Privacy Policy to ensure your information is safe.

Personal Data

This application does not share personal information with third parties nor does it store any information about you. (e.g. your name, address, telephone number or e-mail address). If you have any questions feel free to contact me directly at following email addresses.

Tuesday, May 14, 2013

In Windows Store Apps there are variety of ways/methods to store your application data. Examples of such mechanisms would be Web Storage, IndexedDB etc. and even SkyDrive. Today I am going to write about my favorite data storage method in developing Windows Store Apps which is “SQLite”.

SQLite is a relational database management system contained in a small C programming library. SQLite stores the entire database as a single cross-platform file on a host machine. You can examine this file using tools such as SQLite Database Browser which you can download from here. SQLite does not support all the SQL features. Here is a list of features which are not supported in SQLite.

Now let’s see how we can use SQLite in a Windows Store App. I am creating a blank Windows Store App. Now I need to get SQLite binaries for Windows Runtime. You can download Precompiled Binaries for Windows Runtime from here.

Precompiled Binaries for Win RT

Once the vsix file has completed installing, then you need to add a reference to "SQLite for Windows Runtime" from your project.

Add Reference

One important thing. If you want to publish a app with SQLite to Windows Store, make sure to add reference to Microsoft Visual C++ Runtime package as well. Now after adding the reference, when I compile the project, I am getting a error.

Platform Error

To resolve the error here, I am changing the projects target platform to “x64”.

Changing Target Plaform

Now I am going to add a wrapper for SQLite which was written using C#. So I can write my code fairly easily. I am going to Nuget and searching online for “sqlite-net” and I am adding it to my project.

Adding sqlite-net

Once the package has completed configuring, you can see two new classes (“SQLite.cs” and “SQLiteAsync.cs”) added to your project. Now I am almost done configuring the project for SQLite. Now let's move into writing some codes.

Here I am using the Repository Pattern. Repository Pattern is a software design pattern where the entity classes and the entity functionalities are separated. To my project I am adding following folders,