Accessing Google Web services via Silverlight Client

by Bar Zohan 15. December 2011 19:04
Problem Definition: If anyhow you'd like to access google web services (like Geocoding, Directions api etc.) inside a Silverlight browser application, when you use a webclient do the http request to the service you are going to get a security exception.  This is caused by the cross-domain-pol... [More]

Tags: , ,

.Net Framework | C# | Silverlight | Javascript

Using NOLOCK with Entity Framework

by Bar Zohan 16. June 2011 20:06
Using nolock select queries with entity framework [More]

Tags: ,

.Net Framework | C# | SQL Server

How To Make An Android Application Unclosable

by Bar Zohan 1. June 2011 23:55
rooting android, unclosable android application, deactivate home key [More]

Tags: , ,

Android

Hashing Algorithms

by Bar Zohan 20. April 2011 17:49
Hashing algorithms in java [More]

Android - File Upload With Http Post Request To A Page

by Bar Zohan 16. March 2011 02:42
Uploading a file from an android device to a web page. [More]

Tags: , , ,

Android | Java | Mobile Devices

Creating New Type Dynamically On Runtime

by Bar Zohan 15. February 2011 23:37
[code:c#]                  AssemblyName assemblyName = new AssemblyName();                assemblyName.Name = "newAssemblyname";                AssemblyBuilder assemblyBui... [More]

Tags: , , , , ,

.Net Framework | C# | OOP | Design Patterns

Asynchrone HttpRequest Class For Java

by Bar Zohan 11. November 2010 23:04
  package com.loodos.Outrun;   import java.io.InputStream;   public  abstract class HttpEventListener { public abstract void OnHttpRequestFinished(InputStream is); public abstract void OnHttpRequestError(); }  
  HttpRequest.java [code:c#... [More]

Tags: , , , , ,

Java

Android - Using Google Maps

by Bar Zohan 2. November 2010 02:36
Step 1 - Getting your MD5 Fingerprint Use the "Keytool.exe" that can be located inside "C:\Program Files\Java\<YOUR INSTALLED JDK DIR>\bin" Use the following command on "Keytool.exe"; keytool.exe -list -alias androiddebugkey -keystore "C:\Users\<your windows user>\.android\debug.keyst... [More]

Tags: , , ,

Android | Java

C# - Converting Raw Image to Bitmap

by Bar Zohan 29. October 2010 02:25
Some pointers and unsafe code should be used (sorry there is no other way for processing pixels). Function takes file path as parameter "path" and returns a Bitmap instance of the raw formatted image.  As raw image format does not provide height and width info of the image contained, you shoul... [More]

JsonHelper for Silverlight

by Bar Zohan 26. October 2010 22:41
Beside parsing all other object types, DateTime parsing from JSON had been a great headache. As I did not need it for the current project I've just ignored DateTime typed attributes of JSON [pi.PropertyType != typeof(DateTime) :)] [code:c#] using System;using System.Net;using System.Windows;using ... [More]

Tags: , , , ,

.Net Framework | C# | Silverlight

Smiley and Color Text Supported Chat Component for Silverlight

by Bar Zohan 26. October 2010 02:37
The following code gives you the ability to use images and different colored text together inside a textblock-like control.   XAML: [code:xml] <StackPanel x:Class="SilverlightUI.ChatText"    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"   ... [More]

Tags: , , , ,

.Net Framework | C# | Silverlight

Measuring the Size of a String in Silverlight

by Bar Zohan 26. October 2010 02:31
[code:c#]      public static double MeasureString(string s, FontFamily fontFamily, int fontSize)     {            TextBlock t = new TextBlock();          ... [More]

Tags: , ,

.Net Framework | C# | Silverlight

Huffman Coding - C++

by Bar Zohan 10. June 2010 01:28
Huffman Coding - C++ [More]

Tags: , ,

C | C++

String Compression - Decompression

by Bar Zohan 21. April 2010 23:07
Compressing strings using c# [More]

Tags:

.Net Framework | C#

Accessing Files Inside a Mobile Device That Is Connected To PC Over Microsoft Activesync

by Bar Zohan 16. April 2010 23:55
Here you can download the OpenNETCF Desktop Communication Library which includes all necessary classes to use activesync to connect and transfer files to/from a mobile device. Add the project to your solution. Add a reference to the OpenNETCF Project you've just added inside the project you want t... [More]

Tags: , ,

.Net Compact Framework | Mobile Devices

Taking Gps Information - .Net Compact Framework

by Bar Zohan 16. April 2010 23:32
If you have a mobile device that has an entegrated gps and uses windows mobile as operating system you can access the gps data very simply using a wrapper library that handles gps operations. First download this wrapper library. Microsoft.WindowsMobile.Samples.Location.rar (7.19 kb) Add a referen... [More]

Tags: , ,

.Net Compact Framework | Mobile Devices

Uploading a File Through An Asp.Net Web Service

by Bar Zohan 6. April 2010 00:48
Writing an asp.net web service function which handles file upload. [More]

Tags: , ,

.Net Framework | C# | Web | Asp.Net | MVC

Storing An Object In Sequential File, C++

by Bar Zohan 5. April 2010 23:46
Storing An Object In Sequential File, C++ [More]

Tags: , , ,

C | C++ | OOP | Design Patterns

Dynamic Array In C++

by Bar Zohan 5. April 2010 23:34
A dynamic sized array class in c++ [More]

Tags: , , ,

C | C++ | Data Structures

Linked List In C++

by Bar Zohan 5. April 2010 23:20
Writing a linked list in c++ [More]

Tags: , ,

C | C++ | Data Structures

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Page List