-
Recent Posts
Categories
- 10.9
- android
- AppData
- Apple
- ASP.NET Web API
- assembly reference
- await
- AWS
- Azure
- background
- backup
- bash
- Bootable
- Bootstrap
- C#
- ComponentModelCache
- CS1020
- Distance
- ebook
- El Capitan
- GeoCoordinate
- git
- Global Application Class
- goo.gl
- Google API
- GZip
- intellij
- Internet Connectivity
- iOS
- java
- JavaFX
- javascript
- js
- Json
- JUnit
- Latitude
- Latitude and Longitude
- linked list
- Location
- lockscreen
- Longitude
- Mac
- Mavericks
- microsoft
- Nuget
- object reference
- OS X
- outlook
- raspberry
- raspberrypi
- raspbian
- raspbian jessie
- restful api
- S3
- Source control
- tfs
- tomcat
- unix
- url shortener
- USB Drive
- vba
- Visual Studio
- Visual Studio JsonPackage
- wget
- windows
- Windows 8
- Windows 8.1
- Windows Phone
- Windows Phone app
- Windows Phone SDK
- winrt
- xamarin
- XAML
- Yosemite
Top Posts & Pages
- Visual Studio PasteJson.JsonPackage did not load correctly
- JavaFX: Include Button into cell for TableView
- Windows Phone IP over USB Transport (IpOverUsbSvc) is not running. Retry after starting Windows Phone IP over USB Transport (IpOverUsbSvc) from the services management console.
- Calculate distance between two Locations with Latitude and Longitude C#
Recent Comments
Anonymous on Visual Studio PasteJson.JsonPa… Anonymous on Visual Studio PasteJson.JsonPa… Anonymous on Visual Studio PasteJson.JsonPa… [C#] Microsoft Visua… on Visual Studio PasteJson.JsonPa… ralphcompton on Team Foundation Server (TFS) f… Archives
- January 2018
- July 2017
- May 2017
- March 2017
- December 2016
- November 2016
- August 2016
- July 2016
- June 2016
- May 2016
- December 2015
- November 2015
- October 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- December 2013
- November 2013
- October 2013
Category Archives: winrt
Saving UI element as jpeg for Windows Phone 8.1
This is an follow-up of the Drawing pad for Windows Phone 8.1 Assume that the content that is needed to save into jpeg is in a scrollviewer, the below would be the implementation on saving the content. It works for most … Continue reading
Drawing pad for Windows Phone 8.1
Many had asked on how do we create a drawing pad for Windows Phone 8.1. It is very simple, in fact the code to get it done is exactly the same as that for Windows 8.1 In the xaml, you … Continue reading
Adding Custom font for Pivot Header
If you would want to have custom font for the pivot header, you would have to declare the fontfamily separately as shown below in the sample otherwise the displayed font will remain the same. However if the custom font that … Continue reading
Checking for Internet Connection
In my previous post where I had shared about checking for Network Connectivity, NetworkInterface.GetIsNetworkAvailable(), however what the method is actually doing is to simple check for network connection and not necessary internet connection. There are situation where there is network … Continue reading
Using Google Analytics to your Windows Phone Apps
For developers that would like to track the usage of your Windows Phone app that are in the marketplace. Google Analytics is actually a decent choice given that setting up is fairly easy. Simply head over to http://www.google.com/analytics/ and login … Continue reading
Calculate distance between two Locations with Latitude and Longitude C#
Given that you have two set of Latitude and Longitude values, how do you calculate the distance between them? For Windows Phone the below method is highly recommended since it used built-in library. However if you need the deploy the … Continue reading
Posted in Windows Phone, winrt
Tagged C#, Distance, GeoCoordinate, haversine, Latitude, Latitude and Longitude, Location, Longitude
4 Comments
Checking for Internet Connectivity in Windows 8 C#/winrt
To prevent winrt app from crashing while doing web method due to the lack of Internet Connectivity, always use the below code to check for Internet Connectivity. Declaring the method in App.cs would ease the usage. Ideally the app should … Continue reading